From 8da0171e5ca3492cdb34422184a1c96acd0b5165 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sat, 21 May 2022 21:02:17 +0300 Subject: add status info to memory mappings + next up would probably be to start working on process/thread relationships, largely as documented. Still not entirely sure about how I want to handle fork, but I suppose I might figure it out at some point. --- include/apos/types.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/apos/types.h') diff --git a/include/apos/types.h b/include/apos/types.h index d413957..2f45857 100644 --- a/include/apos/types.h +++ b/include/apos/types.h @@ -197,6 +197,9 @@ enum { ERR_ALIGN = -2, /* wrong alignment */ ERR_NF = -1, /* not found */ OK = 0, /* OK */ + INFO_TRGN = 1, /* try again */ + INFO_SEFF = 2, /* side effects */ + INFO_CONT = 3, /* continue */ }; #include /* arch-specific type definitions (pm_t/vm_t etc) */ -- cgit v1.3