#
✕ nick:sven
#asahi-re · 2026-08-14 10:15
svenguess we’ll need sha-1 in m1n1 then. At least there’d guaranteed to be public domain code for that :D
#asahi-re · 2026-08-14 10:11
svenah, makes sense
#asahi-re · 2026-08-14 10:11
svenhrm, and shouldn’t the port index or whatever be in there? or do they all share the same uuid which I guess might also be intentional
#asahi-re · 2026-08-14 10:10
sventhat hex string there is just that salt hardcoded in that kext I assume?
#asahi-re · 2026-08-14 10:06
svenLet’s hope that platform uuid thing is somewhere in the adt then
#asahi-re · 2026-08-14 10:06
svenhah, nice, thanks!
#asahi-re · 2026-08-14 08:32
svenso if someone wants to help with tbt please reverse engineer that function (getRootDROM from IOThunderboltSwitchType5 (or maybe IOThunderboltSwitchType51?)) and tell me how to compute it :D
#asahi-re · 2026-08-14 08:32
sven__ZZN24IOThunderboltSwitchType511getRootDROMEvE9uuid_salt <-- my awesome strings reverse engineering skills probably found where that uuid is generated
#asahi-re · 2026-08-13 18:33
sventhe weird part is that it's in the kext, it's already loaded by iboot
#asahi-re · 2026-08-13 18:31
svenlol, __ZL15t8103_acio_text and data? :D
#asahi-re · 2026-08-13 18:30
svenwhich kext? aren't there like 10 thunderbolt kexts?
#asahi-re · 2026-08-13 18:29
svendefine "fun" :D
#asahi-re · 2026-08-13 18:28
svenit's probably something very dumb hidden in some thunderbolt kext
#asahi-re · 2026-08-13 18:28
sveni don't think you need thunderbolt hw for this.
#asahi-re · 2026-08-13 18:25
svenbut maybe someone is bored and enjoys that :D
#asahi-re · 2026-08-13 18:25
svenyeah, but no idea how to figure that out without actually reversing thunderbolt kexts which sounds like no fun at all
#asahi-re · 2026-08-13 18:02
svenhmmmmm
#asahi-re · 2026-08-13 17:45
svenno idea where else it could come from
#asahi-re · 2026-08-13 17:45
svenyeah, couldn’t find them there either and also not from mmio I think
#asahi-re · 2026-08-13 17:18
svendomain uuid i think
#asahi-re · 2026-08-13 17:16
svenyes
#asahi-re · 2026-08-13 17:15
svenor run that acio_tracer and extract it from there. i should open a PR with that one for m1n1
#asahi-re · 2026-08-13 17:15
svenport unique, i bet it's shown somewhere in about this mac -> system information or however it's called
#asahi-re · 2026-08-13 17:04
svenif anyone wants to do some reverse engineering: figure out how macos determines the uuid of the tbt host router. it's probably somewhere around where it reads "thunderbolt-drom" from the ADT but i don't see anything in the ADT
#asahi-re · 2026-08-11 15:21
svenIOThunderboltSwitchType5(%x@%llx)::configureRouter - writing acio_fw_debug 0x%08x <-- now that sounds interesting
#asahi-re · 2026-07-30 09:42
svensame for kdks i guess, or is there a 27 kdk yet?
#asahi-re · 2026-07-30 09:42
svenah
#asahi-re · 2026-07-30 09:41
sventexit is 0xd6ff03e0 according to my binutil if anyone wants to look
#asahi-re · 2026-07-30 09:38
svens/either/just/
#asahi-re · 2026-07-30 09:38
svenno texit in SPTM, so i guess it's either #ifdefed out there
#asahi-re · 2026-07-30 09:29
sveni think my cursed "shift SPTM down one level by patching _EL12/_EL2 to _EL1 or hvc" might just work though
#asahi-re · 2026-07-30 09:26
svenyeah, it's handed down by SPTM i think
#asahi-re · 2026-07-30 09:16
sveni think that flag just comes from a bootarg in some handover struct so probably just from iboot
#asahi-re · 2026-07-30 09:14
svenhahahaha :D
#asahi-re · 2026-07-30 09:12
svenvery happy it was added though because this could've sent me down another rabbit hole :D
#asahi-re · 2026-07-30 09:06
svenjannau: weird that binutils already knows about tenter though
#asahi-re · 2026-07-30 09:03
svensobek[m]: siguza originally called genter "bless" and gexit "curse" :P
#asahi-re · 2026-07-30 08:59
sventhis is obviously disassembly and i can't quite run this on M1 yet so i'm sure that check it does just above routes it to genter
#asahi-re · 2026-07-30 08:58
svenlet me trace what sets that bit it checks, i bet its either some early init check for ID_AA64MMFR4 or just passed by iboot
#asahi-re · 2026-07-30 08:57
svenyup
#asahi-re · 2026-07-30 08:57
svenm1 xnu from the 27 beta
#asahi-re · 2026-07-30 08:55
svenso our HV woes are only temporary until M6 or M7 or Mwhatever just uses standard ARM stuff
#asahi-re · 2026-07-30 08:53
svenhah... so it looks like they'll move to FEAT_TEV and tenter eventually
#asahi-re · 2026-07-30 08:53
svenfffffe000c36a310: d65f03c0 ret
#asahi-re · 2026-07-30 08:53
svenfffffe000c36a30c: d4e00000 tenter #0x0
#asahi-re · 2026-07-30 08:53
svenfffffe000c36a308: d2e04010 mov x16, #0x200000000000000 // #144115188075855872
#asahi-re · 2026-07-30 08:53
svenfffffe000c36a304: d65f03c0 ret
#asahi-re · 2026-07-30 08:53
svenfffffe000c36a300: 00201420 .inst 0x00201420 ; undefined // genter
#asahi-re · 2026-07-30 08:53
svenfffffe000c36a2f4: 3965e210 ldrb w16, [x16, #2424]
#asahi-re · 2026-07-30 08:53
svenfffffe000c36a2fc: d2e04010 mov x16, #0x200000000000000 // #144115188075855872

plus ›