From owner-freebsd-hackers Mon May 13 11:13:12 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from snipe.prod.itd.earthlink.net (snipe.mail.pas.earthlink.net [207.217.120.62]) by hub.freebsd.org (Postfix) with ESMTP id A463C37B40B for ; Mon, 13 May 2002 11:13:05 -0700 (PDT) Received: from pool0153.cvx40-bradley.dialup.earthlink.net ([216.244.42.153] helo=mindspring.com) by snipe.prod.itd.earthlink.net with esmtp (Exim 3.33 #2) id 177KJe-0007Ur-00; Mon, 13 May 2002 11:12:58 -0700 Message-ID: <3CE0020D.6860532B@mindspring.com> Date: Mon, 13 May 2002 11:12:29 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Jake Burkholder Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: question: hacking init_main.c References: <3CDEB3C5.7D08D187@mindspring.com> <20020512162506.I2566@locore.ca> <3CDF4FA5.8511B01A@mindspring.com> <20020513015926.J2566@locore.ca> <3CDF5EEB.ACEB8F8@mindspring.com> <20020513105249.K2566@locore.ca> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Jake Burkholder wrote: [ ... ] * The SI_SUB_CONSOLE and SI_SUB_SWAP values represent values used by * the BSD 4.4Lite but not by FreeBSD; they are maintained in dependent * order to support porting. My bad. One of my local machines here is running different console code, from one of the other BSDs, which needs initialization. The resource_int_value() stuff used by the serial console during cninit() doesn't depend on tunables only set during SI_SUB_TUNABLES. I'm wrong, and you and Peter are correct, for the current FreeBSD. I would still recommend, however, that people *not* do console I/O before SI_SUB_CONSOLE has run, if they want their code to be portable. Regards, -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message