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
Modules/E1000 - Bugfixes
[tpg/acess2.git]
/
KernelLand
/
Kernel
/
include
/
acess.h
diff --git
a/KernelLand/Kernel/include/acess.h
b/KernelLand/Kernel/include/acess.h
index
b846a51
..
bcd5f5e
100644
(file)
--- a/
KernelLand/Kernel/include/acess.h
+++ b/
KernelLand/Kernel/include/acess.h
@@
-219,7
+219,7
@@
extern Uint MM_GetFlags(tVAddr VAddr);
* \param VAddr Base address to check
* \return 1 if the memory is all user-accessable, 0 otherwise
*/
* \param VAddr Base address to check
* \return 1 if the memory is all user-accessable, 0 otherwise
*/
-#define MM_IsUser(VAddr) (!(MM_GetFlags((VAddr))&MM_PFLAG_KERNEL))
+#define MM_IsUser(VAddr) (!(MM_GetFlags((
tVAddr)(
VAddr))&MM_PFLAG_KERNEL))
/**
* \brief Temporarily map a page into the address space
* \param PAddr Physical addres to map
/**
* \brief Temporarily map a page into the address space
* \param PAddr Physical addres to map
UCC
git Repository :: git.ucc.asn.au