|
ginnOS
The reference: libc, the libraries and the kernel
|
Functions | |
| uintptr_t | usermode_get_brk (void) |
| get the current program break (end of the user heap). | |
| void | usermode_set_brk (uintptr_t brk) |
| set the program break. | |
| uintptr_t usermode_get_brk | ( | void | ) |
get the current program break (end of the user heap).
| void usermode_set_brk | ( | uintptr_t | brk | ) |
set the program break.
called by exec_program after ELF loading to initialize the break.
| brk | the initial break address (page-aligned end of loaded segments). |