Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/arch



Module Name:    src
Committed By:   tsutsui
Date:           Wed Nov 26 08:51:25 UTC 2025

Modified Files:
        src/sys/arch/cesfic/cesfic: locore.s
        src/sys/arch/hp300/hp300: locore.s
        src/sys/arch/luna68k/luna68k: locore.s
        src/sys/arch/mvme68k/mvme68k: locore.s
        src/sys/arch/news68k/news68k: locore.s
        src/sys/arch/next68k/next68k: locore.s
        src/sys/arch/x68k/x68k: locore.s

Log Message:
Fix CCR use in locore esym zero tests missed in recent m68k cleanup.

The esym value in locore was changed to be loaded into an address
register (%a4), but on m68k the MOVEA instruction does not update the
condition codes. The subsequent `jne LstartX` therefore relied on stale
CCR flags rather than testing whether esym was zero.

Add an explicit `tstl %a4` so that the Z flag is updated from the esym
value before branching, ensuring the correct end-of-kernel address and
nextpa are computed.


To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 src/sys/arch/cesfic/cesfic/locore.s
cvs rdiff -u -r1.193 -r1.194 src/sys/arch/hp300/hp300/locore.s
cvs rdiff -u -r1.92 -r1.93 src/sys/arch/luna68k/luna68k/locore.s
cvs rdiff -u -r1.145 -r1.146 src/sys/arch/mvme68k/mvme68k/locore.s
cvs rdiff -u -r1.94 -r1.95 src/sys/arch/news68k/news68k/locore.s
cvs rdiff -u -r1.92 -r1.93 src/sys/arch/next68k/next68k/locore.s
cvs rdiff -u -r1.141 -r1.142 src/sys/arch/x68k/x68k/locore.s

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index