diff options
author | abial <abial@FreeBSD.org> | 1999-01-14 23:48:03 +0000 |
---|---|---|
committer | abial <abial@FreeBSD.org> | 1999-01-14 23:48:03 +0000 |
commit | 010f76153cda448c67afdd8f24433c469914b15c (patch) | |
tree | 58a2997aa38f0b564d7e9ff289c36a18d5f1fecf /sys/boot/ficl/i386/sysdep.c | |
parent | 205b5d1b7c292e2384369ace465294f031b0ae9a (diff) | |
download | FreeBSD-src-010f76153cda448c67afdd8f24433c469914b15c.zip FreeBSD-src-010f76153cda448c67afdd8f24433c469914b15c.tar.gz |
Change counter-intuitive pc@ and pc! to inb and outb.
Submitted by: jkh
Diffstat (limited to 'sys/boot/ficl/i386/sysdep.c')
-rw-r--r-- | sys/boot/ficl/i386/sysdep.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/boot/ficl/i386/sysdep.c b/sys/boot/ficl/i386/sysdep.c index 56194fd..84a704d 100644 --- a/sys/boot/ficl/i386/sysdep.c +++ b/sys/boot/ficl/i386/sysdep.c @@ -12,10 +12,10 @@ #include <stdlib.h> #else #include <stand.h> -#endif #ifdef __i386__ #include <machine/cpufunc.h> #endif +#endif #include "ficl.h" /* @@ -73,11 +73,11 @@ void ficlFree (void *p) #ifdef __i386__ /* - * pc! ( port# c -- ) + * outb ( port# c -- ) * Store a byte to I/O port number port# */ void -pc_store(FICL_VM *pVM) +ficlOutb(FICL_VM *pVM) { u_char c; u_int32_t port; @@ -88,11 +88,11 @@ pc_store(FICL_VM *pVM) } /* - * pc@ ( port# -- c ) + * inb ( port# -- c ) * Fetch a byte from I/O port number port# */ void -pc_fetch(FICL_VM *pVM) +ficlInb(FICL_VM *pVM) { u_char c; u_int32_t port; |