This function isn't generic and has a different signature on arm64. No
functional change intended.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 52584 Build 49475: arc lint + arc unit
Event Timeline
usr.sbin/bhyve/amd64/vmexit.c | ||
---|---|---|
60 | I'm not familiar with arm64 but this function strongly looks like a generic one. Is it really so different, that it's not worth creating a generic function? |
usr.sbin/bhyve/amd64/vmexit.c | ||
---|---|---|
60 | The difference is that the arguments are all MD. On ARM64 rather than using an IDT vector and error code pushed on the stack you have ESR and FAR register values. The notion of injecting a fault is generic, but the specific status codes and registers involved are all MD. |