]> xenbits.xensource.com Git - seabios.git/commit
Direct compile 16bit C code instead of including via .S files.
authorKevin O'Connor <kevin@koconnor.net>
Sat, 11 Feb 2012 15:49:45 +0000 (10:49 -0500)
committerKevin O'Connor <kevin@koconnor.net>
Sat, 11 Feb 2012 15:49:45 +0000 (10:49 -0500)
commit36feea9317b45abf3a540e9d82ad1723bebe3ebd
tree32d4ade2f810e2092253bb11629dc3f92e63896b
parentb50488bb3912f50ac70055d3fc3200ff2303986b
Direct compile 16bit C code instead of including via .S files.

Create a ".code16gcc" directive in src/code16gcc.s and use
-Wa,src/code16gcc.s to tell gcc to compile directly to 16bit code.
This eliminates the need to compile the C code to assembler and
include in romlayout.S and vgaentry.S.  This also allows those two
assembler files to be compiled with debugging (-g) enabled.

Also, includes some Makefile cleanups.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Makefile
src/code16gcc.s [new file with mode: 0644]
src/romlayout.S
vgasrc/vgaentry.S