47 Commits

Author SHA1 Message Date
Savva Mitrofanov
b2d438d6f3 Switch OcGuardLib to BaseOverflowLib 2023-04-13 13:16:14 +06:00
Mike Beaton
abe28e829f OcConsoleLib: Add GopBurstMode quirk
OcMemoryLib: Add additional PAT and MTRR caching support
2023-03-28 07:18:14 +01:00
John Davis
44cc14d307 OcMemoryLib: Fix typo 2022-08-20 23:39:34 -05:00
PMheart
228f8ca1fb Codestyle: Apply codestyle changes with Uncrustify 2022-04-25 14:51:15 +02:00
Alex James
c466fbc0f0
OcMemoryLib: Avoid rebuilding attributes when MAT is empty (#304)
Some firmware implementations may provide an empty Memory Attributes
Table (NumberOfEntries is zero). Avoid calling OcUpdateDescriptors in
this case, as it will lead to division by zero.

This resolves boot failures due to #DE on XPS 15 9560 when Secure Boot
is enabled.
2021-12-05 12:37:11 +03:00
vit9696
3aa6bc3aaa OcMemoryLib: Added support for R/O page tables in SetupVirtualMap
references acidanthera/bugtracker#719
references acidanthera/bugtracker#1486
2021-02-18 08:15:35 +03:00
vit9696
6d0c49e84c OcMemoryLib: Allow overriding page allocator for allocate from top 2020-11-08 20:11:43 +03:00
dakanji
d9cc30567c
Library: Firmware pluralisation fixes in the code (#136) 2020-10-13 01:42:59 +03:00
coolhaxor
fdfdc7e0d8 OcMemoryLib: Implement Type for ReservedMemory 2020-09-23 22:30:33 +03:00
Goldfish64
7741c09d64 OcAcpiLib: Unlock tables located in low memory
closes acidanthera/bugtracker#1085
2020-08-20 13:07:34 -05:00
vit9696
399f05c361
OcMemoryLib: Fix MAT processing for SyncRuntimePermissions (#100)
closes acidanthera/bugtracker#1096
2020-08-16 00:33:30 +03:00
Goldfish64
8ebad05118 OcMemoryLib: Add LegacyRegion2Protocol support 2020-08-06 19:01:01 -05:00
vit9696
50abfc2f28 OcMemoryLib: Fix typo 2020-07-17 02:39:44 +03:00
vit9696
a9cbcd9ae8 Build: Drop EfiPkg 2020-05-17 14:28:41 +03:00
vit9696
7aedbf3c60 OcMemoryLib: Actually fix OcExpandAttributesByMap 2020-04-04 23:18:05 +03:00
vit9696
4e18dfc7dd OcMemoryLib: Try fixing unused BIN handling in OcExpandAttributesByMap 2020-04-04 21:49:06 +03:00
vit9696
6b822bc72c OcMemoryLib: Handle appending entries from MMAP to MAT end 2020-04-04 19:59:13 +03:00
vit9696
dfe685d80b OcMemoryLib: Implement attribute expansion via mmap 2020-04-04 18:10:11 +03:00
vit9696
ab57d6f1b8 OcMemoryLib: Implement MAT deduplication and watch out on recursion 2020-04-04 16:56:05 +03:00
vit9696
2d824fbcfa OcMemoryLib: Fix corruption after ShrinkMemoryMap and add OcDeduplicateDescriptors 2020-04-04 16:21:11 +03:00
vit9696
1f8a079052 OcAppleBootCompatLib: Use the original GetMemoryMap for VM pool 2020-04-04 00:50:42 +03:00
vit9696
ee72a8b334 OcMemoryLib: Improve memory shrinking to process RT areas 2020-04-03 22:26:52 +03:00
vit9696
c5797ab44c OcMemoryLib: Fix descriptor splitting and improve printing 2020-04-03 22:10:37 +03:00
vit9696
8c95b2467f OcMemoryLib: Add memory sorting and improve memory printing 2020-04-03 20:54:51 +03:00
vit9696
e673e7b685 OcMemoryLib: Fix type determination 2020-04-03 20:16:02 +03:00
vit9696
f323be45e2 MmapDump: Initial version of MMAP dumping utility 2020-04-03 18:58:54 +03:00
vit9696
cc98ac0162 OcMemoryLib: Fix casting issues
closes acidanthera/bugtracker#798
2020-04-03 17:35:47 +03:00
vit9696
f30c1c651f OcMemoryLib: Add memory map splitting routines 2020-04-03 14:48:57 +03:00
vit9696
98f17b671d OcMemoryLib: Add counting split descriptors 2020-04-03 02:30:24 +03:00
vit9696
96b509564a OcMemoryLib: Fix type assignment 2020-04-03 00:58:41 +03:00
vit9696
5fcf850ac1 OcMemoryLib: Introduce attribute manipulation code 2020-04-02 23:48:08 +03:00
vit9696
fbd6191436 OcMemoryLib: Implement memory attribute printing 2020-03-29 16:40:55 +03:00
vit9696
97585cb6c2 Build: Remove OcSupportPkg usage 2020-02-29 17:39:41 +03:00
vit9696
c424c685d2 OcMemoryLib: Improve portability, thx @nms42
closes acidanthera/bugtracker#642
2020-01-10 11:38:21 +03:00
vit9696
83eebf2a65 OcMemoryLib: Improve portability, thx @nms42
closes acidanthera/bugtracker#643
2020-01-10 11:36:50 +03:00
vit9696
97d375fdd5 OcMemoryLib: Silence compiler warnings
closes acidanthera/bugtracker#639
2020-01-09 11:52:07 +03:00
vit9696
af3b167177 OcAppleBootCompatLib: Added free memory debugging 2019-11-04 20:10:15 +03:00
Download-Fritz
21371a5ffb OcMemoryLib: Update AllocatePagesFromTop's spec and conformance 2019-11-03 11:58:20 +01:00
vit9696
601d11c1de OcMemoryLib: Fix GetCurrentMemoryMapAlloc implementation 2019-11-03 13:14:20 +03:00
Download-Fritz
156cb7c586 Various type and cast fixes 2019-11-02 23:16:33 +01:00
vit9696
40b43134e3 OcAppleBootCompatLib: Implement custom slide support 2019-08-05 23:46:28 +03:00
vit9696
2e6030e5a3 OcAppleBootCompatLib: Initial set of fixes 2019-08-05 01:22:56 +03:00
vit9696
7eca596604 OcAppleBootCompatLib: Initial version 2019-08-04 21:27:44 +03:00
vit9696
71f5493c41 OcMemoryLib: Import UmmMalloc allocator 2019-07-26 22:24:43 +03:00
vit9696
9c0da8f57f OcMemoryLib: Add virtual memory support 2019-07-26 19:43:35 +03:00
vit9696
bed4ffe17c OcMemoryLib: Add memory map functions 2019-07-21 23:18:36 +03:00
vit9696
f4fceb7a91 OcMemoryLib: Initial version 2019-07-16 20:21:43 +03:00