On Tue, 2013-01-08 at 19:27 -0800, Jordan Justen wrote:
> Shouldn't retf in X64 pop 2 qwords?
That was my first attempt, but it didn't work. When gas sees 'retf' it
emits the single opcode 0xcb, which pops 32-bit EIP and CS (0x10) from
the stack as I've (now) constructed it.
A retfq (0x48 0xcb) w
On Tue, 2013-01-08 at 14:41 -0800, Jordan Justen wrote:
> On Tue, Jan 8, 2013 at 1:41 AM, David Woodhouse wrote:
> > Recent versions of the Linux kernel provide an EFI boot stub of their
> > own, for interrogating the runtime services and building up the
> > bootparams. Where possible, we should u
Hi,
I am working on development of HII forms for a device driver.
I am having problems with these forms running on a machine with UEFI version
2.3.
However they seem to run fine where UEFI version 2.31 is installed.
Specifically I am having problems with fields like 'one of', 'string', 'option
We currently just jump to offset 0x200 in the kernel image, in 64-bit
mode. This is completely broken. If it's a 32-bit kernel, we'll be
jumping into the compressed data payload.
If it's a 64-bit kernel, it'll work... but the 0x200 offset is
explicitly marked as 'may change in the future', has alr
We're supposed to zero everything in the kernel bootparams that we don't
explicitly initialise, other than the setup_header from 0x1f1 onwards
for a precisely defined length, which is copied from the bzImage.
We're *not* supposed to just pass the garbage that we happened to find
in the bzImage fil
On Wed, Jan 9, 2013 at 11:12 AM, David Woodhouse wrote:
> We're supposed to zero everything in the kernel bootparams that we don't
> explicitly initialise, other than the setup_header from 0x1f1 onwards
> for a precisely defined length, which is copied from the bzImage.
>
> We're *not* supposed to
On Wed, 2013-01-09 at 13:11 -0800, Jordan Justen wrote:
> Can you make this a separate patch?
OK.
> > + // Clear all but the setup_header
> > + SetMem (KernelSetup, 0x1f1, 0);
> > + SetMem (((UINT8 *)KernelSetup) + SetupEnd, KernelSetupSize - SetupEnd,
> > 0);
> > + return EFI_SUCCESS;
>
>
On Wed, Jan 9, 2013 at 11:07 AM, David Woodhouse wrote:
> --- a/edk2/OvmfPkg/Library/LoadLinuxLib/X64/JumpToKernel.asm
> +++ b/edk2/OvmfPkg/Library/LoadLinuxLib/X64/JumpToKernel.asm
> @@ -24,10 +24,47 @@
>
> ;--
> JumpT
On Wed, 2013-01-09 at 13:24 -0800, Jordan Justen wrote:
>
> This push won't assemble. ("Invalid instruction operands")
>
> There might be a way to get masm to assemble that instruction, but I
> don't know the magic syntax.
Hm. it works for me.
$ wine ~/Downloads/ml64.exe /h
Microsoft (R) Macro
On Wed, Jan 9, 2013 at 1:18 PM, David Woodhouse wrote:
> On Wed, 2013-01-09 at 13:11 -0800, Jordan Justen wrote:
>> > + // Clear all but the setup_header
>> > + SetMem (KernelSetup, 0x1f1, 0);
What about OFFSET_OF rather than 0x1f1?
>> > + SetMem (((UINT8 *)KernelSetup) + SetupEnd, KernelSetu
On Wed, 2013-01-09 at 13:38 -0800, Jordan Justen wrote:
> Then it should go in a new function that gets called in
> SetupLinuxBootParams and once on the EFI entry point path.
>
> LoadLinuxCheckKernelSetup is just a check routine. (Notice it gets
> called in several places via BasicKernelSetupCheck.
On 01/09/2013 01:35 PM, David Woodhouse wrote:
> On Wed, 2013-01-09 at 13:24 -0800, Jordan Justen wrote:
>>
>> This push won't assemble. ("Invalid instruction operands")
>>
>> There might be a way to get masm to assemble that instruction, but I
>> don't know the magic syntax.
>
> Hm. it works for
On Wed, Jan 9, 2013 at 1:35 PM, David Woodhouse wrote:
> On Wed, 2013-01-09 at 13:24 -0800, Jordan Justen wrote:
>>
>> This push won't assemble. ("Invalid instruction operands")
>>
>> There might be a way to get masm to assemble that instruction, but I
>> don't know the magic syntax.
>
> Hm. it wo
On Wed, Jan 9, 2013 at 11:12 AM, David Woodhouse wrote:
> We're supposed to zero everything in the kernel bootparams that we don't
> explicitly initialise, other than the setup_header from 0x1f1 onwards
> for a precisely defined length, which is copied from the bzImage.
>
> We're *not* supposed to
On 01/09/2013 02:02 PM, Jordan Justen wrote:
> On Wed, Jan 9, 2013 at 11:12 AM, David Woodhouse wrote:
>> We're supposed to zero everything in the kernel bootparams that we don't
>> explicitly initialise, other than the setup_header from 0x1f1 onwards
>> for a precisely defined length, which is co
Hi Ben,
What exact issues you are seeing with the One of or string or option text with
your uefi 2.3 system. Do both the systems have same browser implementation or
do they have different IBV browsers?
Thanks
Sathya
From: Ben Schroeder [mailto:ben...@mellanox.com]
Sent: Wednesday, January 09,
On Wed, Jan 9, 2013 at 2:05 PM, H. Peter Anvin wrote:
> On 01/09/2013 02:02 PM, Jordan Justen wrote:
>> In which case might this be garbage? A PE/COFF based image?
>>
>
> For all kernels. For non-EFI-stub kernels there will be a dummy boot
> sector there; there is also garbage *after* the initial
Also, Ben, can you see what the VERSION opcode returns. That browser should
return the version it supports. Hard to see it (because you have to create a
page to do it), but it could be different from what you see in the system table.
Thanks,
Tim
From: Prakash, Sathya [mailto:sathya.prak...@lsi
Thanks for the replies Mike and Andrew. I was on vacation so couldn't respond
earlier.
I am trying to explain my requirement more in detail here
Let me assume we have two controllers C1 and C2. In Controller C1 there is a
particular version of firmware and a particular version of UEFI Boot S
On Wed, 2013-01-09 at 13:38 -0800, Jordan Justen wrote:
> On Wed, Jan 9, 2013 at 1:18 PM, David Woodhouse
> wrote:
> > On Wed, 2013-01-09 at 13:11 -0800, Jordan Justen wrote:
> >> > + // Clear all but the setup_header
> >> > + SetMem (KernelSetup, 0x1f1, 0);
>
> What about OFFSET_OF rather than
Section 3.1.1 says:
Use of the back slash character "\" in this document is only for lines that
cannot be displayed within the margins of this document. The backslash
character must not be used to extend a line over multiple lines in the DSC file.
However, in real life, with large PCD declaratio
21 matches
Mail list logo