Changeset View
Changeset View
Standalone View
Standalone View
sys/boot/i386/zfsboot/zfsboot.c
Show First 20 Lines • Show All 99 Lines • ▼ Show 20 Lines | |||||
vm_offset_t high_heap_base; | vm_offset_t high_heap_base; | ||||
uint32_t bios_basemem, bios_extmem, high_heap_size; | uint32_t bios_basemem, bios_extmem, high_heap_size; | ||||
static struct bios_smap smap; | static struct bios_smap smap; | ||||
/* | /* | ||||
* The minimum amount of memory to reserve in bios_extmem for the heap. | * The minimum amount of memory to reserve in bios_extmem for the heap. | ||||
*/ | */ | ||||
#define HEAP_MIN (3 * 1024 * 1024) | #define HEAP_MIN (64 * 1024 * 1024) | ||||
static char *heap_next; | static char *heap_next; | ||||
static char *heap_end; | static char *heap_end; | ||||
/* Buffers that must not span a 64k boundary. */ | /* Buffers that must not span a 64k boundary. */ | ||||
#define READ_BUF_SIZE 8192 | #define READ_BUF_SIZE 8192 | ||||
struct dmadat { | struct dmadat { | ||||
char rdbuf[READ_BUF_SIZE]; /* for reading large things */ | char rdbuf[READ_BUF_SIZE]; /* for reading large things */ | ||||
▲ Show 20 Lines • Show All 835 Lines • Show Last 20 Lines |