a334a8034e
But kon does not work on 4-current(with new syscons). Now I'll fix this problem. Submitted by: Issei Suzuki <issei@issei.org> Obtained from: http://home.jp.freebsd.org/cgi-bin/showmail/ports-jp/8671
36 lines
887 B
Plaintext
36 lines
887 B
Plaintext
diff -ur include/mem.h.old include/mem.h
|
|
--- include/mem.h.old Tue Jan 25 20:16:57 2000
|
|
+++ include/mem.h Tue Jan 25 20:30:48 2000
|
|
@@ -46,6 +46,7 @@
|
|
"d" ((u_short) port));
|
|
}
|
|
|
|
+#if 0
|
|
static inline
|
|
void lzero(void *head, int n)
|
|
{
|
|
@@ -93,11 +94,23 @@
|
|
"D" ((long)head)
|
|
:"cx","di");
|
|
}
|
|
+#endif
|
|
|
|
extern u_char PortInb(u_short);
|
|
+#if 1
|
|
+#define bzero(b, len) bzero(b, len)
|
|
+#define bzero2(b, len) bzero(b, len)
|
|
+#define lzero(b, len) bzero(b, len)
|
|
+#define wzero(b, len) bzero(b, len)
|
|
+#define bmove(dst, src, len) bcopy(src, dst, len)
|
|
+#define brmove(dst, src, len) bcopy(src, dst, len)
|
|
+#define wmove(dst, src, len) bcopy(src, dst, len)
|
|
+#define lmove(dst, src, len) bcopy(src, dst, len)
|
|
+#else
|
|
extern void wzero(void *, int);
|
|
extern void wmove(void *, void *, int);
|
|
extern void lmove(void *, void *, int);
|
|
+#endif
|
|
extern void SafeFree(void **);
|
|
|
|
#endif
|