search for: __farcall

Displaying 3 results from an estimated 3 matches for "__farcall".

2007 Jul 20
1
reboot from com32
Q: Is there a way to do a reboot (either warm or cold) from a com32 program? I have a com32 program that sometimes (based upon conditions) needs to reboot the system. I would prefer to do a warm reboot (40:72 = 0x1234), but at this point cold would be OK too. grepping through syslinux-3.51 I only found one reference, in iso/pxelinux.asm at the tail end of 'kaboom' ... but presumably
2009 Jun 01
1
Exporting real-mode functions
A question was asked on the IRC channel about how to get the address of a real-mode symbol -- or any assembly symbol in general. The answer is that you have to declare it global. In NASM syntax: global func func: In GAS syntax: .globl func func: -- H. Peter Anvin, Intel Open Source Technology Center I work for Intel. I don't speak on their behalf.
2010 Apr 09
2
[PATCH] gfxboot: support MENU LABEL statement
...with label string, skip first word + if(strncmp(arg, menu_ptr->label, label_len)) { + arg = skip_nonspaces(arg); + } + else { + arg += label_len; } + arg = skip_spaces(arg); + boot_entry(menu_ptr, arg); } @@ -807,6 +836,8 @@ void boot_entry(menu_t *menu_ptr, char *arg) __farcall(gfx.code_seg, gfx.jmp_table[GFX_CB_PROGRESS_DONE], &r, &r); + gfx_done(); + syslinux_boot_linux(kernel, kernel_size, initrd, arg); } -- 1.6.4.2