minor update for the genode target
This commit is contained in:
parent
44c12d9d20
commit
fab70e4fe3
2 changed files with 2 additions and 2 deletions
|
|
@ -70,7 +70,7 @@ proc newMapSlab(): ptr MapSlab =
|
||||||
|
|
||||||
iterator items(s: ptr MapSlab): ptr Map =
|
iterator items(s: ptr MapSlab): ptr Map =
|
||||||
let mapCount = (SlabBackendSize - sizeof(SlabMeta)) div sizeof(Map)
|
let mapCount = (SlabBackendSize - sizeof(SlabMeta)) div sizeof(Map)
|
||||||
for i in 0 .. <mapCount:
|
for i in 0 ..< mapCount:
|
||||||
yield s.maps[i].addr
|
yield s.maps[i].addr
|
||||||
|
|
||||||
var slabs: ptr MapSlab
|
var slabs: ptr MapSlab
|
||||||
|
|
|
||||||
|
|
@ -2057,7 +2057,7 @@ elif defined(genode):
|
||||||
importcpp: "#->parent().exit(@); Genode::sleep_forever()", header: "<base/sleep.h>".}
|
importcpp: "#->parent().exit(@); Genode::sleep_forever()", header: "<base/sleep.h>".}
|
||||||
|
|
||||||
proc quit*(errorcode: int = QuitSuccess) =
|
proc quit*(errorcode: int = QuitSuccess) =
|
||||||
systemEnv.quit(errorCode)
|
systemEnv.quit(errorcode)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue