Displaying 20 results from an estimated 44 matches for "loadflags".
2013 Dec 04
0
Boot iPXE from syslinux/isolinux
...eturn 0;
}
-static size_t calc_cmdline_offset(struct linux_header *hdr,
+static size_t calc_cmdline_offset(const struct syslinux_memmap *mmap,
+ const struct linux_header *hdr,
size_t cmdline_size, addr_t base,
addr_t start)
{
- if (hdr->version < 0x0202 || !(hdr->loadflags & 0x01)) {
- struct syslinux_memmap *mmap;
-
- mmap = syslinux_memory_map();
- if (mmap && !syslinux_memmap_highest(mmap, SMT_FREE, &start,
- cmdline_size, 0xa0000, 16)) {
- syslinux_free_memmap(mmap);
- return start - base;
- }
+ size_t max_offset;
- if (mmap...
2013 Dec 04
2
Boot iPXE from syslinux/isolinux
"H. Peter Anvin" <hpa at zytor.com> on Tue, 2013/12/03 20:26:
> On 10/24/2013 01:09 AM, Christian Hesse wrote:
> >>>
> >>> version 6.02-pre5 works, 6.02-pre6 does not.
> >>
> >> Struggled with git bisect, but finally succeeded:
> >>
> >> 8f470e7bfe75f6401f6c5432988c620b863ad274 is the first bad commit
> >>
2007 Mar 19
2
Wine crash
...ceEx+0x6d2(bits=0x7edafbc0,
cbSize=0x134, bIcon=0x0, dwVersion=0x30000, width=0x20, height=0x20,
cFlag=0x8040) [/usr/src/wine-0.9.19/dlls/user/cursoricon.c:728] in
user32 (0x7ed1eb92)
31 0x7ed1ef8c CURSORICON_Load+0x19c(hInstance=0x0, name=0x7f00,
width=0x20, height=0x20, colors=0x1, fCursor=0x1, loadflags=0x8040)
[/usr/src/wine-0.9.19/dlls/user/cursoricon.c:997] in user32
(0x7ed1ef8c)
32 0x7ed219c2 LoadImageW+0x92(hinst=0x0, name=0x7f00, type=0x2,
desiredx=0x20, desiredy=0x0, loadflags=0x8040)
[/usr/src/wine-0.9.19/dlls/user/cursoricon.c:2278] in user32
(0x7ed219c2)
33 0x7ed2192a LoadImageA+0x14...
2010 Aug 26
4
UT3 hangs at start
Hi!When start game through steam or shortcut on desktop,game halt when push
"launch" button, after 2-5 seconds and unreal logo becomes gray.In terminal i
have "wine: Unhandled stack overflow at address 0x34c7a12 (thread 0044),
starting debugger..." and no more.Close game with compulsory exit.Before that
game start perfectly on wine 1.2 or wine 1.3,the problem has appeared
2010 May 19
3
[PATCH] com32/lib/syslinux/load_linux.c: cmdline truncated
...sser <bstroesser at ts.fujitsu.com>
----
--- a/com32/lib/syslinux/load_linux.c 2010-05-18 23:00:11.000000000 +0200
+++ b/com32/lib/syslinux/load_linux.c 2010-05-18 23:10:15.000000000 +0200
@@ -289,8 +289,15 @@ int syslinux_boot_linux(void *kernel_buf
if (hdr.version < 0x0205 || !(hdr.loadflags & LOAD_HIGH))
hdr.relocatable_kernel = 0;
- if (hdr.version < 0x0206)
+ if (hdr.version < 0x0202)
hdr.cmdline_max_len = 256;
+ else if (hdr.version < 0x0206)
+ /* if (!(hdr.loadflags & 0x01))
+ * hdr.cmdline_max_len = 2048; // protocol limit
+ * else
+ *...
2013 Jul 26
3
[syslinux:firmware] load_linux: dynamically calculate the cmdline region
...map_initramfs(struct syslinux_movelist **fraglist,
> }
>
> static size_t calc_cmdline_offset(struct linux_header *hdr,
> - size_t cmdline_size)
> + size_t cmdline_size, addr_t base,
> + addr_t start)
> {
> - if (hdr->version < 0x0202 || !(hdr->loadflags & 0x01))
> + if (hdr->version < 0x0202 || !(hdr->loadflags & 0x01)) {
> + struct syslinux_memmap *mmap;
> +
> + mmap = syslinux_memory_map();
> + if (mmap && !syslinux_memmap_highest(mmap, SMT_FREE, &start,
> + cmdline_size, 0xa0000, 16)) {...
2001 Dec 08
1
LoadOEMResource crash [Was: Re: Problem report: SHRINKER.ERR, fix to DEVICE_Open/CreateFileA? ]
...quot;,
name=0x4074c30e "", lang=0,
bUnicode=1, bRet16=0) at resource.c:220
#10 0x40094453 in FindResourceW (hModule=182, name=0x4074c30e, type=0xe)
at resource.c:360
#11 0x40718664 in CURSORICON_Load (hInstance=182, name=0x4074c30e,
width=32, height=32,
colors=256, fCursor=0, loadflags=32832) at cursoricon.c:735
#12 0x4071ade0 in LoadImageW (hinst=4194304, name=0x4074c30e, type=1,
desiredx=32,
desiredy=0, loadflags=32832) at cursoricon.c:2261
#13 0x4071a086 in LoadIconW (hInstance=4194304, name=0x4074c30e) at
cursoricon.c:1765
#14 0x4070ff55 in STATIC_LoadIconW (hwnd=65570...
2007 Jun 15
1
[PATCH RFC] add domain builder support for bzImage kernels
...+ uint16_t ram_size;
+ uint16_t vid_mode;
+ uint16_t root_dev;
+ uint16_t boot_flag;
+ uint16_t jump;
+ uint32_t header;
+ uint16_t version;
+#define VERSION(h,l) (((h)<<8) | (l))
+ uint32_t realmode_swtch;
+ uint16_t start_sys;
+ uint16_t kernel_version;
+ uint8_t type_of_loader;
+ uint8_t loadflags;
+#define LOADED_HIGH (1<<0)
+#define KEEP_SEGMENTS (1<<6)
+#define CAN_USE_HEAP (1<<7)
+ uint16_t setup_move_size;
+ uint32_t code32_start;
+ uint32_t ramdisk_image;
+ uint32_t ramdisk_size;
+ uint32_t bootsect_kludge;
+ uint16_t heap_end_ptr;
+ uint16_t _pad1;
+ uint32_t cmd_lin...
2007 Jun 15
1
[PATCH RFC] add domain builder support for bzImage kernels
...+ uint16_t ram_size;
+ uint16_t vid_mode;
+ uint16_t root_dev;
+ uint16_t boot_flag;
+ uint16_t jump;
+ uint32_t header;
+ uint16_t version;
+#define VERSION(h,l) (((h)<<8) | (l))
+ uint32_t realmode_swtch;
+ uint16_t start_sys;
+ uint16_t kernel_version;
+ uint8_t type_of_loader;
+ uint8_t loadflags;
+#define LOADED_HIGH (1<<0)
+#define KEEP_SEGMENTS (1<<6)
+#define CAN_USE_HEAP (1<<7)
+ uint16_t setup_move_size;
+ uint32_t code32_start;
+ uint32_t ramdisk_image;
+ uint32_t ramdisk_size;
+ uint32_t bootsect_kludge;
+ uint16_t heap_end_ptr;
+ uint16_t _pad1;
+ uint32_t cmd_lin...
2007 Jun 15
1
[PATCH RFC] add domain builder support for bzImage kernels
...+ uint16_t ram_size;
+ uint16_t vid_mode;
+ uint16_t root_dev;
+ uint16_t boot_flag;
+ uint16_t jump;
+ uint32_t header;
+ uint16_t version;
+#define VERSION(h,l) (((h)<<8) | (l))
+ uint32_t realmode_swtch;
+ uint16_t start_sys;
+ uint16_t kernel_version;
+ uint8_t type_of_loader;
+ uint8_t loadflags;
+#define LOADED_HIGH (1<<0)
+#define KEEP_SEGMENTS (1<<6)
+#define CAN_USE_HEAP (1<<7)
+ uint16_t setup_move_size;
+ uint32_t code32_start;
+ uint32_t ramdisk_image;
+ uint32_t ramdisk_size;
+ uint32_t bootsect_kludge;
+ uint16_t heap_end_ptr;
+ uint16_t _pad1;
+ uint32_t cmd_lin...
2008 Jul 22
2
[PATCH 1/3] Fix loading of *.lkrn images from gPXE
...ru>
---
core/runkernel.inc | 13 ++++++-------
1 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/core/runkernel.inc b/core/runkernel.inc
index 4d62778..c7af6cc 100644
--- a/core/runkernel.inc
+++ b/core/runkernel.inc
@@ -216,13 +216,6 @@ new_kernel:
mov al,[es:su_loadflags]
mov [LoadFlags],al
- ; Cap the ramdisk memory range if appropriate
- mov eax,[RamdiskMax]
- cmp eax,[MyHighMemSize]
- ja .ok
- mov [MyHighMemSize],eax
-.ok:
-
any_kernel:
;
@@ -291,6 +284,12 @@ high_load_done:
; if we tried to load initrd using an old kernel
;
load_initrd:
+ ; Ca...
2013 Jul 29
1
[syslinux:firmware] load_linux: dynamically calculate the cmdline region
On 07/29/2013 06:28 AM, Matt Fleming wrote:
> On Fri, 26 Jul, at 09:49:28AM, H. Peter Anvin wrote:
>> Hmm... this might constrain the heap excessively if the SMT_TERMINAL
>> cutoff is at the wrong place (because there will be just enough SMT_FREE
>> to fit.) I'm wondering if we shouldn't use the highest of these two
>> regions.
>
> Could you give an
2020 Jul 14
0
[PATCH v4 15/75] x86/boot/compressed/64: Always switch to own page-table
...}
/*
diff --git a/arch/x86/boot/compressed/kaslr.c b/arch/x86/boot/compressed/kaslr.c
index 7c61a8c5b9cf..856dc1c9bb0d 100644
--- a/arch/x86/boot/compressed/kaslr.c
+++ b/arch/x86/boot/compressed/kaslr.c
@@ -903,9 +903,6 @@ void choose_random_location(unsigned long input,
boot_params->hdr.loadflags |= KASLR_FLAG;
- /* Prepare to add new identity pagetables on demand. */
- initialize_identity_maps();
-
/* Record the various known unsafe memory ranges. */
mem_avoid_init(input, input_size, *output);
--
2.27.0
2020 Jun 29
2
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld woes
...happened in the RPM ecosystem recently to poison the -spec/autoconf
relationship?
Reprex: install.packages("rgdal", repos="http://R-Forge.R-project.org")
and install.packages("rgdal", repos="http://R-Forge.R-project.org",
configure.args="--disable-loadflags") on a system with R RPM, plus GDAL
and PROJ (gdal-devel proj-devel proj-epsg proj-nad sqlite-devel I think).
Are there any known work-arounds that might apply to other packages using
autoconf?
Roger
--
Roger Bivand
Department of Economics, Norwegian School of Economics,
Helleveien 30, N...
2007 Oct 21
2
[git pull] lguest: paravirt boot code
...remy Fitzhardinge <jeremy@xensource.com>
Date: Mon Oct 22 10:56:19 2007 +1000
i386: paravirt boot sequence
This patch uses the updated boot protocol to do paravirtualized boot.
If the boot version is >= 2.07, then it will do two things:
1. Check the bootparams loadflags to see if we should reload the
segment registers and clear interrupts. This is appropriate
for normal native boot and some paravirtualized environments, but
inapproprate for others.
2. Check the hardware architecture, and dispatch to the appropriate
kernel...
2007 Oct 21
2
[git pull] lguest: paravirt boot code
...remy Fitzhardinge <jeremy@xensource.com>
Date: Mon Oct 22 10:56:19 2007 +1000
i386: paravirt boot sequence
This patch uses the updated boot protocol to do paravirtualized boot.
If the boot version is >= 2.07, then it will do two things:
1. Check the bootparams loadflags to see if we should reload the
segment registers and clear interrupts. This is appropriate
for normal native boot and some paravirtualized environments, but
inapproprate for others.
2. Check the hardware architecture, and dispatch to the appropriate
kernel...
2007 May 25
4
Extending boot protocol & bzImage for paravirt_ops
Well, it seems to be about time to have this conversation again.
A rough overview of the previous thread and requirements is:
1. bzImage would not be a bare ELF file, but it would contain an ELF
header+file within it
2. We need some way to add extra ELF notes into that ELF file
3. We use a "paravirtualized" bootloader type, with some other field
to determine which
2007 May 25
4
Extending boot protocol & bzImage for paravirt_ops
Well, it seems to be about time to have this conversation again.
A rough overview of the previous thread and requirements is:
1. bzImage would not be a bare ELF file, but it would contain an ELF
header+file within it
2. We need some way to add extra ELF notes into that ELF file
3. We use a "paravirtualized" bootloader type, with some other field
to determine which
2007 Jun 06
7
[PATCH RFC 0/7] proposed updates to boot protocol and paravirt booting
This series:
1. Updates the boot protocol to version 2.07
2. Clean up the existing build process, to get rid of tools/build and
make the linker do more heavy lifting
3. Make the bzImage payload an ELF file. The bootloader can extract
this as a naked ELF file by skipping over boot_params.setup_sects worth
of 16-bit setup code.
4. Update the boot_params to 2.07, and update the
2007 Jun 06
7
[PATCH RFC 0/7] proposed updates to boot protocol and paravirt booting
This series:
1. Updates the boot protocol to version 2.07
2. Clean up the existing build process, to get rid of tools/build and
make the linker do more heavy lifting
3. Make the bzImage payload an ELF file. The bootloader can extract
this as a naked ELF file by skipping over boot_params.setup_sects worth
of 16-bit setup code.
4. Update the boot_params to 2.07, and update the