Memory Manager Started.
git-svn-id: https://spexeah.com:8443/svn/Asuro@103 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
@ -26,6 +26,7 @@ var
|
||||
mbm : uint32;
|
||||
z : uint32;
|
||||
dds : uint32;
|
||||
pint : puint32;
|
||||
|
||||
begin
|
||||
mbi:= mbinfo;
|
||||
@ -46,6 +47,14 @@ begin
|
||||
isr.init();
|
||||
irq.init();
|
||||
|
||||
memorymanager.init();
|
||||
pint:= kalloc(sizeof(uint32));
|
||||
if pint = nil then console.writestringln('!');
|
||||
pint^:= 1234;
|
||||
console.writeintln(pint^);
|
||||
pint:= kalloc(18);
|
||||
util.halt_and_catch_fire;
|
||||
|
||||
STI;
|
||||
isr32.hook(uint32(@bios_data_area.tick_update));
|
||||
|
||||
|
Reference in New Issue
Block a user