MCPcopy Create free account
hub / github.com/Starry-OS/StarryOS / get_heap_top

Method get_heap_top

core/src/task.rs:263–265  ·  view source on GitHub ↗

Get the top address of the user heap.

(&self)

Source from the content-addressed store, hash-verified

261
262 /// Get the top address of the user heap.
263 pub fn get_heap_top(&self) -> usize {
264 self.heap_top.load(Ordering::Acquire)
265 }
266
267 /// Set the top address of the user heap.
268 pub fn set_heap_top(&self, top: usize) {

Callers 2

sys_cloneFunction · 0.80
sys_brkFunction · 0.80

Calls 1

loadMethod · 0.80

Tested by

no test coverage detected