git-svn-id: https://spexeah.com:8443/svn/Asuro@472 6dbc8c32-bb84-406f-8558-d1cf31a0ab0c
This commit is contained in:
parent
c56319923a
commit
c477deefb2
@ -21,7 +21,6 @@ var
|
|||||||
Header : PIPV4Header;
|
Header : PIPV4Header;
|
||||||
AHeader : TIPV4AbstractHeader;
|
AHeader : TIPV4AbstractHeader;
|
||||||
i : Integer;
|
i : Integer;
|
||||||
|
|
||||||
buf : puint8;
|
buf : puint8;
|
||||||
len : uint16;
|
len : uint16;
|
||||||
|
|
||||||
|
@ -52,12 +52,7 @@ type
|
|||||||
const
|
const
|
||||||
BDA : PBDA = PBDA($C0000400);
|
BDA : PBDA = PBDA($C0000400);
|
||||||
|
|
||||||
var
|
|
||||||
EBDA : void;
|
|
||||||
MCFG : PMCFG;
|
|
||||||
|
|
||||||
procedure tick_update(data : void);
|
procedure tick_update(data : void);
|
||||||
procedure init();
|
|
||||||
|
|
||||||
implementation
|
implementation
|
||||||
|
|
||||||
@ -69,10 +64,4 @@ begin
|
|||||||
BDA^.Ticks:= BDA^.Ticks + 1;
|
BDA^.Ticks:= BDA^.Ticks + 1;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure init();
|
|
||||||
begin
|
|
||||||
console.outputln('BDA','Loaded.');
|
|
||||||
//TO-DO search for important structures like the MCFG or the EBDA.
|
|
||||||
end;
|
|
||||||
|
|
||||||
end.
|
end.
|
@ -9,6 +9,7 @@ uses
|
|||||||
|
|
||||||
type
|
type
|
||||||
{ Managed Linked List }
|
{ Managed Linked List }
|
||||||
|
|
||||||
PLinkedList = ^TLinkedList;
|
PLinkedList = ^TLinkedList;
|
||||||
TLinkedList = record
|
TLinkedList = record
|
||||||
Previous : PLinkedList;
|
Previous : PLinkedList;
|
||||||
@ -24,6 +25,7 @@ type
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
{ Managed Linked List }
|
{ Managed Linked List }
|
||||||
|
|
||||||
function LL_New(ElementSize : uint32) : PLinkedListBase;
|
function LL_New(ElementSize : uint32) : PLinkedListBase;
|
||||||
function LL_Add(LinkedList : PLinkedListBase) : Void;
|
function LL_Add(LinkedList : PLinkedListBase) : Void;
|
||||||
function LL_Delete(LinkedList : PLinkedListBase; idx : uint32) : boolean;
|
function LL_Delete(LinkedList : PLinkedListBase; idx : uint32) : boolean;
|
||||||
@ -222,7 +224,7 @@ begin
|
|||||||
console.writestringln(PChar(LL_Get(LList, i)));
|
console.writestringln(PChar(LL_Get(LList, i)));
|
||||||
end;
|
end;
|
||||||
|
|
||||||
LL_Free(LList);
|
LL_Free(LList);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
end.
|
end.
|
Loading…
x
Reference in New Issue
Block a user