summaryrefslogtreecommitdiff
path: root/stage3/heap.h
AgeCommit message (Collapse)Author
2024-04-11show total heap sizeHEADmasterLizzy Fleckenstein
2024-04-11use huge pagesLizzy Fleckenstein
2024-01-09refactor heap code and add heap debuggingLizzy Fleckenstein
2024-01-09rename some functions to not use standard namesLizzy Fleckenstein
this avoids confusion when some of those functions differ subtly from their standard versions. free -> kfree realloc -> krealloc malloc -> kmalloc rationale: kmalloc() behaves different from malloc() in that it will never return NULL. it will panic on OOM. try_kmalloc behaves like the usual malloc. memcpy -> lmemcpy memcpy_r -> rmemcpy rationale: by design, lmemcpy() and rmemcpy() allow memory areas to overlap. the 'l' and 'r' indicate the direction of the copy operation.
2023-12-17add reallocLizzy Fleckenstein
2023-12-10remove underscore from include guardsLizzy Fleckenstein
2022-10-07Font renderingLizzy Fleckenstein