Reviewed-by: Wu Jiaxin
> -Original Message-
> From: Wu, Hao A
> Sent: Thursday, December 8, 2016 2:08 PM
> To: edk2-devel@lists.01.org
> Cc: Wu, Hao A ; Yao, Jiewen ;
> Wu, Jiaxin ; Gao, Liming
Current code in SmmVariableHandler() checks CommBufferSize
buffer to make sure it points to outside SMRAM in
"case SMM_VARIABLE_FUNCTION_GET_STATISTICS".
But after eaae7b33b1cf6b9f21db1636f219c2b6a8d88afd,
CommBufferSize buffer points to SMRAM that was used by
SMM core to cache CommSize from
Hi Anthony,
Can you provide more details on why you want to expose internal APIs
in the library class?
What is the specific issue? Is the Local APIC in your environment
not behaving the same as real HW?
Thanks,
Mike
> -Original Message-
> From: edk2-devel
Fixed reporting signature error for a cover letter.
Fixed reporting line size error for a file change information
included in the commit message.
Fixed line number reported in PatchCheck error messages. It
points to the correct line in the diff file.
The patch extends style checking for c code:
Reviewed-by: Ruiyu Ni
Regards,
Ray
>-Original Message-
>From: Bi, Dandan
>Sent: Friday, December 9, 2016 10:21 AM
>To: edk2-devel@lists.01.org
>Cc: Ni, Ruiyu
>Subject: [PATCH v2 2/8] FatPkg/EnhancedFatDxe: Use global variable replace
>static
Create global variable "mMonthDays" to replace static local
variable "MonthDays" in function FatIsValidTime() in Misc.c.
Cc: Ruiyu Ni
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi
---
FatPkg/EnhancedFatDxe/Misc.c | 4
done.
Regards,
Ray
From: Carsey, Jaben
Sent: Friday, December 9, 2016 6:07 AM
To: Tapan Shah ; edk2-devel@lists.01.org
Cc: Ni, Ruiyu ; Carsey, Jaben
Subject: RE: [PATCH] ShellPkg: Add missing header line for SFO flag in 'cls'
Got it ! I will submit a new patch. Thanks!
Regards,
Dandan
-Original Message-
From: Ni, Ruiyu
Sent: Friday, December 9, 2016 8:58 AM
To: Bi, Dandan ; edk2-devel@lists.01.org
Subject: RE: [patch 2/8] FatPkg\EnhancedFatDxe: Initialize variable after
declaration
Reviewed-by: Ruiyu Ni
Regards,
Ray
>-Original Message-
>From: Bi, Dandan
>Sent: Thursday, December 8, 2016 6:54 PM
>To: edk2-devel@lists.01.org
>Cc: Ni, Ruiyu
>Subject: [patch 1/8] FatPkg\EnhancedFatDxe: Avoid Non-Boolean type uses as
>Boolean
>
Reviewed-by: Ruiyu Ni
Regards,
Ray
>-Original Message-
>From: Bi, Dandan
>Sent: Thursday, December 8, 2016 6:54 PM
>To: edk2-devel@lists.01.org
>Cc: Ni, Ruiyu
>Subject: [patch 3/8] FatPkg\EnhancedFatDxe: Make function prototype align with
Reviewed-by: Ruiyu Ni
Regards,
Ray
>-Original Message-
>From: Bi, Dandan
>Sent: Thursday, December 8, 2016 6:54 PM
>To: edk2-devel@lists.01.org
>Cc: Ni, Ruiyu
>Subject: [patch 4/8] FatPkg\EnhancedFatDxe: Make the variable name follow rule
>
>Cc:
Reviewed-by: Ruiyu Ni
Regards,
Ray
>-Original Message-
>From: Bi, Dandan
>Sent: Thursday, December 8, 2016 6:54 PM
>To: edk2-devel@lists.01.org
>Cc: Ni, Ruiyu
>Subject: [patch 5/8] FatPkg\EnhancedFatDxe: Use typedef for complex type
>
>Cc: Ruiyu
Reviewed-by: Ruiyu Ni
Regards,
Ray
>-Original Message-
>From: Bi, Dandan
>Sent: Thursday, December 8, 2016 6:54 PM
>To: edk2-devel@lists.01.org
>Cc: Ni, Ruiyu
>Subject: [patch 7/8] FatPkg\EnhancedFatDxe: Add comments for functions
>
>Cc: Ruiyu Ni
Reviewed-by: Ruiyu Ni
Regards,
Ray
>-Original Message-
>From: Bi, Dandan
>Sent: Thursday, December 8, 2016 6:54 PM
>To: edk2-devel@lists.01.org
>Cc: Ni, Ruiyu
>Subject: [patch 8/8] FatPkg: Fix format issues in dec/inf/dsc files
>
>Cc: Ruiyu Ni
Dandan,
Could you please create a global array mMonthDays?
UINT8 mMonthDays[] = { 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 };
Regards,
Ray
>-Original Message-
>From: Bi, Dandan
>Sent: Thursday, December 8, 2016 6:54 PM
>To: edk2-devel@lists.01.org
>Cc: Ni, Ruiyu
Yes. When I said "read-protect" I mean "protect by making it read-only". I
should have said "read-only protect" or "write-protect".
K2
-Original Message-
From: af...@apple.com [mailto:af...@apple.com]
Sent: Thursday, December 8, 2016 4:37 PM
To: Kurt Kennett
Hi
I found it is using "STATIC" not "CONST".
Does a compiler put "STATIC" data to READ-ONLY section?
Thank you
Yao Jiewen
From: af...@apple.com [mailto:af...@apple.com]
Sent: Friday, December 9, 2016 8:37 AM
To: Kurt Kennett
Cc: Yao, Jiewen ;
> On Dec 8, 2016, at 4:26 PM, Kurt Kennett wrote:
>
> Is the data 'variable'? i.e does it ever change?
>
> A normal compiler should put this data into a section marked read-only if it
> is marked as const, and a loader could read-protect the region after load.
>
Is the data 'variable'? i.e does it ever change?
A normal compiler should put this data into a section marked read-only if it is
marked as const, and a loader could read-protect the region after load.
K2
-Original Message-
From: Yao, Jiewen [mailto:jiewen@intel.com]
Sent:
Agree. Maybe we can move it to be a global variable ?
Thank you
Yao Jiewen
> -Original Message-
> From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Kurt
> Kennett
> Sent: Friday, December 9, 2016 1:28 AM
> To: Bi, Dandan ; edk2-devel@lists.01.org
> On Dec 8, 2016, at 9:27 AM, Kurt Kennett wrote:
>
> This seems kind of silly.
> Why isn't this just const data? This adds code and memory accesses that are
> worthless and happen on every call to the function.
>
K2,
I think this is an attempt to conform to the
Reviewed-by: Jaben Carsey
Ray, can you push with your other stuff?
> -Original Message-
> From: Tapan Shah [mailto:tapands...@hpe.com]
> Sent: Thursday, December 8, 2016 9:21 AM
> To: edk2-devel@lists.01.org
> Cc: Carsey, Jaben ; Tapan
Reviewed-by: Jaben Carsey
> -Original Message-
> From: Ni, Ruiyu
> Sent: Wednesday, December 7, 2016 5:45 PM
> To: edk2-devel@lists.01.org
> Cc: Chen, Chen A ; Carsey, Jaben
>
> Subject: [PATCH] ShellPkg/Application:
This seems kind of silly.
Why isn't this just const data? This adds code and memory accesses that are
worthless and happen on every call to the function.
K2
-Original Message-
From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Dandan Bi
Sent: Thursday, December 8,
Adding a missing header line for 'cls -sfo' command
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Tapan Shah
---
ShellPkg/Library/UefiShellLevel3CommandsLib/Cls.c| 1 +
Reviewed-by: Tapan Shah
-Original Message-
From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Ruiyu Ni
Sent: Wednesday, December 07, 2016 7:45 PM
To: edk2-devel@lists.01.org
Cc: Jaben Carsey ; Chen A Chen
Thanks to Ryan for reminding me :)
On Wed, Oct 05, 2016 at 08:42:51PM -0500, Daniil Egranov wrote:
> The patch reads a valid MAC address form the Juno IOFPGA registers
> and pushes it into onboard Marvell Yukon NIC.
>
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by:
Hi Leif,
On 2 November 2016 at 11:55, Ryan Harkin wrote:
> On 1 November 2016 at 21:05, Leif Lindholm wrote:
>> On Tue, Nov 01, 2016 at 05:55:11PM +, Ryan Harkin wrote:
>>> Hi Daniil,
>>>
>>> While looking for another patch, I found this on
declare more exported function, ReadLocalApicReg and WriteLocalApicReg.
On my system (running OVMF inside a Xen PVH guest), writing the
interrupt information (to XAPIC_LVT_TIMER_OFFSET) would also reset the
init-count register, thus disabling the timer.
---
And replacing the ACPI Timer by this one based on the local APIC.
ACPI Timer does not work in a PVH guest, but local APIC works on both
PVH and HVM.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD
---
OvmfPkg/XenOvmf.dsc
---
OvmfPkg/XenOvmf.dsc | 5 -
OvmfPkg/XenOvmf.fdf | 2 +-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/OvmfPkg/XenOvmf.dsc b/OvmfPkg/XenOvmf.dsc
index a7a884e..345157b 100644
--- a/OvmfPkg/XenOvmf.dsc
+++ b/OvmfPkg/XenOvmf.dsc
@@ -567,7 +567,10 @@
}
This "device" use XenIoMmioLib to reserve some space to be use by grant
tables. It's use 0xfc00, which might not be a good choice...
There is probably a better way that using a device for this.
---
OvmfPkg/XenIoPvhDxe/XenIoPvhDxe.c | 263
and add OvmfPkg/XenConsoleIo/XenConsoleIo to XenOvmf platform.
It actually look for gEfiSerialIoProtocolGuid.
---
.../Library/PlatformBootManagerLib/BdsPlatform.c | 33 ++
.../PlatformBootManagerLib.inf | 2 ++
OvmfPkg/XenOvmf.dsc
Hi,
I've started to create a Xen specifig plaform, in OvmfPkg/XenOvmf.dsc
with the goal to make it work on both Xen HVM and Xen PVHv2
The first few patches only create the platform and duplicate some code from
OvmfPkg and the later patches (from OvmfPkg/XenPlatformPei: Add xen PVH
specific code)
A copy of OvmfPkg/Library/PciHostBridgeLib
Removing support for pci bus enumeration, I think, and only use scan of
already enumerated pci bus.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD
---
A copy of OvmfPkg/PlatformPei without some of QEMU specific
initialization, Xen does not support QemuFwCfg.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD
---
OvmfPkg/XenOvmf.dsc | 2 +-
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD
---
OvmfPkg/Library/ResetSystemLib/ResetSystemLib.inf | 1 +
1 file changed, 1 insertion(+)
diff --git a/OvmfPkg/Library/ResetSystemLib/ResetSystemLib.inf
- learn about memory size from the E820
- ignore error if host bridge devid is 0x, PVH does not have PCI and
reading from unexisting device return -1.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD
---
This one enter directly in 32bits
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD
---
OvmfPkg/XenResetVector/Ia16/ResetVectorVtf0.asm | 79 +
OvmfPkg/XenResetVector/Ia32/XenPVHMain.asm | 23 +++
This is a copy of OvmfX64, removing VirtIO and some SMM.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD
---
OvmfPkg/XenOvmf.dsc | 793
OvmfPkg/XenOvmf.fdf | 504
Copy of OvmfPkg/ResetVector, with one changes:
- default_cr0: enable cache
Xen copy the OVMF code to RAM, there is no need for cache. Also, it
makes OVMF slow to start on AMD.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD
---
This is a debug IO port that will output directly to the Xen Hypervisor
console.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD
---
OvmfPkg/XenOvmf.dsc | 3 +++
1 file changed, 3 insertions(+)
diff --git a/OvmfPkg/XenOvmf.dsc
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD
---
OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c
On 8 December 2016 at 13:30, Michael Zimmermann
wrote:
> When compiling with any ARM toolchain and Os, registers can get
> trashed when returning for the second time from SetJump because GCC
> only handles this correctly when using standard names like 'setjmp' or
>
When compiling with any ARM toolchain and Os, registers can get
trashed when returning for the second time from SetJump because GCC
only handles this correctly when using standard names like 'setjmp' or
'getcontext'. When different names are used you have to use the
attribute 'returns_twice' to
Cc: Ruiyu Ni
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi
---
FatPkg/EnhancedFatDxe/Fat.inf | 2 +-
FatPkg/FatPei/FatPei.inf | 6 +++---
FatPkg/FatPkg.dec | 1 -
FatPkg/FatPkg.dsc | 3 +--
Cc: Ruiyu Ni
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi
---
FatPkg/EnhancedFatDxe/Fat.c | 64
FatPkg/EnhancedFatDxe/Fat.h | 804 +++
FatPkg/EnhancedFatDxe/Info.c | 40
Cc: Ruiyu Ni
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi
---
FatPkg/EnhancedFatDxe/Misc.c | 14 +-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/FatPkg/EnhancedFatDxe/Misc.c
Cc: Ruiyu Ni
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi
---
FatPkg/EnhancedFatDxe/Fat.h | 36 ---
FatPkg/EnhancedFatDxe/FatFileSystem.h | 10 ++
2 files changed, 27
The patch series make the coding style of FatPkg align with EDKII rules.
Cc: Ruiyu Ni
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi
Dandan Bi (8):
FatPkg\EnhancedFatDxe: Avoid Non-Boolean type uses as Boolean
Cc: Ruiyu Ni
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi
---
FatPkg/EnhancedFatDxe/DirectoryManage.c | 16 -
FatPkg/EnhancedFatDxe/DiskCache.c | 50 +--
Cc: Ruiyu Ni
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi
---
FatPkg/EnhancedFatDxe/Info.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/FatPkg/EnhancedFatDxe/Info.c
Cc: Ruiyu Ni
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi
---
FatPkg/EnhancedFatDxe/FileName.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/FatPkg/EnhancedFatDxe/FileName.c
Reviewed-by: Dandan Bi
-Original Message-
From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Ard
Biesheuvel
Sent: Thursday, December 8, 2016 4:17 PM
To: edk2-devel@lists.01.org; Ni, Ruiyu
Cc: Ard Biesheuvel
Add missing EFIAPI modifiers to the functions that are exposed via the
PCI I/O protocol.
At the same time, add a missing UINT8 cast which breaks the build on
Visual Studio.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel
---
55 matches
Mail list logo