MFi386: revision 1.656
Add the machine-specific definitions for configuring the new physical memory allocator. Set the size of phys_avail[] and dump_avail[] using one of these definitions.
This commit is contained in:
parent
d5d45e062f
commit
89c0e02402
@ -186,7 +186,13 @@ static void freebsd4_sendsig(sig_t catcher, ksiginfo_t *, sigset_t *mask);
|
||||
long Maxmem = 0;
|
||||
long realmem = 0;
|
||||
|
||||
#define PHYSMAP_SIZE (2 * 16)
|
||||
/*
|
||||
* 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];
|
||||
|
Loading…
Reference in New Issue
Block a user