Kernel/x86 - Compile fixes for newer gcc
authorJohn Hodge <[email protected]>
Tue, 18 Oct 2011 15:06:31 +0000 (23:06 +0800)
committerJohn Hodge <[email protected]>
Tue, 18 Oct 2011 15:06:31 +0000 (23:06 +0800)
Kernel/arch/x86/mm_phys.c
Kernel/arch/x86/mm_virt.c

index 0731836..81edcf2 100644 (file)
@@ -12,7 +12,7 @@
 
 
 // === IMPORTS ===
-extern void    gKernelEnd;
+extern char    gKernelEnd[];
 extern void    Proc_PrintBacktrace(void);
 
 // === PROTOTYPES ===
index 4434a88..82f8f97 100644 (file)
@@ -59,7 +59,7 @@
 typedef Uint32 tTabEnt;
 
 // === IMPORTS ===
-extern void    _UsertextEnd, _UsertextBase;
+extern char    _UsertextEnd[], _UsertextBase[];
 extern Uint32  gaInitPageDir[1024];
 extern Uint32  gaInitPageTable[1024];
 extern void    Threads_SegFault(tVAddr Addr);

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