iPXE
|
SYSLINUX COMBOOT. More...
Go to the source code of this file.
Data Structures | |
union | com32_reg32_t |
struct | com32sys_t |
struct | syslinux_pm_regs |
struct | syslinux_rm_regs |
struct | comboot_shuffle_descriptor |
Macros | |
#define | COMBOOT_PSP_SEG 0x07C0 |
Segment used for COMBOOT PSP and image. More... | |
#define | COM32_START_PHYS 0x101000 |
Entry point address of COM32 images. More... | |
#define | COM32_BOUNCE_SEG 0x07C0 |
COM32 bounce buffer segment. More... | |
#define | COMBOOT_FILE_BLOCKSZ 512 |
Size of SYSLINUX file block in bytes. More... | |
#define | COMBOOT_FEATURE_LOCAL_BOOT (1 << 0) |
COMBOOT feature flags (INT 22h AX=15h) More... | |
#define | COMBOOT_FEATURE_IDLE_LOOP (1 << 1) |
#define | COMBOOT_MAX_SHUFFLE_DESCRIPTORS 682 |
Maximum number of shuffle descriptors for shuffle and boot functions (INT 22h AX=0012h, 001Ah, 001Bh) More... | |
#define | COMBOOT_EXIT 1 |
#define | COMBOOT_EXIT_RUN_KERNEL 2 |
#define | COMBOOT_EXIT_COMMAND 3 |
#define | COMBOOT_VIDEO_GRAPHICS 0x01 |
#define | COMBOOT_VIDEO_NONSTANDARD 0x02 |
#define | COMBOOT_VIDEO_VESA 0x04 |
#define | COMBOOT_VIDEO_NOTEXT 0x08 |
Functions | |
FILE_LICENCE (GPL2_OR_LATER) | |
void | hook_comboot_interrupts () |
Hook BIOS interrupts related to COMBOOT API (INT 20h, 21h, 22h) More... | |
void | unhook_comboot_interrupts () |
Unhook BIOS interrupts related to COMBOOT API (INT 20h, 21h, 22h) More... | |
void | com32_intcall_wrapper () |
void | com32_farcall_wrapper () |
void | com32_cfarcall_wrapper () |
int | comboot_resolv (const char *name, struct in_addr *address) |
void | comboot_force_text_mode (void) |
Set default text mode. More... | |
Variables | |
typedef | __attribute__ |
Initialise completion queue. More... | |
rmjmp_buf | comboot_return |
SYSLINUX COMBOOT.
Definition in file comboot.h.
#define COMBOOT_PSP_SEG 0x07C0 |
#define COM32_START_PHYS 0x101000 |
#define COM32_BOUNCE_SEG 0x07C0 |
#define COMBOOT_FILE_BLOCKSZ 512 |
#define COMBOOT_FEATURE_LOCAL_BOOT (1 << 0) |
#define COMBOOT_MAX_SHUFFLE_DESCRIPTORS 682 |
FILE_LICENCE | ( | GPL2_OR_LATER | ) |
void hook_comboot_interrupts | ( | ) |
Hook BIOS interrupts related to COMBOOT API (INT 20h, 21h, 22h)
Definition at line 659 of file comboot_call.c.
References __asm__(), __volatile__(), hook_bios_interrupt(), int20(), int20_vector, int20_wrapper(), int21(), int21_vector, int21_wrapper(), int22(), int22_vector, int22_wrapper(), TEXT16_CODE, and VIRT_CALL.
Referenced by com32_exec_loop(), and comboot_exec_loop().
void unhook_comboot_interrupts | ( | ) |
Unhook BIOS interrupts related to COMBOOT API (INT 20h, 21h, 22h)
Definition at line 692 of file comboot_call.c.
References int20_vector, int20_wrapper(), int21_vector, int21_wrapper(), int22_vector, int22_wrapper(), and unhook_bios_interrupt().
Referenced by com32_exec_loop(), and comboot_exec_loop().
void com32_intcall_wrapper | ( | ) |
Referenced by com32_exec_loop().
void com32_farcall_wrapper | ( | ) |
Referenced by com32_exec_loop().
void com32_cfarcall_wrapper | ( | ) |
Referenced by com32_exec_loop().
int comboot_resolv | ( | const char * | name, |
struct in_addr * | address | ||
) |
Definition at line 44 of file comboot_resolv.c.
References comboot_resolver::addr, address, EAFNOSUPPORT, EINPROGRESS, comboot_resolver::intf, name, NULL, comboot_resolver::rc, rc, resolv(), in_addr::s_addr, and step().
Referenced by int22().
void comboot_force_text_mode | ( | void | ) |
Set default text mode.
Definition at line 140 of file comboot_call.c.
References __asm__(), __volatile__(), comboot_graphics_mode, COMBOOT_VIDEO_GRAPHICS, COMBOOT_VIDEO_VESA, and REAL_CODE.
Referenced by com32_exec_loop(), comboot_exec_loop(), and int22().
rmjmp_buf comboot_return |
Definition at line 82 of file comboot_call.c.
Referenced by com32_exec_loop(), comboot_exec_loop(), int20(), int21(), and int22().