Displaying 14 results from an estimated 14 matches similar to: "[PATCH 0/4] efi: PE header generation fix"
2013 Nov 29
1
[PATCH 1/4] efi: Fix PE header field rva_and_sizes_nr
On Wed, 27 Nov, at 02:38:28PM, Celelibi wrote:
> The value of the field rva_and_sizes_nr is used by OVMF to check the
> consistency of the PE file with respect to the field optional_hdr_sz. It
> now have the right value.
>
> Signed-off-by: Celelibi <celelibi at gmail.com>
> ---
> efi/wrapper.c | 6 +++---
> efi/wrapper.h | 28 ++++++++++++++++------------
> 2
2013 Dec 01
0
[PATCH v2 4/4] efi: PE file size differ from in-memory size
PE headers code_sz and image_sz indicate more or less, the size of the
file and the size of the in-memory image. They are now given the right
value.
In the ELF format, only the program headers are reliable to determine
the actually needed part of the file and the in-memory size.
The .bss section should always be marked as NOLOAD for ld since its
content shouldn't be included into the binary
2013 Nov 27
0
[PATCH 4/4] efi: PE file size differ from in-memory size
PE headers code_sz and image_sz indicate more or less, the size of the
file and the size of the in-memory image. They are now given the right
value.
In the ELF format, only the program headers are reliable to determine
the actually needed part of the file and the in-memory size.
The .bss section should always be marked as NOLOAD for ld since its
content shouldn't be included into the binary
2013 Dec 01
0
[PATCH v2 3/4] efi: Useless relocations in PE file
There is no need to have a relocation section that nothing points at.
The image is still seen as relocatable as long as the Characteristics of
the FileHeader do not say otherwise.
Moreover, the field base_relocation_table wasn't initialized properly
leading to unpredictable bugs.
Signed-off-by: Celelibi <celelibi at gmail.com>
---
efi/wrapper.c | 28 +++-------------------------
1
2013 Nov 27
0
[PATCH 2/4] efi: Location, size and alignment of .text section
In the generated PE file, the section header for the .text section used
to address more than the whole file. Starting at offset 0 (before the
end of the headers) is illegal and is rejected by OVMF. Giving a size
greater than the actual file size is also illegal and rejected.
Moreover, the actual data inside the PE file have to be aligned to at
least 512 bytes. Hence, .text need to be aligned as
2013 Nov 27
0
[PATCH 3/4] efi: Useless relocations in PE file
There is no need to have a relocation section that nothing points at.
The image is still seen as relocatable as long as the Characteristics of
the FileHeader do not say otherwise.
Moreover, the field base_relocation_table wasn't initialized properly
leading to unpredictable bugs.
Signed-off-by: Celelibi <celelibi at gmail.com>
---
I'm not 100% positive about the uselessness of the
2000 Aug 01
2
ogg123 timekeeping
Does this look okay? :
Time: 1:15.50 of 4:13.73, Bitrate: 133.3
How about? :
<snip from=ogg123.c>
info.u_time = ov_time_total (&vf, -1); /* Seconds with double precision */
gettimeofday (&start_time, NULL);
t_min = (long) info.u_time / (long) 60;
t_sec = info.u_time - 60 * t_min;
while (! eos)
{
gettimeofday (&cur_time, NULL);
c_min = (long)
2013 Nov 29
1
[PATCH 2/4] efi: Location, size and alignment of .text section
On Wed, 27 Nov, at 02:38:29PM, Celelibi wrote:
> In the generated PE file, the section header for the .text section used
> to address more than the whole file. Starting at offset 0 (before the
> end of the headers) is illegal and is rejected by OVMF. Giving a size
> greater than the actual file size is also illegal and rejected.
>
> Moreover, the actual data inside the PE file
2013 Nov 27
0
[PATCH 1/4] efi: Fix PE header field rva_and_sizes_nr
The value of the field rva_and_sizes_nr is used by OVMF to check the
consistency of the PE file with respect to the field optional_hdr_sz. It
now have the right value.
Signed-off-by: Celelibi <celelibi at gmail.com>
---
efi/wrapper.c | 6 +++---
efi/wrapper.h | 28 ++++++++++++++++------------
2 files changed, 19 insertions(+), 15 deletions(-)
diff --git a/efi/wrapper.c b/efi/wrapper.c
2013 Dec 01
0
[PATCH v2 1/4] efi: Fix PE header field rva_and_sizes_nr
The value of the field rva_and_sizes_nr is used by OVMF to check the
consistency of the PE file with respect to the field optional_hdr_sz. It
now have the right value.
Signed-off-by: Celelibi <celelibi at gmail.com>
---
efi/wrapper.c | 6 +++---
efi/wrapper.h | 28 ++++++++++++++++------------
2 files changed, 19 insertions(+), 15 deletions(-)
diff --git a/efi/wrapper.c b/efi/wrapper.c
2008 Jun 17
1
Bug#486557: cpio segfault
hello,
On Mon, 16 Jun 2008, Joey Hess wrote:
> klibc cpio segfaults extracting various cpio files. It seems to work for
> small files, but fail for larger ones, including the d-i root floppy
> image.
>
> For example:
>
> joey at kodama:/tmp/empty>wget http://people.debian.org/~joeyh/d-i/images/20080401-09:01/floppy/root.img
> joey at kodama:/tmp/empty>zcat
2008 Dec 20
1
How to do indexing after splitting my data-frame?
Hello,
after splitting a data-frame I want to access the results.
Maybe the problem is, that the factor/index is a string...
...or do I miss knowing details of the index-uasge?
Please look and help:
=======================================
> weblog <- read_weblog("web.log")
>
>
> str(weblog)
'data.frame': 2247 obs. of 18 variables:
$ host : Factor w/ 77
2012 Nov 09
1
Syslinux-6.00-pre1
I've just pushed out a 6.00-pre1 release. This release includes support
for booting EFI machines. The code is currently in the alpha stage.
Having said that, you should expect most things to work correctly,
including things like the graphical menu.
Please help test if you can, and if you find any bugs, please report
them.
To facilitate building different versions of syslinux.efi (32-bit and
2013 Jun 20
9
Syslinux 6.00 released
Finally, the Syslinux 6.00 release is out. This release includes support
for booting from EFI, both from disk-based media and over the network
via PXE. Thanks to everyone who has been testing this out.
There are some EFI bugs that I'm aware of,
* booting Linux kernels without CONFIG_RELOCATABLE doesn't work
* 64-bit syslinux.efi cannot boot 32-bit kernels and vice versa
*