Include sys/pcpu in vmm_host.h as its structs and functions are used
there, and add a forward declaration of struct pcpu to md_var.h as it
is used in some function prototypes.
Details
Details
- Reviewers
corvink markj - Group Reviewers
bhyve - Commits
- rG202e3109a9d6: amd64: Fix sys/pcpu.h usage in vmm_host.h and md_var.h
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
| sys/amd64/include/md_var.h | ||
|---|---|---|
| 39 | Why is pcpu.h needed here? Do we just need a forward declaration of struct pcpu? That can be added to the list below (starting with struct __mcontext). | |
| sys/amd64/include/md_var.h | ||
|---|---|---|
| 39 | I don't recall what the exact error was that I ran into, but whatever it was it is apparently gone since I've rebased my work on your recent header changes. I've reverted it locally and everything still seems to build just fine. | |
| sys/amd64/include/md_var.h | ||
|---|---|---|
| 39 | I think the change to vmm_host.h is still reasonable. | |