Changeset View
Changeset View
Standalone View
Standalone View
sys/i386/i386/machdep.c
Context not available. | |||||
#include <machine/pc/bios.h> | #include <machine/pc/bios.h> | ||||
#include <machine/pcb.h> | #include <machine/pcb.h> | ||||
#include <machine/pcb_ext.h> | #include <machine/pcb_ext.h> | ||||
#include <x86/physmem.h> | |||||
#include <machine/proc.h> | #include <machine/proc.h> | ||||
#include <machine/reg.h> | #include <machine/reg.h> | ||||
#include <machine/sigframe.h> | #include <machine/sigframe.h> | ||||
Context not available. | |||||
FEATURE(pae, "Physical Address Extensions"); | FEATURE(pae, "Physical Address Extensions"); | ||||
#endif | #endif | ||||
/* | |||||
* The number of PHYSMAP entries must be one less than the number of | |||||
* PHYSSEG entries because the PHYSMAP entry that spans the largest | |||||
* physical address that is accessible by ISA DMA is split into two | |||||
* PHYSSEG entries. | |||||
*/ | |||||
#define PHYSMAP_SIZE (2 * (VM_PHYSSEG_MAX - 1)) | |||||
vm_paddr_t phys_avail[PHYSMAP_SIZE + 2]; | |||||
vm_paddr_t dump_avail[PHYSMAP_SIZE + 2]; | |||||
/* must be 2 less so 0 0 can signal end of chunks */ | |||||
#define PHYS_AVAIL_ARRAY_END (nitems(phys_avail) - 2) | |||||
#define DUMP_AVAIL_ARRAY_END (nitems(dump_avail) - 2) | |||||
struct kva_md_info kmi; | struct kva_md_info kmi; | ||||
static struct trapframe proc0_tf; | static struct trapframe proc0_tf; | ||||
Context not available. |