From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <425c285155e5e2e5adcd28085c93ec13@plan9.bell-labs.com> To: me@acm.jhu.edu, 9fans@9fans.net Date: Tue, 8 Dec 2009 21:27:43 -0500 From: geoff@plan9.bell-labs.com In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-hzemngvdaahkoutbzcpjieqkwn" Subject: Re: [9fans] vga vesa works on mp pc Topicbox-Message-UUID: ada9dc02-ead5-11e9-9d60-3106f5b1d025 This is a multi-part message in MIME format. --upas-hzemngvdaahkoutbzcpjieqkwn Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit As far as I can tell, yes, that's all it took. The old code had been turning off the old 8259 interrupt controllers used by uniprocessors but didn't disable the lapic on mp systems. --upas-hzemngvdaahkoutbzcpjieqkwn Content-Type: message/rfc822 Content-Disposition: inline Received: from gouda.swtch.com ([67.207.142.3]) by plan9; Tue Dec 8 20:22:59 EST 2009 Received: from localhost ([127.0.0.1] helo=gouda.swtch.com) by gouda.swtch.com with esmtp (Exim 4.69) (envelope-from <9fans-bounces@9fans.net>) id 1NIBFS-0007XH-CY; Wed, 09 Dec 2009 01:21:46 +0000 Received: from mail-pw0-f53.google.com ([209.85.160.53]) by gouda.swtch.com with esmtp (Exim 4.69) (envelope-from ) id 1NIBFQ-0007XC-Gq for 9fans@9fans.net; Wed, 09 Dec 2009 01:21:44 +0000 Received: by pwi11 with SMTP id 11so2993270pwi.32 for <9fans@9fans.net>; Tue, 08 Dec 2009 17:21:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:from:date:x-google-sender-auth:message-id:subject:to :content-type:content-transfer-encoding; bh=wUKhYwZwL4qbWnnlzdrT5XS2hsqPzKBOhHpK0lRsGlQ=; b=sKCfmuuwCNIjxVaLQkphaBy5En+LanoObtsZdEKs1ffipAlaeIUdFZaVrm5cQWJX+Q Blp0eSRPMNrb6YPEuX4C53wbFF8fqpsfZL8K+DNe79M2Y2yTpCssj5LIsS0ftMPAY8mw wV09Tyocn6hO5SW/+8ql2FaesjuVG/B8j+QjA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type :content-transfer-encoding; b=Mfxee94NN4DTTD3yIgiVdllLgSfzBalBl0NmkIzwUIl9JoWSQdXECfB81rZL66MVTR Mb2PZOamJvwB5ijvlrQ3dD6fOsT8Cb+Tf25McRo+ay0vHdtg1oFGYiygEB+ISHBmiL9Z tY0idazfOnBrZye2icCk/3sDjsgSo14K58NvE= MIME-Version: 1.0 Received: by 10.142.9.32 with SMTP id 32mr1070588wfi.112.1260321698189; Tue, 08 Dec 2009 17:21:38 -0800 (PST) In-Reply-To: <5635c0230e722ea92c95aec5a5887400@plan9.bell-labs.com> References: <5635c0230e722ea92c95aec5a5887400@plan9.bell-labs.com> From: Venkatesh Srinivas Date: Tue, 8 Dec 2009 20:21:18 -0500 X-Google-Sender-Auth: ea2d8e3439eaa0c1 Message-ID: To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] vga vesa works on mp pc X-BeenThere: 9fans@9fans.net X-Mailman-Version: 2.1.10 Precedence: list Reply-To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.9fans.net> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: 9fans-bounces@9fans.net Errors-To: 9fans-bounces+9fans-local=plan9.bell-labs.com@9fans.net On Tue, Dec 8, 2009 at 7:05 PM, wrote: > I've just pushed out a small change to /sys/src/9/pc/realmode.c that > allows monitor=3Dvesa to work on multiprocessor pcs without *nomp being > defined in plan9.ini (i.e., you can use all available processors [or > cores] and still use vesa mode). =C2=A0I've also pushed out new kernels, = so > the distribution built tonight should include this fix. Cool, thanks! If I read this right, you turn off interrupts on just the CPU executing in realmode. Is the really all that had to be done for vesa to support MP systems? -- vs --upas-hzemngvdaahkoutbzcpjieqkwn--