fdsalkojhfdsalkjhfdas;l
git-svn-id: https://spexeah.com:8443/svn/Asuro@177 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
1 parent
5a2004b486
commit
06cb553e55
10 files changed
+3
-3
No files matched your search
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
+1
-1
@@ -67,11 +67,11 @@ begin
|
||||
idt.init();
|
||||
isr.init();
|
||||
irq.init();
|
||||
tss.init();
|
||||
pmemorymanager.init();
|
||||
vmemorymanager.init();
|
||||
lmemorymanager.init();
|
||||
scheduler.init();
|
||||
tss.init();
|
||||
|
||||
|
||||
while true do begin end;
|
||||
|
||||
+2
-2
@@ -198,10 +198,10 @@ begin
|
||||
end;
|
||||
console.writewordln(sizeof(TTaskStateSegment));
|
||||
ptrTaskStateSegment^.esp0:= cESP;
|
||||
//ptrTaskStateSegment^.CR3:= cCR3;
|
||||
ptrTaskStateSegment^.CR3:= cCR3;
|
||||
console.writestring('OLD LIMIT: ');
|
||||
console.writewordln(gdt.gdt_pointer.limit);
|
||||
//gdt.set_gate($05, uint32(ptrTaskStateSegment)-KERNEL_VIRTUAL_BASE, sizeof(TTaskStateSegment)-1, $89, $40); //OFFSET: 40
|
||||
gdt.set_gate($05, uint32(ptrTaskStateSegment)-KERNEL_VIRTUAL_BASE, sizeof(TTaskStateSegment)-1, $89, $40); //OFFSET: 40
|
||||
console.writestring('NEW LIMIT: ');
|
||||
console.writewordln(gdt.gdt_pointer.limit);
|
||||
gdt.reload;
|
||||
|
||||
Reference in new issue
Block a user