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
Cleaned up places where MM_Allocate was used without checks
[tpg/acess2.git]
/
Kernel
/
arch
/
x86
/
include
/
mm_virt.h
diff --git
a/Kernel/arch/x86/include/mm_virt.h
b/Kernel/arch/x86/include/mm_virt.h
index
2664a10
..
84b088c
100644
(file)
--- a/
Kernel/arch/x86/include/mm_virt.h
+++ b/
Kernel/arch/x86/include/mm_virt.h
@@
-8,7
+8,7
@@
// - Memory Layout
#define MM_USER_MIN 0x00200000
// - Memory Layout
#define MM_USER_MIN 0x00200000
-#define USER_STACK_SZ 0x000
10000
+#define USER_STACK_SZ 0x000
20000 // 128 KiB
#define USER_STACK_TOP 0x00800000
#define USER_LIB_MAX 0xBC000000
#define MM_USER_MAX 0xBC000000 // Top load address for user libraries
#define USER_STACK_TOP 0x00800000
#define USER_LIB_MAX 0xBC000000
#define MM_USER_MAX 0xBC000000 // Top load address for user libraries
@@
-27,7
+27,7
@@
// === FUNCTIONS ===
extern void MM_FinishVirtualInit(void);
extern void MM_SetCR3(Uint CR3);
// === FUNCTIONS ===
extern void MM_FinishVirtualInit(void);
extern void MM_SetCR3(Uint CR3);
-extern tPAddr MM_Allocate(tVAddr VAddr);
+extern tPAddr MM_Allocate(tVAddr VAddr)
__attribute__ ((warn_unused_result))
;
extern void MM_Deallocate(tVAddr VAddr);
extern int MM_Map(tVAddr VAddr, tPAddr PAddr);
extern tPAddr MM_Clone(void);
extern void MM_Deallocate(tVAddr VAddr);
extern int MM_Map(tVAddr VAddr, tPAddr PAddr);
extern tPAddr MM_Clone(void);
UCC
git Repository :: git.ucc.asn.au