WASM Execution Pipeline, File Dispatch & Supporting Infrastructure #52
No files matched your search
@@ -29,11 +29,14 @@ unit contextswitcher;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
idt, isrmanager, processmanager, proctypes, util, tracer;
|
idt, isrmanager, processmanager, proctypes, util, syslog, tracer;
|
||||||
|
|
||||||
{ Initialise: overwrite IDT gate 32 with our custom ISR. }
|
{ Initialise: overwrite IDT gate 32 with our custom ISR. }
|
||||||
procedure init;
|
procedure init;
|
||||||
|
|
||||||
|
{ No idle ESP variable needed — idle is now a formal process (PID 0)
|
||||||
|
with its SavedESP managed like any other process. }
|
||||||
|
|
||||||
implementation
|
implementation
|
||||||
|
|
||||||
{ -----------------------------------------------------------------------
|
{ -----------------------------------------------------------------------
|
||||||
|
|||||||
@@ -82,6 +82,10 @@ function GetDirectoryListingFrom(Path : pchar; BaseDir : pchar) : PHashMap;
|
|||||||
procedure FreeDirectoryListing(map : PHashMap);
|
procedure FreeDirectoryListing(map : PHashMap);
|
||||||
function changeDirectoryFrom(Path : pchar; BaseDir : pchar; var NewDir : pchar) : TIsPathValid;
|
function changeDirectoryFrom(Path : pchar; BaseDir : pchar; var NewDir : pchar) : TIsPathValid;
|
||||||
function MakeAbsolutePath(Path : PChar) : pchar;
|
function MakeAbsolutePath(Path : PChar) : pchar;
|
||||||
|
function makeAbsolutePathFrom(Path : pchar; BaseDir : pchar) : pchar;
|
||||||
|
function resolvePathFrom(Path : pchar; BaseDir : pchar) : TIsPathValid;
|
||||||
|
function GetDirectoryListingFrom(Path : pchar; BaseDir : pchar) : PHashMap;
|
||||||
|
function changeDirectoryFrom(Path : pchar; BaseDir : pchar; var NewDir : pchar) : TIsPathValid;
|
||||||
|
|
||||||
//VFS Functions
|
//VFS Functions
|
||||||
function newVirtualDirectory(Path : pchar) : TError;
|
function newVirtualDirectory(Path : pchar) : TError;
|
||||||
|
|||||||
Reference in new issue
Block a user