#
✕ nick:sven
#asahi-re · 2021-02-14 12:03
svenyeah, the 0x300 bits are some kind of "something changed" flag related to the 0b1100 bits
#asahi-re · 2021-02-14 11:59
sven0x300 seems to behave like a "was disabled" bit
#asahi-re · 2021-02-14 11:55
sven0b0010 and 0b0001 can only be enabled when 0b1000 is set I think
#asahi-re · 2021-02-14 11:54
svenso the lower 8 bits are [actual][wanted]. 0b1000 and 0b0100 can be enabled independently.
#asahi-re · 2021-02-14 11:47
svenhrm, I think I actually need to write to the register once more before that 0x300 disappears
#asahi-re · 2021-02-14 11:40
svenbit 0x300 might be "power is stable" or something like that. after reboot the value might e.g. be 2300. i then set 0xf and the register then reads back as 23ff and eventually 20ff after more time passes
#asahi-re · 2021-02-14 11:37
svenbut I'm curious about e.g. "Higher bits exist, but for most their meaning is unknown and might change between chip generations."
#asahi-re · 2021-02-14 11:36
svenso.. has anyone looked into this power management controller yet? I found https://github.com/Siguza/dt which is already helpful
#asahi-re · 2021-02-10 15:38
sventime for m1n1.kext? :-P
#asahi-re · 2021-02-01 12:55
sventhanks!
#asahi-re · 2021-02-01 12:54
sveninteresting
#asahi-re · 2021-02-01 12:51
svendo you know what they use that one for?
#asahi-re · 2021-02-01 12:51
svenis that another exception level or something like that?
#asahi-re · 2021-02-01 12:51
svenhuh, interesting.
#asahi-re · 2021-02-01 12:16
svenhttps://twitter.com/s1guza/status/1355929535699681284 mentions #define gexit .long 0x201400
#asahi-re · 2021-01-22 19:45
sven(at least for now)
#asahi-re · 2021-01-22 19:45
svenwe could probably just set it to clockgate only in pongoos/m1n1/whatever bootloader we end up using
#asahi-re · 2021-01-22 19:45
svenbecause apple only has to care about xnu :)
#asahi-re · 2021-01-20 06:14
svenbut i'd expect the kernel to just map everything as nGnRnE :s
#asahi-re · 2021-01-20 06:13
svenhrm, maybe the quirk doesn't apply to all of MMIO but only to some of it. or maybe there's some magic memory poke to fix that issue somewhere in xnu.
#asahi-re · 2021-01-08 17:06
svenhrm, i remember reading somewhere that fuOS = fully untrusted OS but i can't find it anymore