ref: 2fed6efe0a9d1192963c02c6ba88b8b9d0754d12
parent: f6d2a34de1a023671cae5ac6ec4a9c042e4bc34b
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Jul 9 19:36:19 EDT 2023
libaml: dummy implement NotifyOp (thanks uramekus)
--- a/sys/src/libaml/aml.c
+++ b/sys/src/libaml/aml.c
@@ -152,7 +152,7 @@
Oif, Oelse, Owhile, Obreak, Oret, Ocall,
Ostore, Oderef, Ootype, Osize, Oref, Ocref, Ocat, Ocatr, Omid,
Oacq, Osignal, Orel, Ostall, Osleep, Oload, Ounload,
- Otodec, Otohex, Otoint, Otostr,
+ Otodec, Otohex, Otoint, Otostr, Onotify,
};
static Op optab[];
@@ -2225,6 +2225,8 @@
[Otohex] "ToHexString", "*@", evalconv,
[Otoint] "ToInteger", "*@", evalconv,
[Otostr] "ToString", "*i@", evaltostr,
+
+ [Onotify] "Notify", "@i", evalnop,
};
static uchar octab1[] = {
@@ -2244,7 +2246,7 @@
/* 68 */ Oenv, Oenv, Oenv, Oenv, Oenv, Oenv, Oenv, Obad,
/* 70 */ Ostore, Oref, Oadd, Ocat, Osub, Oinc, Odec, Omul,
/* 78 */ Odiv, Oshl, Oshr, Oand, Onand, Oor, Onor, Oxor,
-/* 80 */ Onot, Olbit, Orbit, Oderef, Ocatr, Omod, Obad, Osize,
+/* 80 */ Onot, Olbit, Orbit, Oderef, Ocatr, Omod, Onotify,Osize,
/* 88 */ Oindex, Omatch, Ocfld4, Ocfld2, Ocfld1, Ocfld0, Ootype, Ocfld8,
/* 90 */ Oland, Olor, Olnot, Oleq, Olgt, Ollt, Obad, Otodec,
/* 98 */ Otohex, Otoint, Obad, Obad, Otostr, Obad, Omid, Obad,
--
⑨