48 Commits

Author SHA1 Message Date
Goldfish64
bf6e54da6c OcSmbiosPatch: Fix incorrect cast for max memory capacity
Closes https://github.com/acidanthera/bugtracker/issues/1383
2020-12-21 12:15:31 -06:00
John Davis
bf043cae2e
Custom memory properties (#139)
* OcSmbiosLib: Implement custom memory configurations

* OcSmbiosLib: Fix previous commit

* OcSmbiosLib: Change to 0-based indexes

* Docs: Update manual and sample configs
2020-10-17 17:33:37 -05:00
John Davis
a380c5d840
OcSmbiosLib: Added support for multiple memory array tables (#134) 2020-10-13 01:43:38 +03:00
Goldfish64
6ca34fe0c2 OcSmbiosLib: Provide fallbacks for NULL memory SMBIOS strings 2020-10-10 09:27:41 -05:00
John Davis
818f9e3f57
32-bit kernel switching support (#104)
* OcMacInfoLib: Add 64-bit model compatibility function

* OcMacInfoLib: Fix previous commit

* OpenCorePlatform: Store current SMBIOS platform

* OpenCorePlatform: Fix variable

* OpenCoreKernel: Implement 32-bit kernel switching

* OpenCoreKernel: Force 32-bit on EFI32

* OpenCoreKernel: Fix previous commit
2020-08-21 22:31:19 -05: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
82e8f5efb9 OcSmbiosLib: Fixed Custom UpdateSMBIOSMode modifying SMBIOSv3 table 2020-04-09 20:49:42 +03:00
vit9696
8f0b7fc7bd OcSmbiosLib: Add support for exposing OEM info 2020-01-25 12:22:19 +03:00
vit9696
b3cd2990ba OcSmbiosLib: Improve portability
closes acidanthera/bugtracker#641
2020-01-10 11:41:08 +03:00
vit9696
7d2f5c10aa OcSmbiosLib: Fixed SMBIOS Type4 External Clock values 2020-01-04 22:43:03 +03:00
vit9696
1560cec90c OcGuardLib: Switch to edk2-stable201911 2019-11-29 17:32:17 +03:00
Download-Fritz
156cb7c586 Various type and cast fixes 2019-11-02 23:16:33 +01:00
vit9696
ad640248f6 OcGuardLib: Drop global/inline static assert separation 2019-08-18 19:24:01 +03:00
vit9696
f4fceb7a91 OcMemoryLib: Initial version 2019-07-16 20:21:43 +03:00
vit9696
adc817e929 OcSmbiosLib: Import SmbiosGetSmcVersion for SMC version parsing 2019-05-19 09:08:51 +03:00
vit9696
ba4eda9ae5 OcSmbiosLib: Support setting SMBIOS SMC table 2019-05-19 08:46:18 +03:00
vit9696
a331950a4a OcSmbiosLib: Support adding table 133 type 2019-05-19 01:33:15 +03:00
vit9696
28b76c3df7 OcSmbiosLib: Debugging cleanup and Auto mode removal 2019-05-13 22:00:33 +03:00
vit9696
0ea633ef4c OcDevicePathLib: Implement AbsoluteDevicePath 2019-04-10 13:46:19 +03:00
vit9696
7ce80ee212 OcSmbiosLib: Fix compiler warnings 2019-04-08 16:28:25 +03:00
Download-Fritz
faf7976d33 Retire OcProtocolLib, move UninstallAllProtocols function to OcMiscLib 2019-04-06 13:09:13 +02:00
vit9696
dfe7f8f5d4 analysis: Fix warnings 2019-04-03 06:37:38 +03:00
vit9696
35222181d9 Unify SMBIOS fields and fix user test compilation 2019-03-10 13:11:37 +03:00
Download-Fritz
b6c1d6839d Remove Macros.h 2019-03-09 17:39:48 +01:00
Download-Fritz
9c37d9640f OcVariableLib: Remove from the tree 2019-03-09 17:37:30 +01:00
Download-Fritz
8e335e9c88 Replace BITFIELD macro with BitFieldReadXX function usage. 2019-03-09 17:33:24 +01:00
Download-Fritz
82e52f2948 OcSmbiosLib: Merge (Extended)FirmwareFeatures config entries and split for SMBIOS. 2019-03-09 15:11:35 +01:00
vit9696
cce17e841b Start working on OcAcpiLib 2019-03-09 01:57:11 +03:00
vit9696
c6e637da83 Do not use Apple-speicific original tables, they collide with other vendors 2019-03-07 18:49:00 +03:00
vit9696
46a4377935 Accuracy and compatibility fixes for OcCpuLib 2019-03-07 17:14:11 +03:00
vit9696
4acb694473 Fix mapping handling in SMBIOS 2019-03-07 02:24:06 +03:00
vit9696
c419f7bc93 Remove trailing spaces from SMBIOS strings, as they cause UI glitches
In particular, About Memory window starts to repeat PartNumber multiple times
2019-03-06 23:29:06 +03:00
vit9696
30c053ad1c Fix EP hashing in overwrite mode in SMBIOS 2019-03-06 19:00:23 +03:00
vit9696
75f1f8b0bf Fix zero length string handling in SMBIOS library 2019-03-06 15:28:57 +03:00
vit9696
5c959d5862 Fix handling original values 2019-03-06 01:06:21 +03:00
vit9696
e17a0689be Support different update modes in SMBIOS and fix minor issues 2019-03-05 23:47:38 +03:00
vit9696
a8d07657ab Import userspace tests 2019-03-05 17:02:05 +03:00
vit9696
60ce0aa7b6 Add test applications 2019-03-04 22:38:17 +03:00
vit9696
a1b790556f Some buildfixes for MSVC, thanks joedm 2019-03-03 18:56:20 +03:00
vit9696
4172ce7757 Implement some of the missing OcSmbiosLib functions 2019-03-02 19:14:59 +03:00
vit9696
27eb6080ba Start refactoring SMBIOS 2019-03-01 20:07:50 +03:00
PMheart
3cf7a170d0 added more confirmations. (thx savva) 2019-02-09 12:25:54 +08:00
PMheart
3fb2e171b6 Clarified CPU_MODEL_JAKETOWN. 2019-02-08 18:52:35 +08:00
PMheart
4ddb8be311 Slightly changed the order to match XNU more and fixed a typo. 2019-02-08 18:38:52 +08:00
PMheart
17e7f42654 More complete CreateAppleProcessorType(). 2019-02-07 23:11:53 +08:00
vit9696
2c158e8068 Fix CpuInfo reading 2019-02-07 16:15:09 +03:00
vit9696
8ea219ed68 Initial import of SMBIOS code from OC 2019-02-03 13:43:47 +03:00