public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e362a5
)
usermem: remove old FIXME
author
Alan Cox
<alan@linux.intel.com>
Thu, 3 Aug 2017 10:58:05 +0000
(11:58 +0100)
committer
Alan Cox
<alan@linux.intel.com>
Thu, 3 Aug 2017 10:58:05 +0000
(11:58 +0100)
Kernel/usermem.c
patch
|
blob
|
history
diff --git
a/Kernel/usermem.c
b/Kernel/usermem.c
index
43d987c
..
4137ac6
100644
(file)
--- a/
Kernel/usermem.c
+++ b/
Kernel/usermem.c
@@
-16,8
+16,6
@@
/* This checks to see if a user-supplied address is legitimate */
usize_t valaddr(const char *base, usize_t size)
{
- /* FIXME: for Z80 we should make this a udata field so that cp/m
- emulation alone can touch below 0x100 */
if (!base || base < (const char *)PROGBASE || base + size < base)
size = 0;
else if (base + size > (const char *)(size_t)udata.u_top)