John Davis
de4b1d1b2b
OcAcpiLib: Fix FadtEnableReset on nForce platforms
...
Use reset register 0x64 (keyboard controller) instead of 0xCF9.
2023-07-09 18:45:41 -05:00
John Davis
34496a047d
OcCpuLib: Fix ACPI HOB size check
2023-07-09 10:28:41 -05:00
John Davis
fcc28d70c0
OcCpuLib: Get PM timer address from OpenDuet for non-Intel chipsets
2023-07-08 20:58:49 -05:00
Mikhail Krichanov
2495a7aacc
OcCompressionLib: Fixed CLANGDWARF compilation after rebasing audk upon edk2-stable202305.
2023-07-07 12:23:36 +03:00
John Davis
dc5165b660
OcCpuLib: Fix incorrect core count and ACPI timer on Silvermont
...
Closes https://github.com/acidanthera/bugtracker/issues/2062 and https://github.com/acidanthera/bugtracker/issues/1643
2023-07-06 23:06:39 -05:00
PMheart
e68e3dfbad
OcAppleKernelLib: Do not report AICPUPM patch error on macOS 13+
2023-07-07 02:00:22 +02:00
Mike Beaton
546aa5ba64
OcBootManagementLib: Unify boot meta file loading code;
...
Optionally allow .contentVisibility in same boot fs root locations
as searched for .VolumeIcon.icns, since file next to boot.efi is
deleted on macOS update.
2023-07-04 01:23:42 +01:00
PMheart
5b7d4d0f2c
OcAppleKernelLib: Lapic patch cleanup ( #477 )
2023-07-02 01:38:18 +02:00
Mike Beaton
dc182df42c
OcBootManagementLib: Add InstanceIdentifier, and ability to target .contentVisibility to specific instances
2023-06-23 19:54:33 +01:00
PMheart
d4bd64ccd7
OcAppleKernelLib: FixForceAquantiaEthernet patch by @Mieze
...
`__ZN30AppleEthernetAquantiaAqtion10718checkConfigSupportERiS0_` does not exist on macOS 10.15.4; dropping it makes the patch unique.
2023-06-22 18:22:54 +02:00
PMheart
b249bc702a
OcAppleKernelLib: Fix codestyle
2023-06-22 17:43:52 +02:00
PMheart
e937869110
OcAppleKernelLib: FixForceAquantiaEthernet quirk on macOS 14 beta 2, thx @Shikumo
...
Ref: https://www.insanelymac.com/forum/topic/330614-marvell-aquantia-10-gb-ethernet-support-thread/?do=findComment&comment=2807006
2023-06-22 17:40:58 +02:00
John Davis
6d6948bc7b
Fix codestyle
2023-06-17 12:06:29 -05:00
John Davis
e8367610c2
Fix codestyle
2023-06-17 12:04:00 -05:00
John Davis
c173a26843
OcAppleKernelLib: Fix kext blocker exclude under 32-bit
2023-06-17 11:57:38 -05:00
PMheart
b3d7e9f7ca
Revert "OcAppleKernelLib: Minor typo"
...
This reverts commit 8955d758a5715bcaaffbaf23f39fe587ee73e790.
Uncrustify is mad at this. :-)
2023-06-14 16:53:14 +02:00
PMheart
8955d758a5
OcAppleKernelLib: Minor typo
2023-06-14 16:50:23 +02:00
PMheart
fb43d90309
OcAppleKernelLib: Better XhciPortLimit patch on macOS 11+
2023-06-13 10:47:31 +02:00
PMheart
d52fc46ba6
OcAppleKernelLib: Integrate USB restriction patches ( #471 )
2023-06-12 16:19:53 +02:00
Mike Beaton
0ad4a318b0
OcConsoleLib: Provide ConsoleFont option
...
to load custom .hex format console font file
2023-06-11 05:48:55 +01:00
Andrey1970
408f000fc1
Updated builtin firmware versions
2023-06-10 22:39:26 +03:00
PMheart
4cc7ac246d
OcAppleKernelLib: Fixed AppleXcpmForceBoost on macOS 14
2023-06-05 22:32:13 +02:00
vit9696
ab83b01d01
OcPciIo:ob" Cast to VOID for better future compatibility
2023-06-04 23:49:12 +03:00
Curi0
d84e9bbb27
OcPciIoLib: Add CpuIo/PciRootBridgeIo/PciIo fix for Aptio IV with Above 4G BARs ( #459 )
2023-06-04 23:05:33 +03:00
Mike Beaton
78cf64df83
OcBootManagementLib: Improve Save/RestoreMode
2023-05-20 00:42:48 +01:00
Mike Beaton
5f2c525cc2
OcConsoleLib: Change out-of-range cursor handling to work round bug(?) in memtest86
...
- memtest86 does not re-read the text mode size after changing GOP resolution.
- Possibly this is an issue in OC, in that this should not normally change? (But it is
fundamental to Builtin renderer handling of console resolution that it will change,
unless a fixed user mode size is specified.)
- The only effect of this in memtest86 is that it attempts to place the white footer
line of its text UI below the bottom of the screen; so this clamping, which seems
reasonable anyway, completely works round it.
2023-05-18 09:16:01 +01:00
Mike Beaton
3927ee7fe1
OcBootManagementLib: Save and restore text and graphics mode settings round tools and failed entries
2023-05-18 09:16:01 +01:00
Mike Beaton
0df9d12630
OcConsoleLib: Ignore UIScale when required to reach minimum 80x25 text mode size
2023-05-18 09:16:01 +01:00
Mike Beaton
8110c45981
OcBootManagementLib: Improve clipping of overlong menu entries
...
- Allow full width entries in wide modes
- Support unusual small modes better, and about as well as possible
2023-05-18 09:16:01 +01:00
Mike Beaton
bc71bbf9ef
OcConsoleLib: Add font pages
...
- Add back original ISO Latin font page 1
- Add unicode box drawing and block element characters
2023-05-18 09:15:58 +01:00
Mike Beaton
5465c7b820
OcVariableLib: Downgrade additional WARN in expected operation of emulated NVRAM
...
https://github.com/acidanthera/bugtracker/issues/2206
2023-05-10 22:34:30 +01:00
Marvin Häuser
d9109c36f1
Properly distinguish between PeCoffLib2 vs UefiImageLib
2023-05-08 11:25:08 +02:00
Mike Beaton
1dbf710b8f
OcVariableLib: Lower 'Emulated NVRAM load failed' message from WARN to INFO
...
since it is expected on first boot with new emulated NVRAM
2023-05-07 17:04:58 +01:00
Mike Beaton
5e75fec6d1
OcLog: Allowing positive and negative filtering of unknown log lines, using ? identifier
2023-05-07 16:54:51 +01:00
vit9696
d25ec52b22
OcCpuLib: Fix crash when gathering system report on virtualised CPUs
...
closes acidanthera/bugtracker#2270
2023-05-07 17:47:06 +03:00
Mike Beaton
47a3da4822
OcLog: Update filtering
...
- Filter log strings after formatting
- Never filter WARN and ERROR log lines
- Fix positive filtering
- Fix minor issue in valid log prefix algorithm
2023-05-07 14:43:41 +01:00
Mike Beaton
0083a4ef15
OcBootManagementLib: Disable builtin picker timeout on unbootable selection from Apple picker; change from INFO to WARN if cannot start requested Apple picker
2023-05-07 09:25:51 +01:00
PMheart
020645b4a7
OcMainLib/OpenCoreAcpi: Fix orders for RebaseRegions and SyncTableIds ( #454 )
...
This fixes regression introduced by f604848c61 .
2023-05-06 18:57:27 +02:00
Mike Beaton
301bde5d3d
OcConsoleLib: Minor updates
...
- Remove long-standing unused ConsoleControlInstall method
- Minor codestyle fix
- Improve doc wording
2023-05-04 09:59:29 +01:00
Mike Beaton
065177ebb9
OcConsoleLib: Apply ConsoleMode console text resolution option to builtin text renderer
2023-05-04 09:59:29 +01:00
Mike Beaton
c8b93357b8
OcConsoleLib: Simplify use of builtin renderer uncontrolled mode
...
The renderer already (esp. since recent changes incl. reset to controlled on cls)
manages its own transitions to controlled, so we just need to indicate uncontrolled
in cases where something else has been rendering graphics
2023-05-04 09:59:22 +01:00
Mike Beaton
7feb7c98c3
OcConsoleLib: Builtin renderer updates
...
- Perform full clear screen on switch from graphics to text mode,
if marked uncontrolled
- Suppress remaining console coloured output (screen clear and
cursor, text was already handled) if in graphics mode
- Remain uncontrolled while in graphics mode
- Improve builtin renderer screen size calculations
o Although we appear to lose a small amount of height (i.e. up
to one row) with the new font size scaled vertical padding,
we were actually losing it anyway with the previous screen
size calculation
- Re-order initialisation of builtin mode
o Avoid producing uncontrolled text with old text protocol,
after resync screen clear of new controlled protocol
2023-05-03 22:21:11 +01:00
Mike Beaton
c1f0b9f169
OcConsoleLib: Implement InitialMode
2023-05-03 22:21:04 +01:00
Mike Beaton
216bdcedc3
OcConsoleLib: Builtin renderer updates
...
- Avoid additional clear screen when resyncing
- Use same values to trigger full clear screen after background
colour change as after mark uncontrolled
- Only scroll used width when controlled
- Reset controlled area after clear screen
- Fix mConsoleMaxPosY init error for controlled mode
o Present since 76e889f89af7ecdec0a8de191d7ded5856b338fb
- Fix ConsoleControl wording in docs
- Add ASSERTS and comments
2023-05-02 07:49:01 +01:00
Mike Beaton
acecdf5e7b
Revert OcConsoleLib related parts of recent commits:
...
- Reverts part of commit 2439d58412c071cb735cde8a70c9ef964a095780.
- Reverts commit a189bd53bc2ac1490dac7125a9ce11fd03571755.
- Reverts part of commit b07843fe1d47454747ae4eda9ea0189aa9fb8c03.
2023-05-02 07:49:01 +01:00
PMheart
2e3510913a
OcAppleKernelLib: Fix ExternalDiskIcons quirk on macOS 13.3+, thanks fusion71au ( #452 )
2023-04-29 23:30:25 +02:00
Savva Mitrofanov
11a2606650
Library: Remove OcPeCoffLib
2023-04-26 11:01:50 +03:00
Savva Mitrofanov
70bb87c7b0
Library: Replace OcPeCoffLib with UefiImageLib
2023-04-26 11:01:50 +03:00
jozews321
77d02b36fa
OcAppleKernelLib: Remove Ventura check for AppleCpuPmCfgLock ( #448 )
2023-04-21 11:01:16 +02:00
Savva Mitrofanov
b2d438d6f3
Switch OcGuardLib to BaseOverflowLib
2023-04-13 13:16:14 +06:00