temp: SR: IO_ADDRESS conversion
[linux-ginger.git] / arch / x86 / boot / code16gcc.h
blobd93e48010b619e52006b13c068f7ffc82c5a96de
1 /*
2 * code16gcc.h
4 * This file is -include'd when compiling 16-bit C code.
5 * Note: this asm() needs to be emitted before gcc emits any code.
6 * Depending on gcc version, this requires -fno-unit-at-a-time or
7 * -fno-toplevel-reorder.
9 * Hopefully gcc will eventually have a real -m16 option so we can
10 * drop this hack long term.
13 #ifndef __ASSEMBLY__
14 asm(".code16gcc");
15 #endif