mirror of
https://github.com/ipxe/ipxe
synced 2026-01-02 18:03:36 +03:00
Merged mcb30-realmode-redesign back to HEAD
This commit is contained in:
18
src/arch/i386/include/kir.h
Normal file
18
src/arch/i386/include/kir.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#ifndef KIR_H
|
||||
#define KIR_H
|
||||
|
||||
#ifndef KEEP_IT_REAL
|
||||
#error "kir.h can be used only with -DKEEP_IT_REAL"
|
||||
#endif
|
||||
|
||||
#ifdef ASSEMBLY
|
||||
|
||||
#define code32 code16gcc
|
||||
|
||||
#else /* ASSEMBLY */
|
||||
|
||||
__asm__ ( ".code16gcc" );
|
||||
|
||||
#endif /* ASSEMBLY */
|
||||
|
||||
#endif /* KIR_H */
|
||||
Reference in New Issue
Block a user