Source-Changes archive

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

CVS commit: [netbsd-6] src/sys/arch



Module Name:    src
Committed By:   martin
Date:           Tue Aug  8 12:00:35 UTC 2017

Modified Files:
        src/sys/arch/amd64/amd64 [netbsd-6]: locore.S machdep.c trap.c
        src/sys/arch/i386/i386 [netbsd-6]: locore.S machdep.c trap.c

Log Message:
Pull up following revision(s) (requested by maxv in ticket #1464):

        sys/arch/i386/i386/trap.c:     revision 1.288           (patch)
        sys/arch/i386/i386/machdep.c:  revision 1.783           (patch)
        sys/arch/i386/i386/locore.S:   revision 1.146           (patch)
        sys/arch/amd64/amd64/locore.S: revision 1.122,1.124     (patch)
        sys/arch/amd64/amd64/machdep.c revision 1.254           (patch)
        sys/arch/amd64/amd64/trap.c:   revision 1.95-1.96       (patch)

Remove the osyscall call gate and emulate it. There is a
one-instruction race in it that could panic the kernel.

Restore the ability to run netbsd 1.0 32-bit executables by checking
for the relevant lcall instruction in the trap handler and treating it
as a syscall.


To generate a diff of this commit:
cvs rdiff -u -r1.66.2.1 -r1.66.2.2 src/sys/arch/amd64/amd64/locore.S
cvs rdiff -u -r1.175.2.8 -r1.175.2.9 src/sys/arch/amd64/amd64/machdep.c
cvs rdiff -u -r1.69.2.2 -r1.69.2.3 src/sys/arch/amd64/amd64/trap.c
cvs rdiff -u -r1.95.10.3 -r1.95.10.4 src/sys/arch/i386/i386/locore.S
cvs rdiff -u -r1.717.2.7 -r1.717.2.8 src/sys/arch/i386/i386/machdep.c
cvs rdiff -u -r1.262.8.1 -r1.262.8.2 src/sys/arch/i386/i386/trap.c

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