Changeset View
Changeset View
Standalone View
Standalone View
head/sys/boot/ofw/libofw/ofw_memory.c
Show All 29 Lines | |||||
#include <sys/param.h> | #include <sys/param.h> | ||||
#include <sys/types.h> | #include <sys/types.h> | ||||
#include <stand.h> | #include <stand.h> | ||||
#include "libofw.h" | #include "libofw.h" | ||||
#include "openfirm.h" | #include "openfirm.h" | ||||
static void *heap_base = 0; | static void *heap_base = NULL; | ||||
static unsigned int heap_size = 0; | static unsigned int heap_size = 0; | ||||
struct ofw_mapping { | struct ofw_mapping { | ||||
vm_offset_t va; | vm_offset_t va; | ||||
int len; | int len; | ||||
vm_offset_t pa; | vm_offset_t pa; | ||||
int mode; | int mode; | ||||
}; | }; | ||||
▲ Show 20 Lines • Show All 100 Lines • Show Last 20 Lines |