search for: core_cfarcall

Displaying 2 results from an estimated 2 matches for "core_cfarcall".

2009 May 31
2
Calling between real mode and protected mode on the core32 branch
.... 16-bit pointers in a seg:off pair can be converted to a 32-bit pointer via: ptr = MK_PTR(seg, off); for example: ptr = MK_PTR(regs->es, regs->ebx.w[0]); /* ES:BX */ *** Calls from protected mode (32-bit) to real mode (16-bit): This is done via the core_intcall(), core_farcall() and core_cfarcall() functions, which are the direct versions of the analogous instructions in the com32 world. They are defined in <core.h>: void __cdecl core_intcall(uint8_t, const com32sys_t *, com32sys_t *); void __cdecl core_farcall(uint32_t, const com32sys_t *, com32sys_t *); int __cdecl core_cfarcall(u...
2010 Jul 15
1
Accessing command_line from core C code
...working on is only for PXELINUX because of different vkernel structure: diff --git a/core/com32.inc b/core/com32.inc index 111590c..f19df7c 100644 --- a/core/com32.inc +++ b/core/com32.inc @@ -135,6 +135,7 @@ __com32: dd 0 ; 64K bounce buffer dd core_farcall ; Farcall entry point dd core_cfarcall ; Cfarcall entry point +global HighMemSize HighMemSize dd 0 ; End of memory pointer (bytes) dd 0 ; No module name dd pm_api_vector ; Protected mode functions diff --git a/core/display_labels.c b/core/display_labels.c new file mode 100644 index 0000000..a8ba945 --- /dev/null +++ b/cor...