TempleOSCD_140715.ISO
This commit is contained in:
1 parent
7ef616a20e
commit
64f679eeb9
1095 files changed
+24814
-221011
No files matched your search
@@ -1,5 +1,4 @@
|
||||
/*
|
||||
TempleOS runs exclusively in ring 0.
|
||||
/*TempleOS runs exclusively in ring 0.
|
||||
Ring 0 is part of the $LK,"Charter",A="FI:::/Doc/Charter.TXT"$.
|
||||
This demo is for you to play around
|
||||
with ring 3. TempleOS is for
|
||||
@@ -25,8 +24,6 @@ TO_RING0:: //Set to handle general protection 0xD fault temporarily.
|
||||
IRET
|
||||
}
|
||||
|
||||
|
||||
|
||||
U0 Ring3Demo()
|
||||
{
|
||||
U8 *old_vect;
|
||||
@@ -38,7 +35,6 @@ U0 Ring3Demo()
|
||||
SetRAX(Gs->tss->tr_ring3+3);
|
||||
LTR AX
|
||||
|
||||
|
||||
asm {
|
||||
MOV U64 [&old_stk],RSP
|
||||
|
||||
@@ -76,5 +72,4 @@ R3_CALLBACK:
|
||||
"Progress1 After :%X\n",progress1;
|
||||
}
|
||||
|
||||
|
||||
Ring3Demo;
|
||||
Reference in new issue
Block a user