summaryrefslogtreecommitdiffstats
path: root/sys/i386/include/md_var.h
diff options
context:
space:
mode:
authorkato <kato@FreeBSD.org>1997-03-22 18:54:54 +0000
committerkato <kato@FreeBSD.org>1997-03-22 18:54:54 +0000
commit51253b5e709366e0d1ada8027f65389abde0210e (patch)
tree9fe3ec455a22a2a04a2938a4198bbda8ab91a71f /sys/i386/include/md_var.h
parentee6bebb346b99ff43e0558c742e43ebe1e902662 (diff)
downloadFreeBSD-src-51253b5e709366e0d1ada8027f65389abde0210e.zip
FreeBSD-src-51253b5e709366e0d1ada8027f65389abde0210e.tar.gz
Improved CPU identification and initialization routines. This
supports All Cyrix CPUs, IBM Blue Lightning CPU and NexGen (now AMD) Nx586 CPU, and initialize special registers of Cyrix CPU and msr of IBM Blue Lightning CPU. If revision of Cyrix 6x86 CPU < 2.7, CPU cache is enabled in write-through mode. This can be disabled by kernel configuration options. Reviewed by: Bruce Evans <bde@freebsd.org> and Jordan K. Hubbard <jkh@freebsd.org>
Diffstat (limited to 'sys/i386/include/md_var.h')
-rw-r--r--sys/i386/include/md_var.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/i386/include/md_var.h b/sys/i386/include/md_var.h
index c74313f..307257c 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$
+ * $Id: md_var.h,v 1.12 1997/02/22 09:34:49 peter Exp $
*/
#ifndef _MACHINE_MD_VAR_H_
@@ -41,6 +41,7 @@ extern u_int atdevbase; /* offset in virtual memory of ISA io mem */
extern u_long cpu_feature;
extern u_long cpu_high;
extern u_long cpu_id;
+extern u_long cyrix_did;
extern char cpu_vendor[];
extern char etext[];
extern char kstack[];
@@ -72,4 +73,9 @@ 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