search for: highmemsize

Displaying 6 results from an estimated 6 matches for "highmemsize".

2010 Jul 15
1
Accessing command_line from core C code
...fferent 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/core/display_labels.c @@ -0,0 +1,40 @@ +#includ...
2003 Dec 29
1
Fix for the mem= kernel option
...Mazzoleni 935A 2D3C 5C70 BCD6 CB0C ED89 7C19 4321 6340 3F6D -------------- next part -------------- --- runkernel.inc.ori 2003-08-22 05:39:37.000000000 +0200 +++ runkernel.inc 2003-10-05 17:18:16.000000000 +0200 @@ -198,6 +198,9 @@ %if HIGHMEM_SLOP != 0 sub ebx,HIGHMEM_SLOP %endif + cmp [cs:HighMemSize],ebx ; Set the memory only if less than the BIOS detected + jb skip_this_opt + mov [cs:HighMemSize],ebx jmp short skip_this_opt cmdline_end:
2009 Oct 13
2
isolinux problem since 3.74
...================================== --- syslinux-3.73/core/com32.inc 2009-10-12 16:51:06.294747337 -0600 +++ syslinux-3.74/core/com32.inc 2009-10-12 16:51:09.750744468 -0600 @@ -172,13 +172,14 @@ ; Now everything is set up for interrupts... + push dword [HighMemSize] ; Memory managed by Syslinux push dword com32_cfarcall ; Cfarcall entry point push dword com32_farcall ; Farcall entry point push dword (1 << 16) ; 64K bounce buffer push dword (comboot_seg <&lt...
2009 Apr 27
3
Question about vk_check and rllunpack
I am hitting a problem on syslinux-3.80-pre1-2-g6c0fb9e (only last label in config file is found), but don't want to "cry wolf" (again), so let's start with a question: ui.inc: ; ; Now check if it is a "virtual kernel" ; vk_check: mov esi,[HighMemSize] ; Start from top of memory .scan: cmp esi,[VKernelEnd] jbe .not_vk mov di,VKernelBuf call rllunpack ; ESI updated on return Since "shuffler: make the new shuffler actually work" (0d8c3d040d9f733f...
2008 Aug 31
1
[RFC][PATCH] ui: label completion on tab key
...#39;F' & 1Fh ; <Ctrl-F> je set_func_flag %if IS_PXELINUX @@ -142,6 +144,48 @@ mov byte [FuncFlag],1 jmp short get_char_2 +display_labels: + cmp word [LabelCompl],1 ; Label completion enabled? + jnz get_char_2 + mov cx,di + sub cx,command_line + call crlf + mov esi,[HighMemSize] ; Start from top of memory +.scan: + cmp esi,[VKernelEnd] + jbe .not_vk + + push cx ; save command line size + + mov di,VKernelBuf + call rllunpack + ; ESI updated on return + + sub di,cx ; Return to beginning of buf + pop cx ; restore command line size + push si ; save SI +...
2007 Jun 18
4
pxelinux bug's
Hello Peter, The attached patch contains three small (although 2 of them are fundamental :) fixes for pxelinux 1. Alignment error when more than one initramfs are loaded using initrd - the alignment of the last disk is discarded in calculations but is ALWAYS present when the loading procedure is called. As a result - the second image (cpio) is not recognized. 2. On some platforms