diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2015-05-21 10:26:49 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-05-21 11:44:57 +0200 |
commit | fa9ea2e622eb105fb77f1f09e3194bfc05db7c5e (patch) | |
tree | be8d9bd2dd39fb6cd6c090f8c7bbbf1d43a39f90 /include/string.h | |
parent | bd363b8030716a759823d8828690e49ad4d25f96 (diff) | |
download | qboot-fa9ea2e622eb105fb77f1f09e3194bfc05db7c5e.zip qboot-fa9ea2e622eb105fb77f1f09e3194bfc05db7c5e.tar.gz qboot-fa9ea2e622eb105fb77f1f09e3194bfc05db7c5e.tar.bz2 |
add malloc
Allocate the e820 map in the E-segment.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/string.h')
-rw-r--r-- | include/string.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/string.h b/include/string.h index 962b07e..9b0b8af 100644 --- a/include/string.h +++ b/include/string.h @@ -15,4 +15,7 @@ int memcmp(const void *s1, const void *s2, size_t n); void *memmove(void *dest, const void *src, size_t n); void *memchr(const void *s, int c, size_t n); +void *malloc(int n); +void *malloc_fseg(int n); + #endif |