Searched hist:6687 (Results 1 - 1 of 1) sorted by relevance

/gem5/src/sim/
H A Dsyscall_emul.ccdiff 6687:9e2f25dcf8c8 Sat Oct 24 13:53:00 EDT 2009 Timothy M. Jones <tjones1@inf.ed.ac.uk> syscall: Zero out memory that already exists during the brk system call.

Glibc often assumes that memory it receives from the kernel after a brk
system call will contain only zeros. This is important during a calloc,
because it won't clear the new memory itself. In the simulator, if the
new page exists, it will be cleared using this patch, to mimic the kernel's
functionality.

Completed in 30 milliseconds