Skip to content

Conversation

@shravanrn
Copy link
Collaborator

FreeBSD requires slightly different system calls than Linux to enable Segue, but otherwise the code is mostly the same. The biggest difference is that Linux provides getauxval function to check for support for the wrgsbase instruction. In FreeBSD, this is always supported if the hardware supports it, so we have to query cpuid rather than an OS functions.

@shravanrn
Copy link
Collaborator Author

@sbc100 @keithw Any chance one of you could have a look at this?

@shravanrn shravanrn enabled auto-merge (rebase) March 24, 2025 15:55
@shravanrn shravanrn merged commit 3cfccc8 into WebAssembly:main Mar 24, 2025
18 checks passed
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