summaryrefslogtreecommitdiffstats
path: root/src/libirecovery.c
diff options
context:
space:
mode:
authorGravatar Zhuowei Zhang2021-06-30 00:59:43 -0400
committerGravatar Nikias Bassen2022-05-30 02:15:06 +0200
commit6e68ca725168a65d363d9a0f235a63773ef66bc4 (patch)
tree388ec7e4b575dfdd6b7a50eba406b8fc2cfac02a /src/libirecovery.c
parent82d235703044c5af9da8ad8f77351fd2046dac47 (diff)
downloadlibirecovery-6e68ca725168a65d363d9a0f235a63773ef66bc4.tar.gz
libirecovery-6e68ca725168a65d363d9a0f235a63773ef66bc4.tar.bz2
Add device ID for macOS 12 Apple Silicon VMs
Adds the device ID for macOS 12's Apple Silicon VMs, as created in macOS 12 Virtualization.framework (https://developer.apple.com/documentation/virtualization/vzmachardwaremodel?language=objc) Currently, macOS 12 beta 2 has device trees and support in Virtualization.framework for two different virtual machine types, VirtualMac1,1 and VirtualMac2,1. The first seems to be unused: only the VirtualMac2,1 variant is being signed. See http://swcdn.apple.com/content/downloads/38/12/071-51840-A_R2JDKNM0LX/wqollynqs6j5006166tvw4rliu9htf7swu/BuildManifest.plist for the board IDs.
Diffstat (limited to 'src/libirecovery.c')
-rw-r--r--src/libirecovery.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libirecovery.c b/src/libirecovery.c
index db88251..a2ef567 100644
--- a/src/libirecovery.c
+++ b/src/libirecovery.c
@@ -306,6 +306,8 @@ static struct irecv_device irecv_devices[] = {
{ "iMac21,2", "j457ap", 0x2A, 0x8103, "iMac 24-inch (M1, Four Ports, 2021)" },
{ "Mac13,1", "j375cap", 0x04, 0x6001, "Mac Studio (M1 Max, 2022)" },
{ "Mac13,2", "j375dap", 0x0C, 0x6002, "Mac Studio (M1 Ultra, 2022)" },
+ /* Apple Silicon VMs (supported by Virtualization.framework on macOS 12) */
+ { "VirtualMac2,1", "vma2macosap", 0x20, 0xFE00, "Apple Virtual Machine 1" },
/* Apple T2 Coprocessor */
{ "iBridge2,1", "j137ap", 0x0A, 0x8012, "Apple T2 iMacPro1,1 (j137)" },
{ "iBridge2,3", "j680ap", 0x0B, 0x8012, "Apple T2 MacBookPro15,1 (j680)" },