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
Kernel - Fixed ARMv7 build, doesn't run
[tpg/acess2.git]
/
KernelLand
/
Kernel
/
arch
/
armv7
/
mm_virt.c
diff --git
a/KernelLand/Kernel/arch/armv7/mm_virt.c
b/KernelLand/Kernel/arch/armv7/mm_virt.c
index
85f9b27
..
00d6c68
100644
(file)
--- a/
KernelLand/Kernel/arch/armv7/mm_virt.c
+++ b/
KernelLand/Kernel/arch/armv7/mm_virt.c
@@
-902,7
+902,7
@@
tVAddr MM_NewUserStack(void)
tVAddr addr, ofs;
addr = USER_STACK_TOP - USER_STACK_SIZE;
- if( MM_GetPhysAddr(
addr + PAGE_SIZE
) ) {
+ if( MM_GetPhysAddr(
(void*)(addr + PAGE_SIZE)
) ) {
Log_Error("MMVirt", "Unable to create initial user stack, addr %p taken",
addr + PAGE_SIZE
);
UCC
git Repository :: git.ucc.asn.au