Skip to content

VirtualMachine: simplify the bootstrap integration - #2038

Open
illwieckz wants to merge 1 commit into
masterfrom
illwieckz/simplify-bootstrap
Open

illwieckz wants to merge 1 commit into
masterfrom
illwieckz/simplify-bootstrap

Conversation

@illwieckz

Copy link
Copy Markdown
Member

Now that we know that only 32-bit platforms require thez bootstrap, and that amd64 never requires it, the code is a lot simplified. Also, this unscatters the bootstrap code: everything is in one place.

Now that we know that only 32-bit platforms require thez bootstrap,
and that amd64 never requires it, the code is a lot simplified.
Also, this unscatters the bootstrap code: everything is in one place.
@illwieckz
illwieckz force-pushed the illwieckz/simplify-bootstrap branch 2 times, most recently from 53546af to e1622d7 Compare November 10, 2026 01:05
// https://github.com/Unvanquished/Unvanquished/issues/944#issuecomment-744454772
static void CheckMinAddressSysctlTooLarge()
{
#ifdef __linux__

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is Linux-only on purpose - I believe the sysctl names and /proc stuff are specific to the Linux kernel.

@illwieckz illwieckz Nov 10, 2026 •

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, I forgot the freebsd engine can run the linux loader for a bit.

@illwieckz
illwieckz force-pushed the illwieckz/simplify-bootstrap branch from e1622d7 to f2ff3da Compare November 10, 2026 01:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants