Skip to content

Commit 1377958

Browse files
committed
Now that pmap_bootstrap1() correctly initializes Sysseg_pa, use that
value rather than computing the PA of from Sysseg.
1 parent ae8ab84 commit 1377958

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

sys/arch/mac68k/mac68k/locore.s

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $NetBSD: locore.s,v 1.187 2025/11/30 19:17:52 thorpej Exp $ */
1+
/* $NetBSD: locore.s,v 1.188 2025/12/02 02:05:23 thorpej Exp $ */
22

33
/*
44
* Copyright (c) 1988 University of Utah.
@@ -258,8 +258,7 @@ Lstart3:
258258
movl #_C_LABEL(vectab),%d0 | set Vector Base Register
259259
movc %d0,%vbr
260260

261-
movl _C_LABEL(Sysseg),%a1 | system segment table addr
262-
addl _C_LABEL(load_addr),%a1 | Make it physical addr
261+
movl _C_LABEL(Sysseg_pa),%a1 | system segment table PA
263262
cmpl #MMU_68040,_C_LABEL(mmutype)
264263
jne Lenablepre040MMU | if not 040, skip
265264

0 commit comments

Comments
 (0)