|
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. | |
| #define | COM32_START_PHYS 0x101000 |
| Entry point address of COM32 images. | |
| #define | COM32_BOUNCE_SEG 0x07C0 |
| COM32 bounce buffer segment. | |
| #define | COMBOOT_FILE_BLOCKSZ 512 |
| Size of SYSLINUX file block in bytes. | |
| #define | COMBOOT_FEATURE_LOCAL_BOOT (1 << 0) |
| COMBOOT feature flags (INT 22h AX=15h) | |
| #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) | |
| #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) | |
| void | unhook_comboot_interrupts () |
| Unhook BIOS interrupts related to COMBOOT API (INT 20h, 21h, 22h) | |
| 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. | |
Variables | |
| rmjmp_buf | comboot_return |
SYSLINUX COMBOOT.
Definition in file comboot.h.
| #define COMBOOT_PSP_SEG 0x07C0 |
Segment used for COMBOOT PSP and image.
Definition at line 17 of file comboot.h.
Referenced by comboot_exec_loop(), and comboot_prepare_segment().
| #define COM32_START_PHYS 0x101000 |
Entry point address of COM32 images.
Definition at line 20 of file comboot.h.
Referenced by com32_exec_loop(), and com32_load_image().
| #define COM32_BOUNCE_SEG 0x07C0 |
COM32 bounce buffer segment.
Definition at line 23 of file comboot.h.
Referenced by com32_exec_loop(), and com32_prepare_bounce_buffer().
| #define COMBOOT_FILE_BLOCKSZ 512 |
| #define COMBOOT_FEATURE_LOCAL_BOOT (1 << 0) |
| #define COMBOOT_FEATURE_IDLE_LOOP (1 << 1) |
Definition at line 30 of file comboot.h.
Referenced by __data16().
| #define COMBOOT_MAX_SHUFFLE_DESCRIPTORS 682 |
| #define COMBOOT_EXIT 1 |
Definition at line 119 of file comboot.h.
Referenced by com32_exec_loop(), comboot_exec_loop(), int20(), and int21().
| #define COMBOOT_EXIT_RUN_KERNEL 2 |
Definition at line 120 of file comboot.h.
Referenced by com32_exec_loop(), comboot_exec_loop(), and int22().
| #define COMBOOT_EXIT_COMMAND 3 |
Definition at line 121 of file comboot.h.
Referenced by com32_exec_loop(), comboot_exec_loop(), and int22().
| #define COMBOOT_VIDEO_GRAPHICS 0x01 |
Definition at line 125 of file comboot.h.
Referenced by comboot_force_text_mode().
| #define COMBOOT_VIDEO_VESA 0x04 |
Definition at line 127 of file comboot.h.
Referenced by comboot_force_text_mode().
| FILE_LICENCE | ( | GPL2_OR_LATER | ) |
|
extern |
Hook BIOS interrupts related to COMBOOT API (INT 20h, 21h, 22h)
Definition at line 645 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().
|
extern |
Unhook BIOS interrupts related to COMBOOT API (INT 20h, 21h, 22h)
Definition at line 678 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().
|
extern |
Referenced by com32_exec_loop().
|
extern |
Referenced by com32_exec_loop().
|
extern |
References address, comboot_return, and name.
Referenced by com32_exec_loop().
|
extern |
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(), and PROVIDE_REQUIRING_SYMBOL().
|
extern |
Set default text mode.
Definition at line 136 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().
|
extern |
Definition at line 83 of file comboot_call.c.
Referenced by com32_cfarcall_wrapper(), com32_exec_loop(), comboot_exec_loop(), int20(), int21(), and int22().