fdsalkojhfdsalkjhfdas;l
git-svn-id: https://spexeah.com:8443/svn/Asuro@177 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
parent
5a2004b486
commit
06cb553e55
BIN
bin/kernel.bin
BIN
bin/kernel.bin
Binary file not shown.
Binary file not shown.
BIN
lib/kernel.ppu
BIN
lib/kernel.ppu
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
lib/libpsystem.a
BIN
lib/libpsystem.a
Binary file not shown.
BIN
lib/tss.ppu
BIN
lib/tss.ppu
Binary file not shown.
@ -67,11 +67,11 @@ begin
|
|||||||
idt.init();
|
idt.init();
|
||||||
isr.init();
|
isr.init();
|
||||||
irq.init();
|
irq.init();
|
||||||
tss.init();
|
|
||||||
pmemorymanager.init();
|
pmemorymanager.init();
|
||||||
vmemorymanager.init();
|
vmemorymanager.init();
|
||||||
lmemorymanager.init();
|
lmemorymanager.init();
|
||||||
scheduler.init();
|
scheduler.init();
|
||||||
|
tss.init();
|
||||||
|
|
||||||
|
|
||||||
while true do begin end;
|
while true do begin end;
|
||||||
|
@ -198,10 +198,10 @@ begin
|
|||||||
end;
|
end;
|
||||||
console.writewordln(sizeof(TTaskStateSegment));
|
console.writewordln(sizeof(TTaskStateSegment));
|
||||||
ptrTaskStateSegment^.esp0:= cESP;
|
ptrTaskStateSegment^.esp0:= cESP;
|
||||||
//ptrTaskStateSegment^.CR3:= cCR3;
|
ptrTaskStateSegment^.CR3:= cCR3;
|
||||||
console.writestring('OLD LIMIT: ');
|
console.writestring('OLD LIMIT: ');
|
||||||
console.writewordln(gdt.gdt_pointer.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.writestring('NEW LIMIT: ');
|
||||||
console.writewordln(gdt.gdt_pointer.limit);
|
console.writewordln(gdt.gdt_pointer.limit);
|
||||||
gdt.reload;
|
gdt.reload;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user