ref: 797a5ac470e8d43140a81f27e16fc4bf162efa65
parent: 78bed738e1a8c3bbffaa4de6015187741cc384ac
author: Sigrid <[email protected]>
date: Wed Oct 21 08:06:25 EDT 2020
libaml: add (nop) "signal" op
--- a/sys/src/libaml/aml.c
+++ b/sys/src/libaml/aml.c
@@ -151,7 +151,7 @@
Ocfld, Ocfld0, Ocfld1, Ocfld2, Ocfld4, Ocfld8,
Oif, Oelse, Owhile, Obreak, Oret, Ocall,
Ostore, Oderef, Osize, Oref, Ocref, Ocat,
- Oacq, Orel, Ostall, Osleep, Oload, Ounload,
+ Oacq, Osignal, Orel, Ostall, Osleep, Oload, Ounload,
Otodec, Otohex, Otoint,
};
@@ -2072,6 +2072,7 @@
[Ocat] "Concatenate", "**@", evalcat,
[Oacq] "Acquire", "@2", evalnop,
+ [Osignal] "Signal", "@", evalnop,
[Orel] "Release", "@", evalnop,
[Ostall] "Stall", "i", evalstall,
[Osleep] "Sleep", "i", evalsleep,
@@ -2123,7 +2124,7 @@
/* 08 */ Obad, Obad, Obad, Obad, Obad, Obad, Obad, Obad,
/* 10 */ Obad, Obad, Ocref, Ocfld, Obad, Obad, Obad, Obad,
/* 18 */ Obad, Obad, Obad, Obad, Obad, Obad, Obad, Obad,
-/* 20 */ Oload, Ostall, Osleep, Oacq, Obad, Obad, Obad, Orel,
+/* 20 */ Oload, Ostall, Osleep, Oacq, Osignal,Obad, Obad, Orel,
/* 28 */ Obad, Obad, Ounload,Obad, Obad, Obad, Obad, Obad,
/* 30 */ Obad, Odebug, Obad, Obad, Obad, Obad, Obad, Obad,
/* 38 */ Obad, Obad, Obad, Obad, Obad, Obad, Obad, Obad,