changed kernel stack top to 0x40000000 (1GB) virtual
git-svn-id: svn://anubis/hos/trunk@81 5b3e749e-e535-0410-8002-a9bb6afbdfca
This commit is contained in:
1 parent
e4701b8d96
commit
6cd78f195f
3 files changed
+7
-5
No files matched your search
@@ -34,4 +34,7 @@ static u32_t read_cr3()
|
||||
#define write_cr3(val) \
|
||||
__asm__ __volatile__ ("movl %0, %%cr3" : : "r" (val));
|
||||
|
||||
#define write_esp(val) \
|
||||
__asm__ __volatile__ ("movl %0, %%esp" : : "r" (val));
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user