Date: Fri, 5 May 2000 06:22:11 -0700 (PDT) From: John Baldwin <jhb@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/boot/i386/boot0 boot0.m4 boot0.s Message-ID: <200005051322.GAA26573@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200005051322.GAA26573>