#
✕ nick:nickchan
#asahi-dev · 2025-12-17 14:31
nickchansaying thunderbolt/DP without saying thunderbolt/DP
#asahi-dev · 2025-12-17 14:31
nickchan> but also all the other protocols one could reasonably expect a USB-C port to carry
#asahi-dev · 2025-12-15 09:14
nickchanwell that makes things simpler
#asahi-dev · 2025-12-15 09:14
nickchanah so all the hvcs are just pv apple pac
#asahi-dev · 2025-12-15 09:13
nickchanhm. that file is on opensource.apple.com's archive tarballs but not on github so i guess that was another slipup
#asahi-dev · 2025-12-15 09:07
nickchanhttps://github.com/matteyeux/darwin-xnu/blob/master/doc/vmapple_pac.md as for pv pac this is actually documented
#asahi-dev · 2025-12-15 09:04
nickchanignore the gic stuffs cause here the aic kext is used
#asahi-dev · 2025-12-15 09:04
nickchanhttps://lore.kernel.org/qemu-devel/774802D2-E1B7-40B7-A189-82B4CE18B152@unpredictable.fr/ this is one of the HVC
#asahi-dev · 2025-12-15 09:03
nickchanright not helpful
#asahi-dev · 2025-12-15 09:02
nickchanmacos 12 vmapples would be the easiest to handle
#asahi-dev · 2025-12-15 09:00
nickchanit tries to hypercall quite early i think
#asahi-dev · 2025-12-15 08:59
nickchanthis is actually the same kext that has to be removed when using OSS XNU but here it's the vmapple kernel in KDK
#asahi-dev · 2025-12-15 08:57
nickchanchaos_princess: omit com.apple.driver.SEPHibernation and the KC can be created
#asahi-dev · 2025-12-15 08:50
nickchaneven on m4 normal kernelcache (!)
#asahi-dev · 2025-12-15 08:50
nickchanAs for kexts SPTM is supposed to manage DART on hw but at this moment DART kexts are still available
#asahi-dev · 2025-12-15 08:50
nickchanthe vmapple CPU is about as generic as what XNU kernel expect CPUs to be
#asahi-dev · 2025-12-15 08:50
nickchancore xnu pretty only manages the CPU and practically all MMIO accesses are in kexts
#asahi-dev · 2025-12-15 08:50
nickchanchaos_princess: the idea is to use vmapple's core xnu and combining with kexts that would normally be loaded on hardware.
#asahi-dev · 2025-12-15 08:36
nickchannamely - mangling vmapple kernel and hardware kexts together
#asahi-dev · 2025-12-15 08:31
nickchanthere may be methods that does not need sptm but i don't think m4 is any good to new reverse enginners
#asahi-dev · 2025-12-15 08:30
nickchanif gxf isn't available to raw boot objects in el2 i don't think it would be available in el1 either
#asahi-dev · 2025-12-11 08:02
nickchansven: the corresponding kexts still exist for now
#asahi-dev · 2025-12-11 06:25
nickchanokay it should be permessible to skip PV CTRR since older macOS hosts don't support it either
#asahi-dev · 2025-12-11 06:20
nickchanneed to handle hypercalls and pv ctrr and apple pac though
#asahi-dev · 2025-12-11 06:16
nickchanvma2 kernel + m4 kexts
#asahi-dev · 2025-12-11 06:16
nickchananother consideration for m4 is a frankenstein kernelcache of vma2 + m4 kexts may work with hypervisor
#asahi-dev · 2025-12-10 09:47
nickchangood m3 stuff
#asahi-dev · 2025-12-09 12:21
nickchannice!
#asahi-dev · 2025-12-08 08:51
nickchanincluding m1n1 and kernel
#asahi-dev · 2025-12-08 08:51
nickchani mean asahi linux codes
#asahi-dev · 2025-12-08 08:51
nickchanand because of that mostly i have been trying to make asahi work, and there is not nearly as many apple-isms to deal with on the cpu
#asahi-dev · 2025-12-08 08:49
nickchanintegralpilot: i have code execution in bootrom :) but only having EL0&1 is annoying
#asahi-dev · 2025-12-08 08:42
nickchanthough i feel like some of this content should have been in #asahi-re
#asahi-dev · 2025-12-08 08:38
nickchana11 soc is still my favourite
#asahi-dev · 2025-12-08 08:38
nickchaneh im just taking others info
#asahi-dev · 2025-12-08 08:34
nickchans3_4_c15_c10_7, you do not want to touch that so keep on with the nopping
#asahi-dev · 2025-12-08 08:33
nickchanthey have a VNCR-like like register but for all their custom registers in NV
#asahi-dev · 2025-12-08 08:32
nickchan(well, other than enabling NV, but then you would have to save/restore ALL the secret regs or otherwise everythiung blows up)
#asahi-dev · 2025-12-08 08:32
nickchani think it's the correct solution
#asahi-dev · 2025-12-08 08:32
nickchani think you need to code patch xnu that to nop
#asahi-dev · 2025-12-08 08:31
nickchanintegralpilot: s3_4_c15_c14_6 = AGTCNTRDIR_EL12 so it's just incorrect behavior for el1
#asahi-dev · 2025-12-08 08:29
nickchanintegralpilot: is S3_4_C15_C12_1 trapped at all or does the exception go right into EL1
#asahi-dev · 2025-12-08 08:27
nickchanit's crucial when handling unknown regs
#asahi-dev · 2025-12-08 08:27
nickchanm1n1/find_regs.py
#asahi-dev · 2025-12-08 08:26
nickchanright
#asahi-dev · 2025-12-08 08:26
nickchanintegralpilot: there's a bruteforce sysreg script in m1n1
#asahi-dev · 2025-12-08 08:20
nickchancause im pretty sure that's an EL2 reg
#asahi-dev · 2025-12-08 08:19
nickchan integralpilot: context for S3_4_C15_C12_1?
#asahi-dev · 2025-12-07 13:52
nickchans3_0_c15_c2_4 is HID31
#asahi-dev · 2025-12-07 13:26
nickchan(kdk's libT8122.os.DEVELOPMENT.a's start.o has all the startup sequence because of course it is hidden from xnu source code)

plus ›