diff options
author | pd <pd@cvs.openbsd.org> | 2019-01-18 01:34:51 +0000 |
---|---|---|
committer | pd <pd@cvs.openbsd.org> | 2019-01-18 01:34:51 +0000 |
commit | d5ea264072f2d4b0d4480de6fee2698391e06e32 (patch) | |
tree | 91c4033f3bc1e168d291303d4355fb12357b0f58 /sys/arch/i386/include/pmap.h | |
parent | 532bade6dd16ec7ebee5cd8c05f5955dac154f68 (diff) |
delete vmm(4) in i386
We will still be able to run i386 guests on amd64 vmm.
Reasons to delete i386 vmm:
- Been broken for a while, almost no one complained.
- Had been falling out of sync from amd64 while it worked.
- If your machine has vmx, you most probably can run amd64, so why not run that?
ok deraadt@ mlarkin@
Diffstat (limited to 'sys/arch/i386/include/pmap.h')
-rw-r--r-- | sys/arch/i386/include/pmap.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/sys/arch/i386/include/pmap.h b/sys/arch/i386/include/pmap.h index 91df8dfc14d..8a126935a97 100644 --- a/sys/arch/i386/include/pmap.h +++ b/sys/arch/i386/include/pmap.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.h,v 1.85 2018/05/28 20:52:44 bluhm Exp $ */ +/* $OpenBSD: pmap.h,v 1.86 2019/01/18 01:34:50 pd Exp $ */ /* $NetBSD: pmap.h,v 1.44 2000/04/24 17:18:18 thorpej Exp $ */ /* @@ -88,11 +88,6 @@ LIST_HEAD(pmap_head, pmap); /* struct pmap_head: head of a pmap list */ * page list, and number of PTPs within the pmap. */ -#define PMAP_TYPE_NORMAL 1 -#define PMAP_TYPE_EPT 2 -#define PMAP_TYPE_RVI 3 -#define pmap_nested(pm) ((pm)->pm_type != PMAP_TYPE_NORMAL) - struct pmap { uint64_t pm_pdidx[4]; /* PDIEs for PAE mode */ uint64_t pm_pdidx_intel[4]; /* PDIEs for PAE mode U-K */ @@ -122,10 +117,6 @@ struct pmap { int pm_flags; /* see below */ struct segment_descriptor pm_codeseg; /* cs descriptor for process */ - int pm_type; /* Type of pmap this is (PMAP_TYPE_x) */ - vaddr_t pm_npt_pml4; /* Nested paging PML4 VA */ - paddr_t pm_npt_pa; /* Nested paging PML4 PA */ - vaddr_t pm_npt_pdpt; /* Nested paging PDPT */ }; /* |