summaryrefslogtreecommitdiffstats
path: root/sys/i386/include/md_var.h
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-07-11 05:59:35 +0000
committerbde <bde@FreeBSD.org>1998-07-11 05:59:35 +0000
commita4b7c7a6b332ba36b7bbd82b88b16274e82447f0 (patch)
tree5966db0f67b42e638ffae43821689203c79c57ec /sys/i386/include/md_var.h
parentd307f5bacf2f9550df1c42d62baddac56a8153c3 (diff)
downloadFreeBSD-src-a4b7c7a6b332ba36b7bbd82b88b16274e82447f0.zip
FreeBSD-src-a4b7c7a6b332ba36b7bbd82b88b16274e82447f0.tar.gz
Don't pretend to support ix86's with 16-bit ints by using longs just to
ensure 32-bit variables. Doing so mainly bogotified some printf formats. Fixed disorder in md_var.h.
Diffstat (limited to 'sys/i386/include/md_var.h')
-rw-r--r--sys/i386/include/md_var.h21
1 files changed, 10 insertions, 11 deletions
diff --git a/sys/i386/include/md_var.h b/sys/i386/include/md_var.h
index 726ec7a..0db9334 100644
--- a/sys/i386/include/md_var.h
+++ b/sys/i386/include/md_var.h
@@ -26,7 +26,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: md_var.h,v 1.22 1998/01/21 18:28:46 gibbs Exp $
+ * $Id: md_var.h,v 1.23 1998/02/01 23:00:53 bde Exp $
*/
#ifndef _MACHINE_MD_VAR_H_
@@ -43,15 +43,19 @@ extern char *bouncememory;
extern int bouncepages;
#endif
extern int busdma_swi_pending;
-extern u_long cpu_feature;
-extern u_long cpu_high;
-extern u_long cpu_id;
-extern u_long cyrix_did;
+extern u_int cpu_feature;
+extern u_int cpu_high;
+extern u_int cpu_id;
extern char cpu_vendor[];
+extern u_int cyrix_did;
extern char kstack[];
#ifdef BOUNCE_BUFFERS
extern int maxbkva;
#endif
+#ifdef PC98
+extern int need_pre_dma_flush;
+extern int need_post_dma_flush;
+#endif
extern void (*netisrs[32]) __P((void));
extern int nfs_diskless_valid;
extern char sigcode[];
@@ -63,9 +67,9 @@ struct reg;
void bcopyb __P((const void *from, void *to, size_t len));
void busdma_swi __P((void));
-void cpu_reset __P((void));
void cpu_halt __P((void));
void cpu_power_down __P((void));
+void cpu_reset __P((void));
void cpu_switch_load_fs __P((void)) __asm(__STRING(cpu_switch_load_fs));
void cpu_switch_load_gs __P((void)) __asm(__STRING(cpu_switch_load_gs));
void doreti_iret __P((void)) __asm(__STRING(doreti_iret));
@@ -85,9 +89,4 @@ void userconfig __P((void));
void vm_bounce_init __P((void));
int vm_page_zero_idle __P((void));
-#ifdef PC98
-extern int need_pre_dma_flush;
-extern int need_post_dma_flush;
-#endif
-
#endif /* !_MACHINE_MD_VAR_H_ */
OpenPOWER on IntegriCloud