4918 Commits

Author SHA1 Message Date
Savva Mitrofanov
dc1812a930 Docs: Update samples
Add OpenNetworkBoot driver
2025-03-05 20:35:05 +03:00
Andrey1970
bae9a92b1b Bump version 2025-03-04 16:51:02 +03:00
John Davis
ceb0e8d733 OcDeviceMiscLib: Add PCI class names to PCI info dumping 1.0.4 2025-02-26 21:43:22 -06:00
John Davis
f4e7e29335 AcpiSamples: Adjust Hyper-V SSDTs
Remove SSDT-HV-DEV-WS2022.dsl and remove ACPI0007 objects from SSDH-HV-DEV.dsl
2025-02-25 20:13:01 -06:00
Mikhail Krichanov
35d9b3706f User: Fixed compilation for Ia32 toolchains. 2025-02-25 13:31:59 +03:00
Mikhail Krichanov
5b2f8b5bc8 User: Added TdProbe.o to fix audk BaseTools compilation after rebasing
upon edk2-stable202502 tag.
2025-02-25 12:40:04 +03:00
John Davis
7044d6b845 OcAppleKernelLib: Fix ProvideCurrentCpuInfo and CPUID patching on older 10.4 versions 2025-02-23 12:57:12 -06:00
John Davis
ddb0bc71f8 Docs: Rebuild Configuration.pdf 2025-02-23 11:04:00 -06:00
John Davis
c5f89dddee Docs: Update Configuration copyright 2025-02-23 11:00:26 -06:00
John Davis
9b82bc0b29 Docs: Fix broken links to Apple sources in Configuration 2025-02-23 11:00:09 -06:00
John Davis
17fc455789 Update changelog 2025-02-23 10:56:35 -06:00
John Davis
45f8ba2cd2
Add ClearTaskSwitchBit booter quirk (#573)
This quirk is needed to boot macOS 10.7 and older when using a 32-bit kernel on a 64-bit UEFI firmware that makes uses of FPU or SSE instructions in runtime services (such as Hyper-V).
2025-02-23 10:51:40 -06:00
Mike Beaton
24246c6d0c
Build: Remove out-of-support Xcode project file (#572)
Removing this as it hasn't been updated for four years, so is way out of
date and does not build. Not changing any docs as it was never mentioned
in any docs.
2025-01-24 14:42:58 +03:00
Andrey1970
5026eb27bb
Update Kexts.md 2024-12-30 22:28:13 +03:00
Andrey1970
a3829649a9
Update Kexts.md 2024-12-30 22:27:05 +03:00
Mike Beaton
f4b7065067 Docs: Document that all available GOP resolutions are listed in debug log when Resolution is set to Max 2024-12-29 04:35:27 +00:00
Mike Beaton
5a61796b51 AudioDxe: Downgrade log level from DEBUG_WARN to DEBUG_INFO for EFI_ALREADY_STARTED 2024-12-29 04:13:24 +00:00
Vitaly Cheptsov
1eb545e15c
Docs: Sync changelog 2024-12-29 01:32:37 +03:00
Pedro Tôrres
4920897e06
OcCpuLib: Read MSR_IA32_TSC_ADJUST only if CPU supports it (#571) 2024-12-29 01:31:00 +03:00
Mike Beaton
07e61bf975 OpenNetworkBoot: Improve NVRAM handling
- Avoid potentially leaving one boot where BOOTSERVICE_ACCESS variable
   can be written by OS
 - Remove incorrect implication that OpenCore's NVRAM reset will clear
   static4 settings
2024-12-28 14:09:06 +00:00
Mike Beaton
34f286e71b Docs: Fix build 2024-12-23 12:28:29 +00:00
Mike Beaton
575b9eb979 Docs: OpenNetworkBoot doc update 2024-12-23 12:04:25 +00:00
Mike Beaton
18b64a426d OpenNetworkBoot: README update 2024-12-22 22:53:47 +00:00
Mike Beaton
7a8bb3fe04 OpenNetworkBoot: README updates 2024-12-22 21:36:54 +00:00
Mike Beaton
6b49c8a8e1 Docs: Improved wording 2024-12-22 14:54:05 +00:00
Mike Beaton
411de51112 OcMainLib: Unload drivers most recent first 2024-12-22 14:21:06 +00:00
Mike Beaton
f30d41230d OpenNetworkBoot: Add support for setting static IPv4 address NVRAM variable
Normally only useful for our HttpBootDxe, which supports HTTP
boot from static IP address as long as URI is also pre-specified.

The NVRAM setting should affect normal EDK II derived network stacks
and will configure a static IP on the card, but this will later be
ignored and overridden by DHCP when PXE or HTTP boot is started in the
standard network stack.

Signed-off-by: Mike Beaton <mjsbeaton@gmail.com>
2024-12-22 14:09:25 +00:00
Andrey1970AppleLife
44af5a9945 Bump version 2024-12-22 13:36:25 +03:00
Mike Beaton
b70d558e44 OpenNetworkBoot: README replace /Users/user with /home/mjsbeaton 2024-12-11 11:54:39 +00:00
Mike Beaton
9163821d81 Docs: Add errata entry for sign.command bug 1.0.3 2024-11-30 19:31:39 +00:00
Mike Beaton
cc771bbc7e Docs: Sync docs 2024-11-30 18:42:45 +00:00
Mike Beaton
cde43cd3c1 OpenNetworkBoot: Add PXE and HTTP(S) Boot support 2024-11-30 18:40:21 +00:00
Mike Beaton
d4869b84fd OpenNetworkBoot: Update imported EDK 2 files to contain only the methods which are kept and modified 2024-11-30 18:40:01 +00:00
Mike Beaton
355609bc90 OpenNetworkBoot: Import initial unmodified EDK 2 files 2024-11-30 18:40:01 +00:00
Mike Beaton
72a332ce59 Build: Add /wd4324 to MSFT:*_CC_FLAGS for VS2019 BASE_ALIGNAS
Without this flag MSVC produces spurious warning C4324 when the macro is
working as intended.

Add static assert to OcBlitLib.c which fails without this support.
2024-11-27 12:30:21 +00:00
Mike Beaton
6cb95d50af OcConfigurationLib: Fix config variable naming 2024-11-26 23:14:19 +00:00
Mike Beaton
35bcb134f1 CreateVault: Fix sign.command and update signing docs
Fix operation of `sign.command` when printable characters occur
immediately before `=BEGIN OC VAULT=`. `strings` finds the location of
the first printable character in such a sequence. `hexdump` automatically
works on 16 byte boundaries, so still finds the correct offset.

Use `BASE_ALIGNAS` to enforce the required alignment, which will not be
correct on all builds unless enforced (note alignment is required purely
for locating the structure correctly from external script as above, not
for reading in C).

Remove struct packing, since structs had better be naturally packed anyway
(if not, reading from them without arbitrary-alignment-safe code, as we
do, would be undefined behaviour). Add static asserts to confirm expected
size as required by `sign.command`.

Update the docs to refer to `sign.command` rather than to include the
signing commands explicitly - otherwise we have two places that need to
be kept in sync for signing commands, and note that the commands in the
two places were already out of sync.

Signed-off-by: Mike Beaton <mjsbeaton@gmail.com>
2024-11-26 22:22:28 +00:00
Mike Beaton
c7779e7721 CI: Upgrade to Ubuntu 24.04 - apply AppArmor settings for Docker 2024-11-20 13:53:06 +00:00
Mike Beaton
b341356c0e Docs: Build docs 2024-11-20 08:38:31 +00:00
Mike Beaton
705673e631 Docs: Fix typo 2024-11-20 08:35:19 +00:00
Emmanuel Ferdman
6723d65d3a
Docs: Update OpenCoreVault.c reference (#567)
* Docs: Update `OpenCoreVault.c` reference

Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>

* Docs: Update `OpenCoreVault.c` reference

Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>

---------

Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
2024-11-19 22:52:06 +03:00
Mike Beaton
6bb481ed62 OpenLinuxBoot: Fix booting with TuneD in Fedora 41
In GRUB2+blscfg mode:
 - Allow grub vars in 'initrd' as well as in 'options'
 - Allow multiple initrd files on one 'initrd' line
 - Initialise empty $tuned_params and $tuned_initrd grub vars if no
   values present, on an optional flag enabled by default (since
   we want to make booting major distros easy)

In GRUB2+blscfg mode (seem to be allowed now, not required for fix):
 - Allow multiple 'initrd' lines
 - Allow multiple 'options' lines

Add variant of OcParseVars which can parse as value-only tokens.

Signed-off-by: Mike Beaton <mjsbeaton@gmail.com>
2024-11-18 23:28:33 +00:00
vit9696
1493b56c3a OcCpuLib: Improved new CPU detection 2024-11-09 16:01:01 +03:00
Vitaly Cheptsov
6fb63d4b3e
Docs: Sync changelog 2024-10-27 16:12:01 +03:00
Mike Beaton
d4ddd2937b EnableGop: Update README to clarify that vBiosInsert.sh receives updates separately from EnableGop itself 2024-10-14 16:53:59 +01:00
vit9696
8eb097584c Library/OcPngLib: Update lodepng to 20230410
fixes some minor crashes discovered by upstream
2024-10-14 16:33:20 +03:00
Mike Beaton
c8a5855f1e EnableGop: Fix typo in README 2024-10-13 19:21:43 +01:00
Vitaly Cheptsov
b6b7252eab
Docs: Sync changelog 2024-10-13 14:08:20 +03:00
Shaneee
913c950a82
OcCpuLib: Fix wrong definition for AMD_CPU_EXT_FAMILY_1AH (#563) 2024-10-13 14:07:32 +03:00
Andrey1970
9bdb9839db Bump version 2024-10-10 12:38:03 +03:00