From owner-cvs-src@FreeBSD.ORG Wed Jun 2 15:39:48 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 97B6016A4CE; Wed, 2 Jun 2004 15:39:48 -0700 (PDT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id C14DC43D48; Wed, 2 Jun 2004 15:39:47 -0700 (PDT) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.11/8.12.11) with ESMTP id i52Mdi5x005102; Thu, 3 Jun 2004 00:39:45 +0200 (CEST) (envelope-from phk@phk.freebsd.dk) To: Nate Lawson From: "Poul-Henning Kamp" In-Reply-To: Your message of "Wed, 02 Jun 2004 09:36:20 PDT." <20040602093149.D35427@root.org> Date: Thu, 03 Jun 2004 00:39:44 +0200 Message-ID: <5101.1086215984@critter.freebsd.dk> cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/boot/i386/boot2 boot1.S X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2004 22:39:48 -0000 In message <20040602093149.D35427@root.org>, Nate Lawson writes: >By removing the callw/retw and moving the jmp to the end, A20 enable can't >be called as a subroutine from elsewhere. Will it be needed elsewhere? Not that I could find. >> /* >> * Enable A20 so we can access memory above 1 meg. >> + * Use the zero-valued %cx as a timeout for embedded hardware which do not >> + * have a keyboard controller. >> */ >> seta20: cli # Disable interrupts >> -seta20.1: inb $0x64,%al # Get status > >Should be a "movw TIMEOUT, %cx" here. (Or whatever the timeout constant >is.) Uhm, you are aware that space is very limited, right ? Please see the constant above for how we get the TIMEOUT value. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.