57 Commits

Author SHA1 Message Date
Goldfish64
b2e55152ea OcFileLib: Implement AllocateCopyFileData 2020-07-25 21:26:02 -05:00
Goldfish64
cb4d43e2f7 OcFileLib: Consolidate to use GetFileInfo 2020-07-23 18:17:14 -05:00
Goldfish64
96f488a17c OcFileLib: Fix typo 2020-07-17 23:23:25 -05:00
Goldfish64
592d2acf6b OcFileLib: Provide workaround for buggy drivers 2020-07-15 20:16:07 -05:00
vit9696
c7cfb84e48 OcFileLib: Reset position to 0 after reading
This resolves the crash in EfiBoot due to returning unsupported kernel
image as is from OcKernelFileOpen with position set to non-0 value in
10.4. Thx Goldfish for the discovery!
2020-06-29 07:08:32 +03:00
vit9696
e6bec3ae80 Debug: Fix some log tags 2020-05-17 16:53:02 +03:00
vit9696
a9cbcd9ae8 Build: Drop EfiPkg 2020-05-17 14:28:41 +03:00
vit9696
796765ca7c
OcBootManagementLib: Rework boot management (#42)
Co-authored-by: vit9696 <vit9696@users.noreply.github.com>
Co-authored-by: Download-Fritz <download-fritz@outlook.com>
2020-05-05 19:45:32 +03:00
vit9696
8c4e41ec9a OcFileLib: Verify that Media is not NULL 2020-04-12 08:42:51 +03:00
vit9696
9f35d80c1e OcFileLib: Get rid of Disk I/O as it is broken on several systems 2020-04-11 21:55:17 +03:00
Download-Fritz
722e47c80a OcFileLib: Add missing error condition 2020-04-07 20:05:21 +02:00
Download-Fritz
079070a29f Fix several issues (Coverity, Clang) 2020-04-07 17:44:21 +02:00
vit9696
4795e55e01 OcFileLib: Fix parameter order for alignment check 2020-03-07 19:20:41 +03:00
vit9696
86d9e4884f OcFileLib: Support Disk I/O that cannot read arbitrary chunks 2020-03-07 13:58:12 +03:00
vit9696
c50c664b8c OcFileLib: Add more logging on Disk I/O failure 2020-03-06 09:25:12 +03:00
vit9696
97585cb6c2 Build: Remove OcSupportPkg usage 2020-02-29 17:39:41 +03:00
vit9696
b0fd7de372 OcBootManagement: Implement Apple BootPicker support 2020-02-09 14:31:32 +03:00
vit9696
907f225f1f OcFileLib: Make SafeOpenFile warning debug only 2020-02-06 01:20:11 +03:00
vit9696
71c7c34c5a OcFileLib: Implement SafeFileOpen 2020-02-06 00:39:44 +03:00
vit9696
1560cec90c OcGuardLib: Switch to edk2-stable201911 2019-11-29 17:32:17 +03:00
Download-Fritz
c588365359 OcFileLib: Import FS connect quirk API 2019-11-06 19:47:19 +01:00
vit9696
ad640248f6 OcGuardLib: Drop global/inline static assert separation 2019-08-18 19:24:01 +03:00
vit9696
598a106c22 OcDebugLogLib: Add hex dumping 2019-07-21 12:25:51 +03:00
Download-Fritz
bcdf51597f OcFileLib: Locate Disk I/O type agnostic of Block I/O 2019-06-19 13:58:34 +02:00
Download-Fritz
dbee02e35f OcFileLib: Return ESP Device Path size 2019-06-18 20:34:58 +02:00
Download-Fritz
2727a4fecb OcFileLib: Exclude DP end node when checking prefixing 2019-06-18 19:32:16 +02:00
Download-Fritz
1981d037c1 OcFileLib: Correct partition index 2019-06-18 11:15:04 +02:00
Download-Fritz
b2f858b7e5 [WIP] Add more logging 2019-06-17 09:36:27 +02:00
Download-Fritz
4d42d79837 OcFileLiv: Add APIs to locate partition's disk and disk's ESP 2019-06-15 22:01:52 +02:00
Download-Fritz
e4ccb06cb6 OcFileLib: Declare missing protocol dependencies 2019-06-14 19:09:53 +02:00
Download-Fritz
63e85a8b13 OcFileLib: Import GetGptPartitionEntry API 2019-06-12 22:14:35 +02:00
Download-Fritz
e452579f7d Remove references to IntelFrameworkPkg 2019-05-11 12:28:48 +02:00
Download-Fritz
0505fabd26 OcFileLib: Import LocateFileSystemByGuid API 2019-04-28 22:16:55 +02:00
Download-Fritz
37abca5a73 OcDevicePathLib: Deprecate DevicePathToText function 2019-04-28 20:27:44 +02:00
Download-Fritz
35e675fd96 OcAppleDiskImageLib and OcFileLib: Add missing OcDevicePathLib dependency 2019-04-22 08:29:22 +02:00
vit9696
1de86ce7bf OcFileLib: Implement incompatible trailing slash hack for older firmwares 2019-04-20 23:53:46 +03:00
vit9696
a07f215d06 OcAcpiLib: Fix inaccurate multiple table dropping 2019-04-19 00:54:39 +03:00
vit9696
534403a8c8 OcStorageLib: Add more debug prints 2019-04-18 22:58:37 +03:00
vit9696
5591a6cedf OcFileLib: Remove unused variable 2019-04-12 16:08:30 +03:00
vit9696
8c6767470c OcBootManagementLib: Sanitize boot entry names 2019-04-12 15:12:16 +03:00
vit9696
af88620a06 OcTemplateLib: More warning fixes 2019-04-09 12:28:43 +03:00
vit9696
aeb2b324fe OcBootManagementLib: Add support for detecting bootcamp 2019-04-06 13:45:32 +03:00
vit9696
95a4ec8065 OcFileLib: Should still free the original label 2019-04-06 12:45:01 +03:00
vit9696
4ef858418f OcFileLib: Reconsider volume label sanity checking
The bug appears to have been long fixed and does not exist in modern
HFS Plus drivers.
2019-04-06 12:42:56 +03:00
vit9696
e9d4226508 OcFileLib: Update volume label reading comment 2019-04-05 14:19:27 +03:00
vit9696
4778972507 OcFileLib: Ensure that non-null terminated label is handled properly 2019-04-05 13:20:36 +03:00
vit9696
c231ec46fa OcStorageLib: Initial implementation 2019-04-04 16:11:36 +03:00
vit9696
492720e7eb OcFileLib: Support locating image file system 2019-04-03 23:14:12 +03:00
vit9696
4314cec094 OcFileLib: Implement file writing functionality based on CrScreenshotDxe from LongSoft 2019-03-28 18:33:41 +03:00
vit9696
92aa15f02a Report valid ModificationTime in prelinked hook in KernelTest
This is important for 10.9, where boot.efi checks that the ModificationTime
matches either /S/L/E or /mach_kernel (whichever is newer).
2019-03-17 16:56:10 +03:00