Re: [edk2] [PATCH] OvmfPkg: QemuVideoDxe: Int10h stub for Windows 2008 R2 SP1 (stdvga, QXL)

2014-05-12 Thread Laszlo Ersek
On 05/13/14 01:22, Jordan Justen wrote: > On Mon, May 12, 2014 at 2:35 PM, Laszlo Ersek wrote: >> On 05/12/14 22:49, Jordan Justen wrote: >>> On Mon, May 12, 2014 at 10:41 AM, Laszlo Ersek wrote: On 05/12/14 18:03, Jordan Justen wrote: > On Mon, May 12, 2014 at 6:18 AM, Laszlo Ersek >>>

Re: [edk2] [PATCH] LegacyBios: Update EFI_COMPATIBILITY16_TABLE to match 0.98 CSM spec update

2014-05-12 Thread Li, Elvin
David, Where do we initialize UmaAddress/UmaSize/HiPermanentMemoryAddress/HiPermanentMemorySize? And could you explain the purpose of these new fields? Thanks Elvin -Original Message- From: David Woodhouse [mailto:dw...@infradead.org] Sent: Monday, May 12, 2014 10:00 PM T

Re: [edk2] [PATCH] OvmfPkg: QemuVideoDxe: Int10h stub for Windows 2008 R2 SP1 (stdvga, QXL)

2014-05-12 Thread Laszlo Ersek
On 05/12/14 22:27, Mike Maslenkin wrote: > I just wanted to point that since it is documented behavior may be a > strict requirement for CSM is enough to run W7, W2K8R2, instead of > having a bunch of code requiring a special compilation with NASM. But > anyway, idea with shim is great. Ah, OK, I

Re: [edk2] How do I use NET_BUF?

2014-05-12 Thread Ye, Ting
The design purpose of NET_BUF is to meet the buffer management requirement for different network modules. For example, IP module supports reassemble and fragment packets; NET_BUF provides the capability to wrap a list of buffers into one buffer to avoid data copy in different layers. Best Regar

[edk2] [PATCH] ShellPkg/Shell: Do not mix status when executing a command

2014-05-12 Thread Olivier Martin
Dear ShellPkg maintainer, please find the attached patch that fixes the following error. The function InternalShellExecuteDevicePath() did not differentiate an error occuring during the preparation of an image and an error occuring during its execution. A use case of the issue wa

Re: [edk2] [PATCH] OvmfPkg: QemuVideoDxe: Int10h stub for Windows 2008 R2 SP1 (stdvga, QXL)

2014-05-12 Thread Jordan Justen
On Mon, May 12, 2014 at 2:35 PM, Laszlo Ersek wrote: > On 05/12/14 22:49, Jordan Justen wrote: >> On Mon, May 12, 2014 at 10:41 AM, Laszlo Ersek wrote: >>> On 05/12/14 18:03, Jordan Justen wrote: On Mon, May 12, 2014 at 6:18 AM, Laszlo Ersek wrote: > Additionally, there's another (

Re: [edk2] [PATCH] OvmfPkg: QemuVideoDxe: Int10h stub for Windows 2008 R2 SP1 (stdvga, QXL)

2014-05-12 Thread Laszlo Ersek
On 05/12/14 22:49, Jordan Justen wrote: > On Mon, May 12, 2014 at 10:41 AM, Laszlo Ersek wrote: >> On 05/12/14 18:03, Jordan Justen wrote: >>> On Mon, May 12, 2014 at 6:18 AM, Laszlo Ersek >>> wrote: Additionally, there's another (similarly downstream only) patch OvmfPkg: Don't b

Re: [edk2] [PATCH] OvmfPkg: QemuVideoDxe: Int10h stub for Windows 2008 R2 SP1 (stdvga, QXL)

2014-05-12 Thread Jordan Justen
On Mon, May 12, 2014 at 10:41 AM, Laszlo Ersek wrote: > On 05/12/14 18:03, Jordan Justen wrote: >> On Mon, May 12, 2014 at 6:18 AM, Laszlo Ersek >> wrote: >>> Additionally, there's another (similarly downstream only) patch >>> >>> OvmfPkg: Don't build in QemuVideoDxe when we have CSM >>> >>> Di

Re: [edk2] [PATCH] OvmfPkg: QemuVideoDxe: Int10h stub for Windows 2008 R2 SP1 (stdvga, QXL)

2014-05-12 Thread Mike Maslenkin
> > On 05/12/14 18:21, Mike Maslenkin wrote: > > > >> > + Segment0 = 0; > + Segment0Pages = 1; > + Status = gBS->AllocatePages (AllocateAddress, EfiReservedMemoryType, > + Segment0Pages, &Segment0); > + if (EFI_ERROR (Status)) { > +goto

Re: [edk2] [PATCH] OvmfPkg: QemuVideoDxe: Int10h stub for Windows 2008 R2 SP1 (stdvga, QXL)

2014-05-12 Thread Scott Duplichan
Mike Maslenkin [mailto:miha...@parallels.com] wrote: [...] ]1. I'm curious why do you call w2k8 driver buggy. ]According to this document ]http://technet.microsoft.com/en-us/library/hh824898.aspx While I can't speak for Laszlo, it is worth noting that the INT10 requirement was not added to that

Re: [edk2] [PATCH] OvmfPkg: QemuVideoDxe: Int10h stub for Windows 2008 R2 SP1 (stdvga, QXL)

2014-05-12 Thread Laszlo Ersek
On 05/12/14 18:21, Mike Maslenkin wrote: > >> + Segment0 = 0; + Segment0Pages = 1; + Status = gBS->AllocatePages (AllocateAddress, EfiReservedMemoryType, + Segment0Pages, &Segment0); + if (EFI_ERROR (Status)) { +goto RestorePam1; +

Re: [edk2] [PATCH] OvmfPkg: QemuVideoDxe: Int10h stub for Windows 2008 R2 SP1 (stdvga, QXL)

2014-05-12 Thread Laszlo Ersek
On 05/12/14 18:03, Jordan Justen wrote: > On Mon, May 12, 2014 at 6:18 AM, Laszlo Ersek > wrote: >> Additionally, there's another (similarly downstream only) patch >> >> OvmfPkg: Don't build in QemuVideoDxe when we have CSM >> >> Did you include the presence of this patch in your question? > > N

Re: [edk2] [PATCH] LegacyBios: Update EFI_COMPATIBILITY16_TABLE to match 0.98 CSM spec update

2014-05-12 Thread Laszlo Ersek
On 05/12/14 16:00, David Woodhouse wrote: > The addition of UmaAddress/UmaSize fields allows the CSM to have > writable memory between the top of the option ROMs and the start of > its read-only code segment. > > The HiPermanentMemoryAddress/HiPermanentMemorySize fields added in the > new spec are

Re: [edk2] [PATCH] OvmfPkg: QemuVideoDxe: Int10h stub for Windows 2008 R2 SP1 (stdvga, QXL)

2014-05-12 Thread Mike Maslenkin
> > >> + Segment0 = 0; > >> + Segment0Pages = 1; > >> + Status = gBS->AllocatePages (AllocateAddress, EfiReservedMemoryType, > >> + Segment0Pages, &Segment0); > >> + if (EFI_ERROR (Status)) { > >> +goto RestorePam1; > >> + } > > > > If CSM is enabled, we will fail

Re: [edk2] [PATCH] OvmfPkg: QemuVideoDxe: Int10h stub for Windows 2008 R2 SP1 (stdvga, QXL)

2014-05-12 Thread Jordan Justen
On Mon, May 12, 2014 at 6:18 AM, Laszlo Ersek wrote: > Additionally, there's another (similarly downstream only) patch > > OvmfPkg: Don't build in QemuVideoDxe when we have CSM > > Did you include the presence of this patch in your question? No. I want to remove this patch from being needed, an

Re: [edk2] How do I use NET_BUF?

2014-05-12 Thread Thomas Rognon
Yes I see NetbufAlloc(), NetbufAllocSpace(), NetbufBuildExt(), etc. I guess I'm looking for more of a conceptual overview of the NET_BUF struct, particularly in relation to the two scenarios I mentioned. The documentation in the code describes the details, but doesn't really give an overview or des

[edk2] [PATCH] LegacyBios: Update EFI_COMPATIBILITY16_TABLE to match 0.98 CSM spec update

2014-05-12 Thread David Woodhouse
The addition of UmaAddress/UmaSize fields allows the CSM to have writable memory between the top of the option ROMs and the start of its read-only code segment. The HiPermanentMemoryAddress/HiPermanentMemorySize fields added in the new spec are also added to the table, but not yet supported. Cont

Re: [edk2] [PATCH] OvmfPkg: QemuVideoDxe: Int10h stub for Windows 2008 R2 SP1 (stdvga, QXL)

2014-05-12 Thread Laszlo Ersek
On 05/10/14 00:49, Jordan Justen wrote: > On Thu, May 8, 2014 at 10:45 AM, Laszlo Ersek wrote: >> The Windows 2008 R2 SP1 UEFI guest's default video driver is buggy -- it >> dereferences the real mode Int10h vector, loads the pointed-to handler >> code, and executes what it thinks to be VGA BIOS s

Re: [edk2] UEFI diagnostic application

2014-05-12 Thread Michał Ciesielski
Hi Rafael, Thanks for your answer. Smbiosview function in UEFI SHELL is exactly what i need. But i how can i put this functionality into my application? Regards, Michał Ciesielski From: Rafael Machado [mailto:rafaelrodrigues.mach...@gmail.com] Sent: Friday, May 9, 2014 1:35 PM T