75 Commits

Author SHA1 Message Date
PMheart
ea25e7ba7f Renamed certain macros to match XNU style more. 2019-02-07 23:10:44 +08:00
vit9696
1672d8fbe6 Add AppleMajorType to CPU_INFO 2019-02-07 15:46:45 +03:00
vit9696
8ea219ed68 Initial import of SMBIOS code from OC 2019-02-03 13:43:47 +03:00
vit9696
eb46e45000 Move AppleChunklist header to EfiPkg 2019-01-27 21:25:52 +03:00
vit9696
b13c2a493e Partially fix APFS recovery detection 2019-01-24 22:41:38 +03:00
vit9696
5e3dc3c6df Refactor OcAppleChunklistLib and fix out of bounds memory access in it 2019-01-20 22:40:42 +03:00
vit9696
8e252e9831 1. Redesign OcFileLib (and drop currently unneeded interfaces for the time being)
2. Add OcDescribeBootEntry to OcAppleBootPolicyLib to parse boot entry name
2019-01-20 20:14:00 +03:00
Goldfish64
29dbbcc313 Add OcAppleChunklistLib 2019-01-19 15:06:38 -06:00
vit9696
a471bd6c61 Late touches on OcMachoLib 2019-01-17 10:01:26 +03:00
vit9696
caabf0b2ab Continue fixing and refactoring OcMachoLib 2019-01-16 17:46:10 +03:00
vit9696
aca4a620ac Fix sanity of symbol retrieval code 2019-01-16 13:15:22 +03:00
vit9696
69f441b5ec Restore OcMachoLib interfaces for convenience resons 2019-01-15 23:34:01 +03:00
vit9696
a43cb1386e Start cleaning up OcMachoLib 2019-01-15 18:23:29 +03:00
vit9696
4c956d41d7 Better document OcXmlLib 2019-01-13 09:15:12 +03:00
Download-Fritz
793b78d103 OcMachoLib: Revise several function prorotypes and checks as part of security considerations. 2019-01-12 22:57:57 +01:00
vit9696
f26c18d655 1. Cleanup OcAppleBootPolicyLib
2. Remove CupertinoAppleBootPolicyLib
3. Add UninstallAllProtocolInterfaces
2019-01-12 23:54:01 +03:00
vit9696
95f96695b4 Initial import of OcAppleBootPolicyLib 2019-01-11 08:25:32 +03:00
vit9696
bf86433ea8 Add debug scripts and fix NOOPT build 2019-01-10 18:31:28 +03:00
Download-Fritz
dde6882ba3 OcMachoLib: Drop inconvenient CONST qualifiers. 2019-01-05 15:37:14 +01:00
Download-Fritz
18c8cf5435 OcXmlLib: Decorate XmlEasyChild with EFIAPI due to VA usage. 2019-01-05 15:29:01 +01:00
vit9696
4cb52a21aa Implement static assertion support 2019-01-03 23:53:20 +03:00
Download-Fritz
62c681dd9f OcMachoLib: Fix function prototype from last commit. 2018-11-10 10:57:46 +01:00
Download-Fritz
51c63ec135 OcMachoLib: Introduce MachoSymbolGetFileOffset64() API. 2018-11-10 10:53:11 +01:00
Download-Fritz
619e30c5ba OcMachoLib: Retrieve symbol type by name. 2018-11-09 18:50:20 +01:00
Download-Fritz
d924a62b4e OcStringLib: Convert to BASE instance. 2018-11-09 18:49:30 +01:00
Download-Fritz
28df0053bf PcStringLib: Introduce string literal macros for length and size. 2018-11-07 14:20:19 +01:00
Download-Fritz
97da06f663 OcMachoLib: use UINT32 for FileSize and all offsets. 2018-11-06 09:08:46 +01:00
vit9696
475f0176c4 Extend OcDevicePathLib and fix memory leaks 2018-11-05 12:06:51 +03:00
vit9696
237a78791d Add fallback onscreen printing to OcDebugLogLib and switch to it 2018-11-05 02:05:25 +03:00
Download-Fritz
ff6a9b83eb OcMachoLib: Ensure string index sanity when retrieving an indirect symbol's name. 2018-11-04 10:30:33 +01:00
Download-Fritz
524732e0ef OcMachoLib: Use UINT32 variables to refer to UINT32 Mach-O structure data. 2018-11-04 09:14:20 +01:00
Download-Fritz
4241912574 OcMachoLib: Publish updated Context struct to support static allocations. 2018-11-04 09:06:50 +01:00
Download-Fritz
df54805a92 OcMachoLib: Always return Mach-O memory as CONST. 2018-11-04 08:42:04 +01:00
Download-Fritz
8ddbd9fdd4 OcMachoLib: Introduce MachoGetFileSize() API. 2018-11-04 08:21:17 +01:00
Download-Fritz
3b9ad05f71 OcMachoLib: Generically take VOID * for file data in Context init. 2018-11-04 08:19:27 +01:00
Download-Fritz
edbfcdaecb OcMachoLib: Reorder MachoInitializeContext() arguments to match OOP. 2018-11-03 19:45:51 +01:00
Download-Fritz
16376f2ee9 Merge branch 'master' of github.com:acidanthera/OcSupportPkg 2018-10-31 07:21:51 +01:00
vit9696
c97890a5f3 Implement alignment checking macros within OcGuardLib (formerly OcOverflowLib) 2018-10-31 00:45:36 +03:00
vit9696
5bd4aa6091 Move NullTextOutput to OcMiscLib 2018-10-28 18:09:29 +03:00
vit9696
5284879b38 Initial support for parsing serialised objects 2018-10-26 22:24:56 +03:00
vit9696
97d68a6b31 Fix OcTimerLib interface to be compatible with TimerLib.h 2018-10-24 18:04:33 +03:00
Download-Fritz
2cf8e08118 OcMachoLib: Introduce MachoGetMachHeader64(). 2018-10-21 21:57:35 +02:00
Download-Fritz
c1fe60e115 OcMachoLib: Remove orphaned function declaration. 2018-10-21 21:54:46 +02:00
Download-Fritz
c3d4298326 OcMachoLib: Introduce symbol name retrieval functions. 2018-10-21 21:54:31 +02:00
Download-Fritz
92bbf6d606 OcMachoLib: Use incomplete type completed within the library as Context. 2018-10-21 17:19:40 +02:00
Download-Fritz
563e61ebcf OcMachoLib: Import MachoIsSymbolValueSane64(). 2018-10-21 15:10:56 +02:00
Download-Fritz
d6636d80ba OcMachoLib: Return non-CONST pointers. 2018-10-21 15:08:23 +02:00
Download-Fritz
4265923609 OcMachoLib: No longer expose GetExternalRelocationByOffset(). 2018-10-21 14:55:01 +02:00
Download-Fritz
bcdddbd9ae OcMachoLib: Update MachoGetMetaclassSymbolFromSmcpSymbol64() to use the new public APIs. Removes MachoGetCxxSymbolByExternRelocation64(). 2018-10-21 14:53:18 +02:00
Download-Fritz
48ea3b19f1 OcMachoLib: Get C++ symbols via relocations only from the extern ones. 2018-10-21 14:39:04 +02:00