virtual-machine 0.7.4 → 0.7.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -220,14 +220,14 @@ var WASM_VECTOR_LEN = 0;
220
220
  function wasm_bindgen__convert__closures_____invoke__h10fd13f77519f00f(arg0, arg1, arg2) {
221
221
  wasm.wasm_bindgen__convert__closures_____invoke__h10fd13f77519f00f(arg0, arg1, arg2);
222
222
  }
223
- function wasm_bindgen__convert__closures_____invoke__hdc1b3e8ae3d0b1f6(arg0, arg1) {
224
- wasm.wasm_bindgen__convert__closures_____invoke__hdc1b3e8ae3d0b1f6(arg0, arg1);
223
+ function wasm_bindgen__convert__closures_____invoke__h3c19a701e2fb4946(arg0, arg1, arg2) {
224
+ wasm.wasm_bindgen__convert__closures_____invoke__h3c19a701e2fb4946(arg0, arg1, arg2);
225
225
  }
226
- function wasm_bindgen__convert__closures_____invoke__h00ee2f3d4900533a(arg0, arg1) {
227
- wasm.wasm_bindgen__convert__closures_____invoke__h00ee2f3d4900533a(arg0, arg1);
226
+ function wasm_bindgen__convert__closures_____invoke__h6ce8d92453d66e1b(arg0, arg1) {
227
+ wasm.wasm_bindgen__convert__closures_____invoke__h6ce8d92453d66e1b(arg0, arg1);
228
228
  }
229
- function wasm_bindgen__convert__closures_____invoke__he310f2359e2413f2(arg0, arg1, arg2) {
230
- wasm.wasm_bindgen__convert__closures_____invoke__he310f2359e2413f2(arg0, arg1, arg2);
229
+ function wasm_bindgen__convert__closures_____invoke__h1f45221b43ca80d0(arg0, arg1) {
230
+ wasm.wasm_bindgen__convert__closures_____invoke__h1f45221b43ca80d0(arg0, arg1);
231
231
  }
232
232
  var __wbindgen_enum_WorkerType = ["classic", "module"];
233
233
  var WasmVmFinalization = typeof FinalizationRegistry === "undefined" ? { register: () => {
@@ -859,7 +859,11 @@ var WasmVm = class _WasmVm {
859
859
  }
860
860
  /**
861
861
  * Push an input byte to the UART.
862
- * In SMP mode, this also writes to the shared input buffer so workers can receive it.
862
+ *
863
+ * In SMP mode there is a single shared input ring consumed by whichever
864
+ * hart runs the shell (the bus routes RBR/LSR reads of every hart,
865
+ * including hart 0, to the ring). Pushing to the local FIFO as well
866
+ * would duplicate the stream and leave stale bytes behind.
863
867
  * @param {number} byte
864
868
  */
865
869
  input(byte) {
@@ -1585,11 +1589,11 @@ function __wbg_get_imports() {
1585
1589
  return ret;
1586
1590
  };
1587
1591
  imports.wbg.__wbindgen_cast_37ec172324e9c759 = function(arg0, arg1) {
1588
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h166ac8bd1a99e49c, wasm_bindgen__convert__closures_____invoke__h00ee2f3d4900533a);
1592
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h1e8cf243a981f4cd, wasm_bindgen__convert__closures_____invoke__h1f45221b43ca80d0);
1589
1593
  return ret;
1590
1594
  };
1591
1595
  imports.wbg.__wbindgen_cast_5d29676ef6c3e85f = function(arg0, arg1) {
1592
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h166ac8bd1a99e49c, wasm_bindgen__convert__closures_____invoke__he310f2359e2413f2);
1596
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h1e8cf243a981f4cd, wasm_bindgen__convert__closures_____invoke__h3c19a701e2fb4946);
1593
1597
  return ret;
1594
1598
  };
1595
1599
  imports.wbg.__wbindgen_cast_5f9a13552260be22 = function(arg0, arg1) {
@@ -1597,7 +1601,7 @@ function __wbg_get_imports() {
1597
1601
  return ret;
1598
1602
  };
1599
1603
  imports.wbg.__wbindgen_cast_c6620a1285ea2988 = function(arg0, arg1) {
1600
- const ret = makeClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h166ac8bd1a99e49c, wasm_bindgen__convert__closures_____invoke__hdc1b3e8ae3d0b1f6);
1604
+ const ret = makeClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h1e8cf243a981f4cd, wasm_bindgen__convert__closures_____invoke__h6ce8d92453d66e1b);
1601
1605
  return ret;
1602
1606
  };
1603
1607
  imports.wbg.__wbindgen_cast_cb9088102bce6b30 = function(arg0, arg1) {