aboutsummaryrefslogtreecommitdiff
path: root/malloc.c
AgeCommit message (Collapse)AuthorFilesLines
2019-12-18limit C headers to freestanding onesPaolo Bonzini1-1/+1
inttypes.h is not part of the subset of standard headers for freestanding environments. Replace it with stdint.h. Also include string.h with quotes, since we provide it. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2017-03-30qboot: modified the malloc for fseg and high momory.Yang Zhong1-5/+7
The fseg and high memory malloc all use the up align mode in do_alloc(),which will result in qboot hang issue.The high memory use the down align mode and fseg memory use the up align mode. With those changes,the qemu can boot up the image with qboot. Signed-off-by: Yang Zhong <yang.zhong@intel.com> Message-Id: <1490869250-4357-1-git-send-email-yang.zhong@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2016-09-06copy only ~11K down to low memoryPaolo Bonzini1-3/+1
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2015-05-21add mallocPaolo Bonzini1-0/+21
Allocate the e820 map in the E-segment. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>