Header file to produce 16-bit code with gcc
authorH. Peter Anvin <hpa@zytor.com>
Wed, 11 Jul 2007 19:18:38 +0000 (12:18 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 12 Jul 2007 17:55:54 +0000 (10:55 -0700)
commitf7f4a5fbd21bf7fc4f207ddaf5126c78c0d1e0b5
tree497fa10d3eca17e9872b54adea55cf8ed6bf9baa
parent8afd2af88921c2cb1c9540cecd0714da7ae4fcd0
Header file to produce 16-bit code with gcc

gcc for i386 can be used with the assembly prefix ".code16gcc" to generate
16-bit (real-mode) code.  This header file provides the assembly prefix.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/i386/boot/code16gcc.h [new file with mode: 0644]