@nmano,
@Loloflatsix ,
I still believe our problems are related with the faulty execution of method _ini, which is also used within the iMac Pro DSDT.aml and our DSDT.aml, but nowhere visibly defined... Is it part of macOS/OSX?
Even for properly defining OSDW, method _ini get's involved.. also there, if "_ini" is not renamed to "qini" any SSDT code calling method _ini would fail to load during boot.
If renamed to "quini", former method "_ini" however does nothing.. consequence: local variable errors..
E.g., try to implement SSDT-definitions.aml attached below, which basically implements the necessary parts of the iMac Pro DSDT.aml required for SSDT-9.aml...
You will see that the entire SSDT-definitions.aml fails when calling twice method _ini... After renaming twice method _ini to method quini, we also get in this case here a lot of local variable errors..
BTW.. besides a slightly improved SSDT-9-Lolo-dump.aml (attached below, just 2 compilation warning remaining), I also attached SSDT-tot.aml, and SSDT-GNVS.aml
I also attach a SSDT-6.aml of the iMac 18,3 dump, which compiles now without warning... However when forcing not working Method OSDW to return one, same boot errors as with SSDT-9-Lolo-dump.aml...