NetBSD-Bugs archive

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

PR/40213 CVS commit: src

The following reply was made to PR kern/40213; it has been noted by GNATS.

From: Andrew Doran <>
Subject: PR/40213 CVS commit: src
Date: Fri, 19 Dec 2008 11:21:25 +0000 (UTC)

 Module Name:   src
 Committed By:  ad
 Date:          Fri Dec 19 11:21:25 UTC 2008
 Modified Files:
        src/common/lib/libc/arch/i386/atomic: atomic.S
        src/sys/arch/x86/include: cpufunc.h
        src/sys/arch/x86/x86: cpu.c identcpu.c patch.c
 Log Message:
 PR kern/40213 my i386 machine can't boot because of tsc
 - Patch in atomic_cas_64() twice. The first patch is early and makes it
   the MP-atomic version available if we have cmpxchg8b. The second patch
   strips the lock prefix if ncpu==1.
 - Fix the i486 atomic_cas_64() to not unconditionally enable interrupts.
 To generate a diff of this commit:
 cvs rdiff -r1.13 -r1.14 src/common/lib/libc/arch/i386/atomic/atomic.S
 cvs rdiff -r1.8 -r1.9 src/sys/arch/x86/include/cpufunc.h
 cvs rdiff -r1.59 -r1.60 src/sys/arch/x86/x86/cpu.c
 cvs rdiff -r1.11 -r1.12 src/sys/arch/x86/x86/identcpu.c
 cvs rdiff -r1.14 -r1.15 src/sys/arch/x86/x86/patch.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