From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Tue, 23 Nov 2004 23:55:11 -0500 From: Russ Cox To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] archmp In-Reply-To: <7DD37218104E31429E79EB0BB136800E11C4E5@vargas.ntdom.cupdx> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <7DD37218104E31429E79EB0BB136800E11C4E5@vargas.ntdom.cupdx> Cc: inferno-list@vitanuova.com Topicbox-Message-UUID: 0b0b31be-eace-11e9-9e20-41e7f4b1d025 > Is there any documentation on how the mp system works? > (I know I could always just read the sources, but I'd appreciate someone > pointing me in the right direction...) How do we get all the CPU's initialized, > and can we start/stop them individually after boot? The source is the only documentation I know. The CPUs are not started/stopped individually after boot. You've already found the right files to read. Start with mpinit() in pc/mp.c, called as arch->intrinit() in pc/main.c. > Also, are there MP sources for other cpu types? Plan 9 has run on other multiprocessors. The most recent is the SGI Challenge, but agreements with SGI preclude Bell Labs from releasing those sources under the current license. The PC kernel is the only multiprocessor architecture supported in the released sources. Russ