Usermode/ld-acess - Added _SysLoadModule syscall
authorJohn Hodge <[email protected]>
Mon, 16 Sep 2013 05:23:21 +0000 (13:23 +0800)
committerJohn Hodge <[email protected]>
Mon, 16 Sep 2013 05:23:51 +0000 (13:23 +0800)
Usermode/Libraries/ld-acess.so_src/arch/syscalls.s.h
Usermode/Libraries/ld-acess.so_src/include_exp/acess/sys.h

index e98fd5e..7f0acb8 100644 (file)
@@ -35,6 +35,8 @@ SYSCALL1(_SysUnloadBin, SYS_UNLOADBIN)
 
 SYSCALL1(_SysSetFaultHandler, SYS_SETFAULTHANDLER)
 
+SYSCALL1(_SysLoadModule, SYS_LOADMOD)
+
 SYSCALL6(_SysDebug, 0x100)
 SYSCALL1(_SysGetPhys, SYS_GETPHYS)     // uint64_t _SysGetPhys(uint addr)
 SYSCALL1(_SysAllocate, SYS_ALLOCATE)   // uint64_t _SysAllocate(uint addr)
index 709b613..ce9752c 100644 (file)
@@ -61,6 +61,8 @@ extern int    _SysSetFaultHandler(int (*Handler)(int));
 extern void    _SysSetName(const char *Name);
 extern int     _SysGetName(char *NameDest);
 extern int     _SysSetPri(int Priority);
+// --- System ---
+extern int     _SysLoadModule(const char *Module);
 // --- Timekeeping ---
 extern int64_t _SysTimestamp(void);
 extern void    _SysTimedSleep(int64_t Delay);

UCC git Repository :: git.ucc.asn.au