Sergii Dmytruk
6866e23aa2
MdeModulePkg/Application/UiApp/FrontPage.c: get memory from Table 17
...
As a fallback if Table 19 is missing.
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com >
2025-03-10 20:16:25 +02:00
Michał Kopeć
cbd675d7a9
UiApp: remind user to save settings on exit
...
Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com >
2025-03-10 20:16:25 +02:00
Sergii Dmytruk
7ffeb553c8
MdeModulePkg/Application/UiApp/FrontPage.c: display memory speed
...
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com >
2025-03-10 20:16:22 +02:00
Michał Żygowski
21002bb7e6
MdeModulePkg/Application/BootManagerMenuApp/BootManagerMenu.c: add arrow for selected item and better contrast
...
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com >
2025-03-10 20:16:20 +02:00
Mike Maslenkin
1b283cf437
MdeModulePkg/UiApp: fix HiiOpCodeHandle leak
...
Signed-off-by: Mike Maslenkin <mike.maslenkin@gmail.com >
2024-12-06 17:13:17 +00:00
Michael Kubacki
6b4dd3625b
MdeModulePkg/SmiHandlerProfileInfo: Declare correct XML encoding
...
The code prints wide strings, so the content should be "utf-16"
rather than "utf-8".
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com >
2024-07-17 01:06:00 +00:00
Michael D Kinney
66494e5324
MdeModulePkg/CapsuleApp: Add EFIAPI to CompareFileNameInAlphabet()
...
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4446
CompareFileNameInAlphabet() is passed as a function pointer
parameter and typecast to type SORT_COMPARE that is declared
with EFIAPI. Add EFIAPI to CompareFileNameInAlphabet() to match
SORT_COMPARE type.
Cc: Jian J Wang <jian.j.wang@intel.com >
Cc: Liming Gao <gaoliming@byosoft.com.cn >
Cc: Guomin Jiang <guomin.jiang@intel.com >
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com >
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn >
2023-05-06 17:48:49 +00:00
Konstantin Aladyshev
64a20bea97
MdeModulePkg/DumpDynPcd: Remove unsupported format specifiers
...
Some print statements use format specifiers like %N/%H/%E/%B that are
only supported in the shell print functions. In the ordinary 'Print'
function they are just displayed as letters N/H/E/B.
Remove these unsupported format specifiers from the 'Print' statements
to fix the issue.
Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com >
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn >
2022-08-17 07:45:58 +00:00
Matt DeVillier
96b8b5fd10
MdeModulePkg/UiApp: Fix spelling of 'FRONTPAGE'
...
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com >
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn >
2022-02-07 08:03:32 +00:00
Michael Kubacki
1436aea4d5
MdeModulePkg: Apply uncrustify changes
...
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737
Apply uncrustify changes to .c/.h files in the MdeModulePkg package
Cc: Andrew Fish <afish@apple.com >
Cc: Leif Lindholm <leif@nuviainc.com >
Cc: Michael D Kinney <michael.d.kinney@intel.com >
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com >
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn >
2021-12-07 17:24:28 +00:00
Michael D Kinney
db52c7f755
MdeModulePkg: Change complex DEBUG_CODE() to DEBUG_CODE_BEGIN/END()
...
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3767
Update use of DEBUG_CODE(Expression) if Expression is a complex code
block with if/while/for/case statements that use {}.
Cc: Andrew Fish <afish@apple.com >
Cc: Leif Lindholm <leif@nuviainc.com >
Cc: Michael Kubacki <michael.kubacki@microsoft.com >
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com >
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn >
2021-12-07 17:24:28 +00:00
Michael D Kinney
87000d7708
MdeModulePkg: Change use of EFI_D_* to DEBUG_*
...
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3739
Update all use of EFI_D_* defines in DEBUG() macros to DEBUG_* defines.
Cc: Andrew Fish <afish@apple.com >
Cc: Leif Lindholm <leif@nuviainc.com >
Cc: Michael Kubacki <michael.kubacki@microsoft.com >
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com >
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn >
2021-12-07 17:24:28 +00:00
Zhichao Gao
f57040b038
MdeModulePkg/BootManagerMenuApp: Limit string drawing within one line
...
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3590
Limit the draw box always within the screen's column and row.
Limit the string drawing within one line.
For the incompleted string the last 3 characters in one line would
be replaced with "...".
Cc: Jian J Wang <jian.j.wang@intel.com >
Cc: Liming Gao <gaoliming@byosoft.com.cn >
Cc: Ray Ni <ray.ni@intel.com >
Signed-off-by: Zhichao Gao <zhichao.gao@intel.com >
Reviewed-by: Ray Ni <ray.ni@intel.com >
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn >
2021-09-29 09:38:58 +08:00
Seonghyun Park
3445058aea
MdeModulePkg/CapsuleApp: Fix typo in error message
...
Fix typo in error message in CapsuleApp.
Signed-off-by: Seonghyun Park <shpark1@protonmail.com >
Reviewed-by: Hao A Wu <hao.a.wu@intel.com >
2021-08-02 01:56:19 +00:00
Michael D Kinney
a3741780fe
MdeModulePkg/CapsuleApp: Fix spelling mistake
...
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2356
Cc: Hao A Wu <hao.a.wu@intel.com >
Cc: Liming Gao <liming.gao@intel.com >
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com >
Reviewed-by: Guomin Jiang <guomin.jiang@intel.com >
Reviewed-by: Hao A Wu <hao.a.wu@intel.com >
2020-08-07 18:53:01 +00:00
Abdul Lateef Attar
9b52b06f96
MdeModulePkg: Sets the Cursor to selected BootOption.
...
Its been observed that in MenuManagerMenuApp when user
selects a different BootOption using Up/Down key, the
current Cursor position is not chaning.
Still points to the old BootOption.
This changes first dispalys/redraws the old BootOption
followed by new BootOption. Doing so will make current
cursor pointing to the user selected BootOption.
Signed-off-by: Abdul Lateef Attar <abdul@marvell.com >
Reviewed-by: Dandan Bi <dandan.bi@intel.com >
2020-06-10 03:26:43 +00:00
Oleksiy Yakovlev
5a4b24b89a
MdeModulePkg: Add FMP Capsule Image Header extension
...
Add bitmask to structure which gives a binary-inspectable mechanism to
determine if a capsule contains an authentication section or depex section.
(UEFI 2.8 errata a, mantis 2026)
Signed-off-by: Oleksiy Yakovlev <oleksiyy@ami.com >
Signed-off-by: Wei6 Xu <wei6.xu@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
2020-05-20 14:49:13 +00:00
Ard Biesheuvel
789ea79e94
MdeModulePkg/VariableInfo: switch to MM communicate 2 protocol
...
Switch to the new MM communicate 2 protocol which supports both
traditional and standalone MM.
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@arm.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
Reviewed-by: Sami Mujawar <sami.mujawar@arm.com >
2020-05-12 19:23:44 +00:00
Guomin Jiang
d6f99b2ac4
MdeModulePkg/SmiHandlerProfileInfo: Overflowed Array Index
...
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2272
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2287
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2288
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2289
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2290
Index should be off-by one than size of array, so when check
array, the max index should less than size of array.
Cc: Jian J Wang <jian.j.wang@intel.com >
Cc: Hao A Wu <hao.a.wu@intel.com >
Cc: Eric Dong <eric.dong@intel.com >
Cc: Ray Ni <ray.ni@intel.com >
Signed-off-by: Guomin Jiang <guomin.jiang@intel.com >
Reviewed-by: Jian J Wang <jian.j.wang@intel.com >
2020-04-08 05:22:27 +00:00
Antoine Coeur
02d7b79771
MdeModulePkg/Application: Fix various typos
...
Fix various typos in documentation, comments and debug strings.
Cc: Jian J Wang <jian.j.wang@intel.com >
Cc: Hao A Wu <hao.a.wu@intel.com >
Signed-off-by: Antoine Coeur <coeur@gmx.fr >
Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com >
Reviewed-by: Hao A Wu <hao.a.wu@intel.com >
Signed-off-by: Philippe Mathieu-Daude <philmd@redhat.com >
Message-Id: <20200207010831.9046-11-philmd@redhat.com >
2020-02-10 22:30:07 +00:00
Antoine Coeur
7636747f44
MdeModulePkg/Application: Improve French translation
...
Use correct French.
Cc: Jian J Wang <jian.j.wang@intel.com >
Cc: Hao A Wu <hao.a.wu@intel.com >
Acked-by: Hao A Wu <hao.a.wu@intel.com >
Signed-off-by: Antoine Coeur <coeur@gmx.fr >
Signed-off-by: Philippe Mathieu-Daude <philmd@redhat.com >
Message-Id: <20200207010831.9046-10-philmd@redhat.com >
2020-02-10 22:30:07 +00:00
Xu, Wei6
d9c919744b
MdeModulePkg/CapsuleApp: Enhance CapsuleApp for Fmp Capsule Dependency
...
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2421
1. Enhance "CapsuleApp -P" to output the depex expression op-codes in
the EFI_FIRMWARE_IMAGE_DESCRIPTOR.
2. Enhance Last Attempt Status String with a new string to describe the
error LAST_ATTEMPT_STATUS_ERROR_UNSATISFIED_DEPENDENCIES.
Cc: Michael D Kinney <michael.d.kinney@intel.com >
Cc: Liming Gao <liming.gao@intel.com >
Signed-off-by: Wei6 Xu <wei6.xu@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
2020-01-19 02:47:47 +00:00
Michael Kubacki
1747ab6c1c
MdeModulePkg VariableInfo: Always consider RT DXE and SMM stats
...
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2220
The current VariableInfo application only checks for variable
statistics from SMM if the variable information entries are
not present in the UEFI System Configuration table as published
by the DXE UEFI variable driver (VariableRuntimeDxe).
This change first checks for variable information entries in the
UEFI System Configuration but always checks for entries in SMM
as well. If the SMM variable driver is not present, an instance of
EFI_SMM_VARIABLE_PROTOCOL will not be found and the search for
SMM variable statistics will be aborted (an SW SMI to get variable
statistics will not be triggered).
In the case variable statistics are provided by both a Runtime DXE
driver (e.g. VariableSmmRuntimeDxe) and a SMM driver (VariableSmm),
this change will clearly identify statistics from each respective
driver.
Cc: Dandan Bi <dandan.bi@intel.com >
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org >
Cc: Eric Dong <eric.dong@intel.com >
Cc: Laszlo Ersek <lersek@redhat.com >
Cc: Liming Gao <liming.gao@intel.com >
Cc: Michael D Kinney <michael.d.kinney@intel.com >
Cc: Ray Ni <ray.ni@intel.com >
Cc: Jian J Wang <jian.j.wang@intel.com >
Cc: Hao A Wu <hao.a.wu@intel.com >
Cc: Jiewen Yao <jiewen.yao@intel.com >
Signed-off-by: Michael Kubacki <michael.a.kubacki@intel.com >
Reviewed-by: Jian J Wang <jian.j.wang@intel.com >
Acked-by: Hao A Wu <hao.a.wu@intel.com >
2019-11-05 21:55:54 -08:00
Leif Lindholm
ba39402f34
MdeModulePkg: strip trailing whitespace
...
Cc: Jian J Wang <jian.j.wang@intel.com >
Cc: Hao A Wu <hao.a.wu@intel.com >
Cc: Dandan Bi <dandan.bi@intel.com >
Cc: Liming Gao <liming.gao@intel.com >
Cc: Eric Dong <eric.dong@intel.com >
Cc: Zhichao Gao <zhichao.gao@intel.com >
Cc: Ray Ni <ray.ni@intel.com >
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org >
Reviewed-by: Hao A Wu <hao.a.wu@intel.com >
2019-10-04 11:18:32 +01:00
Xu, Wei6
34651e7d76
MdeModulePkg/CapsuleApp: Improve comparisons in CapsuleOnDisk.c
...
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=2028
Non-Boolean comparisons should use a compare operator
(==, !=, >, < >=, <=).
Signed-off-by: Wei6 Xu <wei6.xu@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
Reviewed-by: Hao A Wu <hao.a.wu@intel.com >
2019-08-15 09:10:13 +08:00