summary refs log tree commit diff stats
path: root/lib/system/osalloc.nim
Commit message (Collapse)AuthorAgeFilesLines
* Genode: constrain `osTryAllocPages` to RAM quota (#6883)Emery Hemingway2017-12-141-11/+1
| | | | | | | | | | | | Genode software components all start with an explicit RAM resource quota which may or may not be upgraded during runtime by the parent process. With this patch `osTryAllocPages` will fail if allocation exceeds quotas set by the parent and the `osAllocPages` procedure will trigger a blocking request to the parent to increase quotas. The previous behavior could potentially block both procedures indefinitely for a quota upgrade rather than fail and trigger garbage collection. This patch also adds tracking of Genode dataspace mappings into the component address space so they can be detached and freed.
* osalloc: improve error message when virtualFree failsAraq2017-12-031-1/+1
|
* support for the Genode OS framework (#5560)Emery Hemingway2017-03-311-0/+13
|
* fixes #5301Araq2017-01-301-2/+5
|
* add MAP_ANONYMOUS const for amd64, fix MAP_PRIVATE on mips etc (see fe36254)Jacek Sieka2016-10-121-3/+10
|
* Revert change to osalloc.nim from commit 8d7a45f.GaveUp2016-10-041-2/+0
| | | | | | | Change caused MAP_ANONYMOUS to have an incorrect value when compiling for mipsel. Fixes #4852.
* clean up a few stray c_stdout's in gc debug codeJacek Sieka2016-07-311-1/+1
|
* Plumb {.intdefine.} and {.strdefine.} pragmas.Jeff Ciesielski2016-07-041-1/+1
| | | | Shorthand so that users won't need to use the .magic pragma
* Add the ability to pass a value with the -d flagJeff Ciesielski2016-07-041-1/+2
| | | | | | | This allows the end user to use the {.magic: "IntDefine"/"StrDefine"} pragmas to pass values into code at compile time. This has a nice side effect of also allowing/requiring a default value to be assigned in the code (see osalloc.nim/StandaloneHeapSize for an example)
* Fixed emscripten compilationYuriy Glukhov2016-06-131-1/+1
|
* prefer consts to importing #defines from headersJacek Sieka2016-06-061-0/+2
| | | | | to be completed - better would be to have a libc wrapper that deals with all pesky C ABI details
* Fixing pragmas (so syntax highligting works).Hans Raaf2016-05-201-2/+2
|
* munmap for LLVMAndreas Rumpf2016-03-281-2/+2
|
* beginnings of --gc:stackAndreas Rumpf2016-03-281-0/+171