plan9fox/sys/src/libaml
cinap_lenrek 1a46b6c19e libaml: fix gc bug, need to amltake()/amldrop() temporary buffer
we have to protect the temporary buffer allocated by rwfield()
as rwreg() calls amlmapio() which might cause further aml code
execution causing gc() which frees it under us (as it is not
referenced from the interpreter state).

this fixes a panic on boot of a

Lenovo Thinkpad P17 Gen1 Professional Mobile Workstation
2021-07-14 17:04:40 +00:00
..
aml.c libaml: fix gc bug, need to amltake()/amldrop() temporary buffer 2021-07-14 17:04:40 +00:00
amlalloc.c libaml: new io interface, add amlnew()/amltake()/amldrop(), late binding names, FindSetLeftBit/FindSetRightBit 2013-09-06 16:48:27 +02:00
amldelay.c libaml: amldelay(), _OSI(), fix bug in Load() (from plhk's acpi patch) 2013-09-07 14:40:24 +02:00
amlmapio.c libaml: new io interface, add amlnew()/amltake()/amldrop(), late binding names, FindSetLeftBit/FindSetRightBit 2013-09-06 16:48:27 +02:00
amlunmapio.c libaml: new io interface, add amlnew()/amltake()/amldrop(), late binding names, FindSetLeftBit/FindSetRightBit 2013-09-06 16:48:27 +02:00
mkfile libaml: amldelay(), _OSI(), fix bug in Load() (from plhk's acpi patch) 2013-09-07 14:40:24 +02:00