Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 02 Apr 2002 17:21:59 -0500 (EST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org
Subject:   RE: cvs commit: src/sys/alpha/alpha machdep.c src/sys/i386/i386
Message-ID:  <XFMail.20020402172159.jhb@FreeBSD.org>
In-Reply-To: <200204022219.g32MJG238220@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 02-Apr-2002 John Baldwin wrote:
> jhb         2002/04/02 14:19:16 PST
> 
>   Modified files:
>     sys/alpha/alpha      machdep.c 
>     sys/i386/i386        machdep.c 
>     sys/ia64/ia64        machdep.c 
>     sys/kern             kern_mutex.c 
>     sys/pc98/i386        machdep.c 
>     sys/powerpc/powerpc  machdep.c 
>     sys/sparc64/sparc64  machdep.c 
>     sys/sys              mutex.h 
>   Log:
>   - Move the MI mutexes sched_lock and Giant from being declared in the
>     various machdep.c's to being declared in kern_mutex.c.
>   - Add a new function mutex_init() used to perform early initialization
>     needed for mutexes such as setting up thread0's contested lock list
>     and initializing MI mutexes.  Change the various MD startup routines
>     to call this function instead of duplicating all the code themselves.
>   
>   Tested on:      alpha, i386

While this hasn't been tested on ppc, ia64, and sparc64, the changes are
mostly mechanical and there shouldn't be any problems.

-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20020402172159.jhb>