1
0
mirror of git://projects.qi-hardware.com/iris.git synced 2025-04-21 12:27:27 +03:00

working again with new paging layout

This commit is contained in:
Bas Wijnen
2009-05-27 14:38:52 +02:00
parent e13dc897fd
commit 35fb72c239
7 changed files with 108 additions and 33 deletions

View File

@@ -28,7 +28,9 @@ extern "C" {
#define CAP_RECEIVER_CREATE_CAPABILITY 2
#define CAP_RECEIVER_CREATE_CALL_CAPABILITY 3
/* Not an operation; a capability with this bit set is a call capability. */
#define CAP_RECEIVER_CALL 4
#define CAP_RECEIVER_CALL 8
/* Same thing for reply capability. */
#define CAP_RECEIVER_REPLY 9
#define CAP_MEMORY_CREATE 1
#define CAP_MEMORY_DESTROY 2
@@ -44,6 +46,8 @@ extern "C" {
/* Flag values for processor state */
#define THREAD_FLAG_WAITING 0x80000000
#define THREAD_FLAG_RUNNING 0x40000000
#define THREAD_FLAG_PRIV 0x20000000
#define THREAD_FLAG_USER 0x1fffffff
#define CAP_PAGE_MAP 1
#define CAP_PAGE_SHARE 2