From owner-cvs-all Fri May 5 6:22:14 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id ECA6E37B92A; Fri, 5 May 2000 06:22:11 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (from jhb@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id GAA26573; Fri, 5 May 2000 06:22:11 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Message-Id: <200005051322.GAA26573@freefall.freebsd.org> From: John Baldwin Date: Fri, 5 May 2000 06:22:11 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/boot/i386/boot0 boot0.m4 boot0.s Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG jhb 2000/05/05 06:22:11 PDT Modified files: sys/boot/i386/boot0 boot0.m4 boot0.s Log: Switch to using the .code16 as(1) directive and using 16-bit assembly code instead of using 32-bit code and having to just "know" that it's really 16-bit instructions when things run. This also allows the code to use fewer macros and more actual assembly statements, which eases maintenance. Unfortunately, due to as(1) brokenness, we still use m4 macros for all 16-bit addresses, and all short jumps (i.e., 8-bit relative addresses in the jump instruction) must be wrapped in .code32 directives to avoid useless bloat by as(1). This also fixes a few problems that were preventing boot0 from compiling with the latest and greatest version of as(1). Revision Changes Path 1.6 +2 -1 src/sys/boot/i386/boot0/boot0.m4 1.15 +138 -64 src/sys/boot/i386/boot0/boot0.s To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message