Module Name: src
Committed By: isaki
Date: Thu Jan 18 12:07:51 UTC 2024
Modified Files:
src/sys/arch/virt68k/virt68k: locore.s
Log Message:
Set TT0 register to recognize the I/O space even on the 68030 case.
http://mail-index.netbsd.org/port-m68k/2024/01/17/msg000870.html
To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/virt68k/virt68k/locore.s
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/virt68k/virt68k/locore.s
diff -u src/sys/arch/virt68k/virt68k/locore.s:1.13 src/sys/arch/virt68k/virt68k/locore.s:1.14
--- src/sys/arch/virt68k/virt68k/locore.s:1.13 Wed Jan 17 12:33:51 2024
+++ src/sys/arch/virt68k/virt68k/locore.s Thu Jan 18 12:07:51 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: locore.s,v 1.13 2024/01/17 12:33:51 thorpej Exp $ */
+/* $NetBSD: locore.s,v 1.14 2024/01/18 12:07:51 isaki Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -199,8 +199,13 @@ Lnot060cache:
jmp Lenab1
Lmotommu2:
+ movl #VIRT68K_TT30_IO,%sp@- | TT0 maps the I/O space
+ .long 0xf0170800 | pmove %sp@,%tt0
+ clrl %sp@ | ensure TT1 is disabled
+ .long 0xf0170c00 | pmove %sp@,%tt1
+
pflusha
- movl #MMU51_TCR_BITS,%sp@- | value to load TC with
+ movl #MMU51_TCR_BITS,%sp@ | value to load TC with
pmove %sp@,%tc | load it
/*