mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-23 08:01:08 +01:00
vmm: Make vmm_dev.h more self-contained
vmm.h is required for VM_MAX_SUFFIXLEN. vmm_snapshot.h is required for struct vm_snapshot_meta. This is a prerequisite for including vmm_dev.h in the headers parsed by libsysdecode. Reviewed by: jhb Differential Revision: https://reviews.freebsd.org/D46485
This commit is contained in:
parent
780675e1be
commit
133a513ddc
@ -29,7 +29,8 @@
|
||||
#ifndef _VMM_DEV_H_
|
||||
#define _VMM_DEV_H_
|
||||
|
||||
struct vm_snapshot_meta;
|
||||
#include <machine/vmm.h>
|
||||
#include <machine/vmm_snapshot.h>
|
||||
|
||||
struct vm_memmap {
|
||||
vm_paddr_t gpa;
|
||||
|
@ -27,6 +27,8 @@
|
||||
#ifndef _VMM_DEV_H_
|
||||
#define _VMM_DEV_H_
|
||||
|
||||
#include <machine/vmm.h>
|
||||
|
||||
struct vm_memmap {
|
||||
vm_paddr_t gpa;
|
||||
int segid; /* memory segment */
|
||||
|
Loading…
Reference in New Issue
Block a user