git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Helps if DEBUG is defined
[tpg/acess2.git]
/
Kernel
/
arch
/
x86
/
main.c
diff --git
a/Kernel/arch/x86/main.c
b/Kernel/arch/x86/main.c
index
710923d
..
304c3dd
100644
(file)
--- a/
Kernel/arch/x86/main.c
+++ b/
Kernel/arch/x86/main.c
@@
-17,10
+17,10
@@
extern void Desctab_Install();
extern void MM_PreinitVirtual();
extern void MM_Install(tMBoot_Info *MBoot);
extern void MM_InstallVirtual();
extern void MM_PreinitVirtual();
extern void MM_Install(tMBoot_Info *MBoot);
extern void MM_InstallVirtual();
-extern void
Proc_Star
t();
+extern void
Threads_Ini
t();
extern Uint Proc_Clone(Uint *Err, Uint Flags);
extern Uint Proc_Clone(Uint *Err, Uint Flags);
-extern void
Proc
_Sleep();
-extern void
Proc
_Exit();
+extern void
Threads
_Sleep();
+extern void
Threads
_Exit();
// === GLOBALS ===
// === GLOBALS ===
@@
-41,7
+41,7
@@
int kmain(Uint MbMagic, tMBoot_Info *MbInfo)
Log("Starting Multitasking...");
// Start Multitasking
Log("Starting Multitasking...");
// Start Multitasking
-
Proc_Star
t();
+
Threads_Ini
t();
Log("Starting VFS...");
// Load Virtual Filesystem
Log("Starting VFS...");
// Load Virtual Filesystem
@@
-71,6
+71,6
@@
int kmain(Uint MbMagic, tMBoot_Info *MbInfo)
System_Init( (char*)(MbInfo->CommandLine + KERNEL_BASE) );
// Sleep forever (sleeping beauty)
System_Init( (char*)(MbInfo->CommandLine + KERNEL_BASE) );
// Sleep forever (sleeping beauty)
- for(;;)
Proc
_Sleep();
+ for(;;)
Threads
_Sleep();
return 0;
}
return 0;
}
UCC
git Repository :: git.ucc.asn.au