minor update for the genode target

(cherry picked from commit fab70e4fe3)
This commit is contained in:
Araq
2019-07-14 16:08:15 +02:00
committed by narimiran
parent 575f688545
commit ac41aec348
2 changed files with 2 additions and 2 deletions

View File

@@ -70,7 +70,7 @@ proc newMapSlab(): ptr MapSlab =
iterator items(s: ptr MapSlab): ptr Map =
let mapCount = (SlabBackendSize - sizeof(SlabMeta)) div sizeof(Map)
for i in 0 .. <mapCount:
for i in 0 ..< mapCount:
yield s.maps[i].addr
var slabs: ptr MapSlab

View File

@@ -2057,7 +2057,7 @@ elif defined(genode):
importcpp: "#->parent().exit(@); Genode::sleep_forever()", header: "<base/sleep.h>".}
proc quit*(errorcode: int = QuitSuccess) =
systemEnv.quit(errorCode)
systemEnv.quit(errorcode)