d945390d5f
MdeModulePkg/Ufs: ensure the DBC field of UTP PRDT is dword-aligned
...
According to UFS Host Controller Spec(JESD223), the bits 1:0 of this
DataByteCount field shall be 11b to indicate Dword granularity.
But the size of UFS Request Sense Data Response defined in UFS Spec
(JESD220C) is 18 which is not Dword aligned, we would have to round
down to the multiple of 4 to fill the DBC field to avoid bring issue
on some UFS HCs.
Cc: Hao Wu <hao.a.wu@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Feng Tian <feng.tian@intel.com >
Reviewed-by: Hao Wu <hao.a.wu@intel.com >
2016-11-09 15:30:10 +08:00
85517f77bc
MdeModulePkg/MdeModulePkg.dsc: Add FMP related component.
...
Add FMP related component to check build.
Cc: Feng Tian <feng.tian@intel.com >
Cc: Star Zeng <star.zeng@intel.com >
Cc: Michael D Kinney <michael.d.kinney@intel.com >
Cc: Liming Gao <liming.gao@intel.com >
Cc: Chao Zhang <chao.b.zhang@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiewen Yao <jiewen.yao@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
Reviewed-by: Michael Kinney <michael.d.kinney@intel.com >
Tested-by: Michael Kinney <michael.d.kinney@intel.com >
2016-11-08 22:37:10 +08:00
15b52294fd
MdeModulePkg/UiApp: Show test key warning info in FrontPage.
...
The UiApp is updated to consume PcdTestKeyUsed to know if there is any
test key used in current BIOS, such as recovery key,
or capsule update key.
Then UiApp show warning information in front page.
Cc: Eric Dong <eric.dong@intel.com >
Cc: Ruiyu Ni <ruiyu.ni@intel.com >
Cc: Feng Tian <feng.tian@intel.com >
Cc: Star Zeng <star.zeng@intel.com >
Cc: Michael D Kinney <michael.d.kinney@intel.com >
Cc: Liming Gao <liming.gao@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiewen Yao <jiewen.yao@intel.com >
Reviewed-by: Michael Kinney <michael.d.kinney@intel.com >
Tested-by: Michael Kinney <michael.d.kinney@intel.com >
2016-11-08 22:37:08 +08:00
592bad0435
MdeModulePkg/CapsuleApp: Add CapsuleApp application.
...
This CapsuleApp can help perform capsule update in UEFI shell environment.
It can also dump capsule information, capsule status variable,
ESRT and FMP.
Cc: Feng Tian <feng.tian@intel.com >
Cc: Star Zeng <star.zeng@intel.com >
Cc: Michael D Kinney <michael.d.kinney@intel.com >
Cc: Liming Gao <liming.gao@intel.com >
Cc: Chao Zhang <chao.b.zhang@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiewen Yao <jiewen.yao@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
Reviewed-by: Michael Kinney <michael.d.kinney@intel.com >
Tested-by: Michael Kinney <michael.d.kinney@intel.com >
2016-11-08 22:37:05 +08:00
ab3aac14ab
MdeModulePkg/Esrt: Add ESRT_FW_TYPE_SYSTEMFIRMWARE check.
...
The previous ESRT driver unconditionally treat FMP to be
ESRT_FW_TYPE_DEVICEFIRMWARE.
EDKII System Capsule reuses FMP, but it is ESRT_FW_TYPE_SYSTEMFIRMWARE.
Add check to ImageTypeId check to see if it is ESRT_FW_TYPE_SYSTEMFIRMWARE.
Cc: Feng Tian <feng.tian@intel.com >
Cc: Star Zeng <star.zeng@intel.com >
Cc: Michael D Kinney <michael.d.kinney@intel.com >
Cc: Liming Gao <liming.gao@intel.com >
Cc: Chao Zhang <chao.b.zhang@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiewen Yao <jiewen.yao@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
Reviewed-by: Michael Kinney <michael.d.kinney@intel.com >
Tested-by: Michael Kinney <michael.d.kinney@intel.com >
2016-11-08 22:37:03 +08:00
d2a160304e
MdeModulePkg/DxeCapsuleLibFmp: Add DxeCapsuleLibFmp instance.
...
This instance handles Microsoft UX capsule, UEFI defined FMP capsule.
This instance should not assume any capsule image format.
Cc: Feng Tian <feng.tian@intel.com >
Cc: Star Zeng <star.zeng@intel.com >
Cc: Michael D Kinney <michael.d.kinney@intel.com >
Cc: Liming Gao <liming.gao@intel.com >
Cc: Chao Zhang <chao.b.zhang@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiewen Yao <jiewen.yao@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
Reviewed-by: Michael Kinney <michael.d.kinney@intel.com >
Tested-by: Michael Kinney <michael.d.kinney@intel.com >
2016-11-08 22:37:00 +08:00
bf468a6ca0
MdeModulePkg/DxeCapsuleLibNull: Add ProcessCapsules() interface.
...
Add ProcessCapsules() interface for DxeCapsuleLibNull.
Cc: Feng Tian <feng.tian@intel.com >
Cc: Star Zeng <star.zeng@intel.com >
Cc: Michael D Kinney <michael.d.kinney@intel.com >
Cc: Liming Gao <liming.gao@intel.com >
Cc: Chao Zhang <chao.b.zhang@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiewen Yao <jiewen.yao@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
Reviewed-by: Michael Kinney <michael.d.kinney@intel.com >
Tested-by: Michael Kinney <michael.d.kinney@intel.com >
2016-11-08 22:36:58 +08:00
e169a686ab
MdeModulePkg/FmpAuthenticationLibNull: Add NULL instance FMP.
...
Add NULL instance to pass build.
Cc: Feng Tian <feng.tian@intel.com >
Cc: Star Zeng <star.zeng@intel.com >
Cc: Michael D Kinney <michael.d.kinney@intel.com >
Cc: Liming Gao <liming.gao@intel.com >
Cc: Chao Zhang <chao.b.zhang@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiewen Yao <jiewen.yao@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
Reviewed-by: Michael Kinney <michael.d.kinney@intel.com >
Tested-by: Michael Kinney <michael.d.kinney@intel.com >
2016-11-08 22:36:55 +08:00
df31cf84d1
MdeModulePkg/MdeModulePkg.dec: Add capsule related definition.
...
1) Add capsule related library.
FmpAuthenticationLib
2) Add capsule related status code PCD.
PcdStatusCodeSubClassCapsule
PcdCapsuleStatusCodeProcessCapsulesBegin
PcdCapsuleStatusCodeProcessCapsulesEnd
PcdCapsuleStatusCodeUpdatingFirmware
PcdCapsuleStatusCodeUpdateFirmwareSuccess
PcdCapsuleStatusCodeUpdateFirmwareFailed
PcdCapsuleStatusCodeResettingSystem
3) Add capsule status variable PCD - CapsuleMax value.
PcdCapsuleMax
4) Add system FMP indicator PCD - used by ESRT.
PcdSystemFmpCapsuleImageTypeIdGuid
5) Add PcdTestKeyUsed PCD.
This PCD can be set by platform to indicate if there is any
test key used in current BIOS, such as recovery key,
or capsule update key.
Then the generic UI may consume this PCD to show warning information.
Other platform driver may also consume this PCD to know such info,
and report it via platform specific way.
Cc: Feng Tian <feng.tian@intel.com >
Cc: Star Zeng <star.zeng@intel.com >
Cc: Michael D Kinney <michael.d.kinney@intel.com >
Cc: Liming Gao <liming.gao@intel.com >
Cc: Chao Zhang <chao.b.zhang@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiewen Yao <jiewen.yao@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
Reviewed-by: Michael Kinney <michael.d.kinney@intel.com >
Tested-by: Michael Kinney <michael.d.kinney@intel.com >
2016-11-08 22:36:53 +08:00
0fb30bc9f1
MdeModulePkg/CapsuleLib: Add ProcessCapsules() API.
...
ProcessCapsules() API can be used by platform BDS to process all capsules.
Cc: Feng Tian <feng.tian@intel.com >
Cc: Star Zeng <star.zeng@intel.com >
Cc: Michael D Kinney <michael.d.kinney@intel.com >
Cc: Liming Gao <liming.gao@intel.com >
Cc: Chao Zhang <chao.b.zhang@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiewen Yao <jiewen.yao@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
Reviewed-by: Michael Kinney <michael.d.kinney@intel.com >
Tested-by: Michael Kinney <michael.d.kinney@intel.com >
2016-11-08 22:36:50 +08:00
e5b31668cf
MdeModulePkg/Include: Add FmpAuthenticationLib header.
...
This library is used to authenticate a UEFI defined FMP Capsule.
Cc: Feng Tian <feng.tian@intel.com >
Cc: Star Zeng <star.zeng@intel.com >
Cc: Michael D Kinney <michael.d.kinney@intel.com >
Cc: Liming Gao <liming.gao@intel.com >
Cc: Chao Zhang <chao.b.zhang@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiewen Yao <jiewen.yao@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
Reviewed-by: Michael Kinney <michael.d.kinney@intel.com >
Tested-by: Michael Kinney <michael.d.kinney@intel.com >
2016-11-08 22:36:48 +08:00
bfb4c2ba37
MdeModulePkg/PCD: Fix PcdGetNextToken may get a wrong PCD token
...
If there are two DynamicEx PCDs have the same PCD token number but
in different PCD token spaces, the PcdGetNextToken function may get
the wrong PCD token.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Cinnamon Shia <cinnamon.shia@hpe.com >
Reviewed-by: Star Zeng <star.zeng@intel.com >
2016-11-03 11:00:52 +08:00
414b198be9
MdeModulePkg/FrameBufferBltLib: Change module type to UEFI_DRIVER
...
- BASE -> UEFI_DRIVER
- https://bugzilla.tianocore.org/show_bug.cgi?id=173
Cc: Liming Gao <liming.gao@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Bell Song <binx.song@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
2016-11-03 10:28:51 +08:00
1e230224d4
MdeModulePkg LzmaDecompressLib: Update LZMA to new 16.04 version
...
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming.gao@intel.com >
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com >
2016-11-03 10:21:19 +08:00
90d6dfb987
MdeModulePkg/Xhci: Change short packet debug message to verbose level
...
Short Packet case is a normal case, we shouldn't print it as an error
Cc: Star Zeng <star.zeng@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Feng Tian <feng.tian@intel.com >
Reviewed-by: Star Zeng <star.zeng@intel.com >
2016-11-01 09:17:47 +08:00
a7b3f90f8a
MdeModulePkg/AtaAtapiPassThru: update AtaStatusBlock after cmd exec
...
AhciDumpPortStatus doesn't fully populate all the fields of
AtaStatusBlock after completing command execution, which may bring
issue if someone depends on the return status.
Cc: Star Zeng <star.zeng@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Feng Tian <feng.tian@intel.com >
Reviewed-by: Star Zeng <star.zeng@intel.com >
2016-11-01 09:17:47 +08:00
e86f363564
MdeModulePkg: Check for NULL pointer before dereference it.
...
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Fu Siyuan <siyuan.fu@intel.com >
Reviewed-by: Ye Ting <ting.ye@intel.com >
Reviewed-by: Wu Jiaxin <jiaxin.wu@intel.com >
2016-10-31 16:03:00 +08:00
4b7aee0a33
MdeModulePkg: Fix the wrong Timer event check
...
Cc: Ye Ting <ting.ye@intel.com >
Cc: Fu Siyuan <siyuan.fu@intel.com >
Cc: Zhang Lubo <lubo.zhang@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiaxin Wu <jiaxin.wu@intel.com >
Reviewed-by: Ye Ting <ting.ye@intel.com >
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com >
2016-10-31 08:45:08 +08:00
01b5ac880f
MdeModulePkg: Update IP4 stack drivers for classless address unicast check.
...
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Fu Siyuan <siyuan.fu@intel.com >
Reviewed-by: Ye Ting <ting.ye@intel.com >
Reviewed-by: Wu Jiaxin <jiaxin.wu@intel.com >
2016-10-28 14:20:10 +08:00
3289dcba45
MdeModulePkg: Update NetLib interface to support classless addressing.
...
The classful addressing (IP class A/B/C) has been deprecated according to
RFC4632. This patch updates the NetLib NetGetIpClass() and NetIp4IsUnicast()
accordingly.
NetGetIpClass()
The function is kept for compatibility, while the caller of this function
could only check the returned value against with IP4_ADDR_CLASSD (multicast)
or IP4_ADDR_CLASSE (reserved) now. The function has been updated to note this.
NetIp4IsUnicast()
The NetMask becomes a required parameter to check the unicast address.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Fu Siyuan <siyuan.fu@intel.com >
Reviewed-by: Ye Ting <ting.ye@intel.com >
Reviewed-by: Wu Jiaxin <jiaxin.wu@intel.com >
2016-10-28 14:19:46 +08:00
d1b757e2cd
MdeModulePkg/TerminalDxe: Fix IA32 VS2015x86 build break
...
https://bugzilla.tianocore.org/show_bug.cgi?id=190
The issue is with signed/unsigned comparisons between
Mode->CursorRow and Row and Mode->CursorColumn and Column.
The fix is to add typecast to UINTN for comparisons.
Cc: Feng Tian <feng.tian@intel.com >
Cc: Star Zeng <star.zeng@intel.com >
Cc: Brian Johnson <bjohnson@sgi.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Michael Kinney <michael.d.kinney@intel.com >
Reviewed-by: Brian Johnson <bjohnson@sgi.com >
2016-10-27 11:29:52 -07:00
7bd394623a
MdeModulePkg PeiCore: Make sure FvInfo has FFS2 format if Ffs2Guid FvFormat
...
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=160
Cc: Liming Gao <liming.gao@intel.com >
Cc: Sean Brogan <sean.brogan@microsoft.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
2016-10-27 21:47:49 +08:00
33f615e2c3
MdeModulePkg/Variable/RuntimeDxe: rebase to ARRAY_SIZE()
...
Cc: Feng Tian <feng.tian@intel.com >
Cc: Star Zeng <star.zeng@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com >
Reviewed-by: Feng Tian <feng.tian@Intel.com >
Reviewed-by: Star Zeng <star.zeng@intel.com >
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com >
2016-10-27 11:10:58 +02:00
052d7c31d8
MdeModulePkg/Tcp4Dxe: rebase to ARRAY_SIZE()
...
Cc: Feng Tian <feng.tian@intel.com >
Cc: Jiaxin Wu <jiaxin.wu@intel.com >
Cc: Siyuan Fu <siyuan.fu@intel.com >
Cc: Star Zeng <star.zeng@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com >
Reviewed-by: Feng Tian <feng.tian@Intel.com >
Reviewed-by: Star Zeng <star.zeng@intel.com >
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com >
2016-10-27 11:10:57 +02:00
b643f29c51
MdeModulePkg/EbcDxe: rebase to ARRAY_SIZE()
...
Cc: Feng Tian <feng.tian@intel.com >
Cc: Star Zeng <star.zeng@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com >
Reviewed-by: Feng Tian <feng.tian@Intel.com >
Reviewed-by: Star Zeng <star.zeng@intel.com >
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com >
2016-10-27 11:10:57 +02:00
bce1d8a888
MdeModulePkg/DisplayEngineDxe: rebase to ARRAY_SIZE()
...
Cc: Dandan Bi <dandan.bi@intel.com >
Cc: Eric Dong <eric.dong@intel.com >
Cc: Feng Tian <feng.tian@intel.com >
Cc: Star Zeng <star.zeng@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com >
Reviewed-by: Feng Tian <feng.tian@Intel.com >
Reviewed-by: Star Zeng <star.zeng@intel.com >
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com >
2016-10-27 11:10:57 +02:00
1a5afd7127
MdeModulePkg/BdsDxe: rebase to ARRAY_SIZE()
...
Cc: Feng Tian <feng.tian@intel.com >
Cc: Ruiyu Ni <ruiyu.ni@intel.com >
Cc: Star Zeng <star.zeng@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com >
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com >
Reviewed-by: Feng Tian <feng.tian@Intel.com >
Reviewed-by: Star Zeng <star.zeng@intel.com >
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com >
2016-10-27 11:10:57 +02:00
ac1273090c
MdeModulePkg/Logo: rebase to ARRAY_SIZE()
...
Cc: Feng Tian <feng.tian@intel.com >
Cc: Ruiyu Ni <ruiyu.ni@intel.com >
Cc: Star Zeng <star.zeng@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com >
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com >
Reviewed-by: Feng Tian <feng.tian@Intel.com >
Reviewed-by: Star Zeng <star.zeng@intel.com >
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com >
2016-10-27 11:10:57 +02:00
fe69b39870
MdeModulePkg/VarCheckHiiLib: rebase to ARRAY_SIZE()
...
Cc: Feng Tian <feng.tian@intel.com >
Cc: Star Zeng <star.zeng@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com >
Reviewed-by: Feng Tian <feng.tian@Intel.com >
Reviewed-by: Star Zeng <star.zeng@intel.com >
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com >
2016-10-27 11:10:56 +02:00
f0209935ad
MdeModulePkg/UefiBootManagerLib: rebase to ARRAY_SIZE()
...
Cc: Feng Tian <feng.tian@intel.com >
Cc: Ruiyu Ni <ruiyu.ni@intel.com >
Cc: Star Zeng <star.zeng@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com >
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com >
Reviewed-by: Feng Tian <feng.tian@Intel.com >
Reviewed-by: Star Zeng <star.zeng@intel.com >
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com >
2016-10-27 11:10:56 +02:00
a031a53fa4
MdeModulePkg/BootManagerUiLib: rebase to ARRAY_SIZE()
...
Cc: Dandan Bi <dandan.bi@intel.com >
Cc: Eric Dong <eric.dong@intel.com >
Cc: Feng Tian <feng.tian@intel.com >
Cc: Star Zeng <star.zeng@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com >
Reviewed-by: Feng Tian <feng.tian@Intel.com >
Reviewed-by: Star Zeng <star.zeng@intel.com >
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com >
2016-10-27 11:10:56 +02:00
6eeeb28826
MdeModulePkg/BootMaintenanceManagerUiLib: rebase to ARRAY_SIZE()
...
Cc: Dandan Bi <dandan.bi@intel.com >
Cc: Eric Dong <eric.dong@intel.com >
Cc: Feng Tian <feng.tian@intel.com >
Cc: Star Zeng <star.zeng@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com >
Reviewed-by: Feng Tian <feng.tian@Intel.com >
Reviewed-by: Star Zeng <star.zeng@intel.com >
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com >
2016-10-27 11:10:56 +02:00
8368951f1b
MdeModulePkg/Core/PiSmmCore: rebase to ARRAY_SIZE()
...
Cc: Feng Tian <feng.tian@intel.com >
Cc: Michael D Kinney <michael.d.kinney@intel.com >
Cc: Star Zeng <star.zeng@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com >
Reviewed-by: Michael Kinney <michael.d.kinney@intel.com >
Reviewed-by: Feng Tian <feng.tian@Intel.com >
Reviewed-by: Star Zeng <star.zeng@intel.com >
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com >
2016-10-27 11:10:56 +02:00
ed998e06a4
MdeModulePkg/Core/Dxe: rebase to ARRAY_SIZE()
...
Cc: Feng Tian <feng.tian@intel.com >
Cc: Star Zeng <star.zeng@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com >
Reviewed-by: Feng Tian <feng.tian@Intel.com >
Reviewed-by: Star Zeng <star.zeng@intel.com >
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com >
2016-10-27 11:10:56 +02:00
60a2d24822
MdeModulePkg/UsbBusDxe: rebase to ARRAY_SIZE()
...
Cc: Feng Tian <feng.tian@intel.com >
Cc: Star Zeng <star.zeng@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com >
Reviewed-by: Feng Tian <feng.tian@Intel.com >
Reviewed-by: Star Zeng <star.zeng@intel.com >
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com >
2016-10-27 11:10:55 +02:00
5074e4069a
MdeModulePkg/PciHostBridgeDxe: rebase to ARRAY_SIZE()
...
Cc: Feng Tian <feng.tian@intel.com >
Cc: Ruiyu Ni <ruiyu.ni@intel.com >
Cc: Star Zeng <star.zeng@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com >
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com >
Reviewed-by: Feng Tian <feng.tian@Intel.com >
Reviewed-by: Star Zeng <star.zeng@intel.com >
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com >
2016-10-27 11:10:55 +02:00
0781e85f4e
MdeModulePkg/PciBusDxe: rebase to ARRAY_SIZE()
...
Cc: Feng Tian <feng.tian@intel.com >
Cc: Ruiyu Ni <ruiyu.ni@intel.com >
Cc: Star Zeng <star.zeng@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com >
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com >
Reviewed-by: Feng Tian <feng.tian@Intel.com >
Reviewed-by: Star Zeng <star.zeng@intel.com >
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com >
2016-10-27 11:10:55 +02:00
32223fd8ce
MdeModulePkg/MemoryProfileInfo: rebase to ARRAY_SIZE()
...
Cc: Feng Tian <feng.tian@intel.com >
Cc: Star Zeng <star.zeng@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com >
Reviewed-by: Feng Tian <feng.tian@Intel.com >
Reviewed-by: Star Zeng <star.zeng@intel.com >
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com >
2016-10-27 11:10:55 +02:00
8f04ef300d
MdeModulePkg/RegularExpressionDxe: remove module-local ARRAY_SIZE macro
...
Rely on the central macro definition from "MdePkg/Include/Base.h" instead.
Cc: Cecil Sheng <cecil.sheng@hpe.com >
Cc: Feng Tian <feng.tian@intel.com >
Cc: Star Zeng <star.zeng@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com >
Reviewed-by: Feng Tian <feng.tian@Intel.com >
Reviewed-by: Star Zeng <star.zeng@intel.com >
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com >
2016-10-27 10:50:09 +02:00
f6009a8238
MdeModulePkg/RegularExpressionDxe: guard the definition of ARRAY_SIZE
...
In one of the next patches, we'll introduce ARRAY_SIZE in
"MdePkg/Include/Base.h". In order to proceed in small steps, make the
module-local definition of ARRAY_SIZE conditional. This way the
introduction of the macro under MdePkg will silently switch this module
over (after which we can remove the module-local definition completely).
Cc: Cecil Sheng <cecil.sheng@hpe.com >
Cc: Feng Tian <feng.tian@intel.com >
Cc: Star Zeng <star.zeng@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com >
Reviewed-by: Feng Tian <feng.tian@Intel.com >
Reviewed-by: Star Zeng <star.zeng@intel.com >
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com >
2016-10-27 10:49:52 +02:00
0a18956d54
MdeModulePkg/Universal: Fix typos in comments
...
- stardard -> standard
- doule -> double
- defalut -> default
- Pacakge -> Package
- globa -> global
- responsiblity -> responsibility
- outputed -> outputted
- specifiecd -> specified
- Resuts -> Results
- the a -> a
- suported -> supported
- assocated -> associated
- TURE -> TRUE
- successfull -> successfully
- excute -> execute
- reseting -> resetting
- Retrive -> Retrieve
- funciton -> function
- paramter -> parameter
- dependecy -> dependency
- boundry -> boundary
- permenantly -> permanently
Cc: Feng Tian <feng.tian@intel.com >
Cc: Star Zeng <star.zeng@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com >
Reviewed-by: Feng Tian <feng.tian@intel.com >
Reviewed-by: Star Zeng <star.zeng@intel.com >
2016-10-27 09:11:19 +08:00
3b28e7448d
MdeModulePkg/Library: Fix typos in comments and variables
...
- servity -> severity
- TURE -> TRUE
- contiue -> continue
- Pepresentation -> Representation
- suported -> supported
- opints -> points
- sucessfully -> successfully
- hexidecimal -> hexadecimal
- Pacakge -> Package
- Libary -> Library
- successull -> successfully
- reseting -> resetting
- Retrive -> Retrieve
- dirver -> driver
- availible -> available
- chracter -> character
- seperator -> separator
Cc: Feng Tian <feng.tian@intel.com >
Cc: Star Zeng <star.zeng@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com >
Reviewed-by: Feng Tian <feng.tian@intel.com >
Reviewed-by: Star Zeng <star.zeng@intel.com >
2016-10-27 09:11:19 +08:00
86ac8fb256
MdeModulePkg/Include: Fix typos in comments
...
- opints -> points
- sucessfully -> successfully
- suported -> supported
- hexidecimal -> hexadecimal
- TURE -> TRUE
- servity -> severity
- Moudle -> Module
- contiue -> continue
- infomation -> information
- malformated -> malformatted
- Pepresentation -> Representation
- opeque -> opaque
- assocated -> associated
- Libary -> Library
- descrption -> description
- paramter -> parameter
- chracter -> character
Cc: Feng Tian <feng.tian@intel.com >
Cc: Star Zeng <star.zeng@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com >
Reviewed-by: Feng Tian <feng.tian@intel.com >
Reviewed-by: Star Zeng <star.zeng@intel.com >
2016-10-27 09:11:18 +08:00
6393d9c8e2
MdeModulePkg/Core: Fix typos in comments
...
- paramters -> parameters
- funciton -> function
- dependecy -> dependency
- evauated -> evaluated
- genric -> generic
- retore -> restore
- Protocl -> Protocol
- availible -> available
- elasped -> elapsed
- sarted -> started
- boundry -> boundary
- permenent -> permanent
- debuging -> debugging
- availble -> available
Cc: Feng Tian <feng.tian@intel.com >
Cc: Star Zeng <star.zeng@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com >
Reviewed-by: Feng Tian <feng.tian@intel.com >
Reviewed-by: Star Zeng <star.zeng@intel.com >
2016-10-27 09:11:17 +08:00
ed356b9e80
MdeModulePkg/Bus: Fix typos in comments
...
- TURE -> TRUE
- stoping -> stopping
- doule -> double
- Peroidic -> Periodic
- stardard -> standard
- a a -> a
- reseting -> resetting
- excute -> execute
- connectted -> connected
- Sumbit -> Submit
Cc: Feng Tian <feng.tian@intel.com >
Cc: Star Zeng <star.zeng@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com >
Reviewed-by: Feng Tian <feng.tian@intel.com >
Reviewed-by: Star Zeng <star.zeng@intel.com >
2016-10-27 09:11:16 +08:00
04b34efb40
MdeModulePkg: BootManagerMenuApp: Fix typos in comments
...
- chracter -> character
- lanaguag -> language
- proccessed -> processed
- optin -> option
Cc: Feng Tian <feng.tian@intel.com >
Cc: Star Zeng <star.zeng@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com >
Reviewed-by: Feng Tian <feng.tian@intel.com >
Reviewed-by: Star Zeng <star.zeng@intel.com >
2016-10-27 09:11:16 +08:00
1df81f6d14
MdeModulePkg/TerminalDxe: Handle more keys with TtyTerm
...
The TtyTerm terminal driver is missing support for sequences produced
by the page up, page down, insert, home, and end keys in some terimnal
emulators. Add them.
Tested under Ubuntu 16.04 using xterm 322-1ubuntu1, GNOME terminal
3.18.3-1ubuntu1, and XFCE terminal 0.6.3-2ubuntu1.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Kyle Roberts <kyroberts@sgi.com >
Signed-off-by: Brian Johnson <bjohnson@sgi.com >
Cc: Feng Tian <feng.tian@intel.com >
Cc: Star Zeng <star.zeng@intel.com >
Reviewed-by: Roy Franz <roy.franz@hpe.com >
Tested-by: Ryan Harkin <ryan.harkin@linaro.org >
Reviewed-by: Feng Tian <feng.tian@intel.com >
2016-10-27 09:11:15 +08:00
27e8042131
MdeModulePkg/TerminalDxe: Optimize TtyTerm cursor motion
...
For TtyTerm terminals, output a shorter escape sequence when possible
to move the cursor within the current line, and don't print any escape
sequence if the cursor is already at the correct position. This
removes extra cursor motion activity at the EFI shell prompt,
improving performance. It also makes it possible in many cases to
successfully use a terminal window which is taller than the driver's
mode setting (eg. 80x25.)
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Brian Johnson <bjohnson@sgi.com >
Cc: Feng Tian <feng.tian@intel.com >
Cc: Star Zeng <star.zeng@intel.com >
Tested-by: Ryan Harkin <ryan.harkin@linaro.org >
Reviewed-by: Feng Tian <feng.tian@intel.com >
2016-10-27 09:11:15 +08:00
851b044f0a
MdeModulePkg/TerminalDxe: Improve TtyTerm cursor position tracking
...
When we print the last character on a line, the terminal driver wraps
CursorRow/CursorColumn to the beginning of the next line. But the
terminal itself doesn't wrap its cursor until the next character is
printed. That throws off the driver's cursor position tracking.
So when we have printed the last character on a line, and are not in
the middle of outputing an escape sequence, synchronize the terminal
with the driver by outputing CR+LF. This matches the expected
behavior, and the behavior of the VGA console driver.
Only change the behavior of TtyTerm, not the other terminal types.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Brian Johnson <bjohnson@sgi.com >
Cc: Feng Tian <feng.tian@intel.com >
Cc: Star Zeng <star.zeng@intel.com >
Tested-by: Ryan Harkin <ryan.harkin@linaro.org >
Reviewed-by: Feng Tian <feng.tian@intel.com >
2016-10-27 09:11:14 +08:00
635d8ec31c
MdeModulePkg LoadFileOnFv2: Correct the parameter name in function comment
...
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming.gao@intel.com >
Reviewed-by: Feng Tian <feng.tian@intel.com >
2016-10-25 11:53:59 +08:00