summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2010-02-06 20:23:14 +0100
committerVegard Storheil Eriksen <zyp@jvnv.net>2010-02-06 20:23:14 +0100
commit2ba88ef0e54e93a6242c825e72462e513b1514d6 (patch)
tree2f1f5d267333a7431b499b99efae742ef035ca1d
parent37a28b25b2b1cee086526c296821b50fc18d1211 (diff)
Added user specified flags to page tables.HEADmaster
-rw-r--r--kernel/paging.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/kernel/paging.h b/kernel/paging.h
index 24409d9..d2d2daf 100644
--- a/kernel/paging.h
+++ b/kernel/paging.h
@@ -11,6 +11,9 @@ enum {
P1_D = 0x040,
P1_PAT = 0x080,
P1_G = 0x100,
+ P1_US0 = 0x200,
+ P1_US1 = 0x400,
+ P1_US2 = 0x800,
};
enum {
@@ -23,6 +26,9 @@ enum {
P2_D = 0x040,
P2_PS = 0x080,
P2_G = 0x100,
+ P2_US0 = 0x200,
+ P2_US1 = 0x400,
+ P2_US2 = 0x800,
};
void paging_reinit();