search for: size_found

Displaying 1 result from an estimated 1 matches for "size_found".

2012 Jun 26
2
[GIT PULL] elflink bug fixes
...+out: + lfree(dapa); + lfree(buf); + return rv; } /** diff --git a/com32/gpllib/memory.c b/com32/gpllib/memory.c index 28a95ff..06c746d 100644 --- a/com32/gpllib/memory.c +++ b/com32/gpllib/memory.c @@ -87,15 +87,20 @@ void detect_memory_e820(struct e820entry *desc, int size_map, int *size_found) { int count = 0; static struct e820_ext_entry buf; /* static so it is zeroed */ + void *bounce; com32sys_t ireg, oreg; memset(&ireg, 0, sizeof ireg); + bounce = lmalloc(sizeof buf); + if (!bounce) + goto out; + ireg.eax.w[0] = 0xe820; ireg.edx.l = SM...