|
iPXE
|
#include <stdint.h>#include <realmode.h>#include <comboot.h>#include <assert.h>#include <ipxe/uaccess.h>Go to the source code of this file.
Macros | |
| #define | com32_regs __use_data16 ( com32_regs ) |
| #define | com32_int_vector __use_data16 ( com32_int_vector ) |
| #define | com32_farcall_proc __use_data16 ( com32_farcall_proc ) |
Functions | |
| FILE_LICENCE (GPL2_OR_LATER) | |
| static com32sys_t | __bss16 (com32_regs) |
| static uint8_t | __bss16 (com32_int_vector) |
| static uint32_t | __bss16 (com32_farcall_proc) |
| uint16_t | __bss16 (com32_saved_sp) |
| void __asmcall | com32_intcall (uint8_t interrupt, physaddr_t inregs_phys, physaddr_t outregs_phys) |
| Interrupt call helper. | |
| void __asmcall | com32_farcall (uint32_t proc, physaddr_t inregs_phys, physaddr_t outregs_phys) |
| Farcall helper. | |
| int __asmcall | com32_cfarcall (uint32_t proc, physaddr_t stack, size_t stacksz) |
| CDECL farcall helper. | |
| #define com32_regs __use_data16 ( com32_regs ) |
Definition at line 34 of file com32_call.c.
Referenced by __bss16(), com32_cfarcall(), com32_farcall(), and com32_intcall().
| #define com32_int_vector __use_data16 ( com32_int_vector ) |
Definition at line 37 of file com32_call.c.
Referenced by __bss16(), and com32_intcall().
| #define com32_farcall_proc __use_data16 ( com32_farcall_proc ) |
Definition at line 40 of file com32_call.c.
Referenced by __bss16(), com32_cfarcall(), and com32_farcall().
| FILE_LICENCE | ( | GPL2_OR_LATER | ) |
|
static |
References com32_regs.
|
static |
References com32_int_vector.
|
static |
References com32_farcall_proc.
| uint16_t __bss16 | ( | com32_saved_sp | ) |
| void __asmcall com32_intcall | ( | uint8_t | interrupt, |
| physaddr_t | inregs_phys, | ||
| physaddr_t | outregs_phys ) |
Interrupt call helper.
Definition at line 47 of file com32_call.c.
References __asm__(), __asmcall, __volatile__(), com32_int_vector, com32_regs, DBGC, interrupt(), memcpy(), and REAL_CODE.
| void __asmcall com32_farcall | ( | uint32_t | proc, |
| physaddr_t | inregs_phys, | ||
| physaddr_t | outregs_phys ) |
Farcall helper.
Definition at line 118 of file com32_call.c.
References __asm__(), __asmcall, __volatile__(), com32_farcall_proc, com32_regs, DBGC, memcpy(), and REAL_CODE.
| int __asmcall com32_cfarcall | ( | uint32_t | proc, |
| physaddr_t | stack, | ||
| size_t | stacksz ) |
CDECL farcall helper.
Definition at line 178 of file com32_call.c.
References __asm__(), __asmcall, __volatile__(), com32_farcall_proc, com32_regs, copy_to_rm_stack(), DBGC, eax, NULL, REAL_CODE, and remove_from_rm_stack().