![]() |
doors.h | Header File |
Header File Index |
Basic header file for kernel-mode programming
This header file will be included automatically by default.h
if you define the global preprocessor symbol USE_KERNEL
.
First, this header file defines a global symbol named DOORS
which is used
in other header files to indicate kernel mode.
Next, it includes default.h to make
sure that the basic macros which TIGCC needs are defined. It also includes
a header file called romsymb.h
, which overrides some definitions
from default.h by referring to external
_ROM_CALL_xxx
symbols which are converted by the linker.
It contains code for tigcc.a
, to support RETURN_VALUE
.
Finally, it contains some rather complicated macros and asm
statements
to put data needed for RETURN_VALUE
directly into the assembly file.