77193ecd35
split functions into more files.
40 lines
973 B
Text
40 lines
973 B
Text
$NetBSD: patch-be,v 1.1 2007/12/05 16:31:02 christos Exp $
|
|
|
|
--- mem.c.orig 2007-12-05 11:20:07.000000000 -0500
|
|
+++ mem.c 2007-12-05 11:20:17.000000000 -0500
|
|
@@ -70,7 +70,7 @@
|
|
#endif
|
|
}
|
|
|
|
-#if defined(FREEBSD) || defined(SUNOS4)
|
|
+#if defined(ALLBSD) || defined(SUNOS4)
|
|
int
|
|
sys_sbrk(tcp)
|
|
struct tcb *tcp;
|
|
@@ -80,7 +80,7 @@
|
|
}
|
|
return RVAL_HEX;
|
|
}
|
|
-#endif /* FREEBSD || SUNOS4 */
|
|
+#endif /* ALLBSD || SUNOS4 */
|
|
|
|
static const struct xlat mmap_prot[] = {
|
|
{ PROT_NONE, "PROT_NONE", },
|
|
@@ -541,7 +541,7 @@
|
|
return 0;
|
|
}
|
|
|
|
-#if defined(ALPHA) || defined(FREEBSD) || defined(IA64) || defined(SUNOS4) || defined(SVR4)
|
|
+#if defined(ALPHA) || defined(ALLBSD) || defined(IA64) || defined(SUNOS4) || defined(SVR4)
|
|
int
|
|
sys_getpagesize(tcp)
|
|
struct tcb *tcp;
|
|
@@ -550,7 +550,7 @@
|
|
return RVAL_HEX;
|
|
return 0;
|
|
}
|
|
-#endif /* ALPHA || FREEBSD || IA64 || SUNOS4 || SVR4 */
|
|
+#endif /* ALPHA || ALLBSD || IA64 || SUNOS4 || SVR4 */
|
|
|
|
#if defined(LINUX) && defined(__i386__)
|
|
void
|