diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2016-09-06 15:44:17 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-09-06 16:19:54 +0200 |
commit | f4569f4b687e4302e96764aba2c756513b79e2e0 (patch) | |
tree | 50282a20130d060f4a8c688e807a84eab97de11b /malloc.c | |
parent | 5ea29a8e87a24ac9e2b1ab4f05094102af6a3c9d (diff) | |
download | qboot-f4569f4b687e4302e96764aba2c756513b79e2e0.zip qboot-f4569f4b687e4302e96764aba2c756513b79e2e0.tar.gz qboot-f4569f4b687e4302e96764aba2c756513b79e2e0.tar.bz2 |
copy only ~11K down to low memory
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'malloc.c')
-rw-r--r-- | malloc.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -1,10 +1,8 @@ #include <inttypes.h> #include "string.h" +#include "bios.h" -extern uint8_t edata; static uint8_t *fseg_base = &edata; - -extern uint8_t stext; static uint8_t *malloc_top = &stext; void *malloc(int n) |