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.
package/build/index.d.ts CHANGED
@@ -381,7 +381,11 @@ declare class WasmVm {
381
381
  step(): boolean;
382
382
  /**
383
383
  * Push an input byte to the UART.
384
- * In SMP mode, this also writes to the shared input buffer so workers can receive it.
384
+ *
385
+ * In SMP mode there is a single shared input ring consumed by whichever
386
+ * hart runs the shell (the bus routes RBR/LSR reads of every hart,
387
+ * including hart 0, to the ring). Pushing to the local FIFO as well
388
+ * would duplicate the stream and leave stale bytes behind.
385
389
  */
386
390
  input(byte: number): void;
387
391
  /**
@@ -638,10 +642,10 @@ interface InitOutput {
638
642
  readonly workerstate_step_count: (a: number) => bigint;
639
643
  readonly wasm_bindgen__convert__closures_____invoke__h10fd13f77519f00f: (a: number, b: number, c: any) => void;
640
644
  readonly wasm_bindgen__closure__destroy__h98fb6f0c0578da12: (a: number, b: number) => void;
641
- readonly wasm_bindgen__convert__closures_____invoke__hdc1b3e8ae3d0b1f6: (a: number, b: number) => void;
642
- readonly wasm_bindgen__closure__destroy__h166ac8bd1a99e49c: (a: number, b: number) => void;
643
- readonly wasm_bindgen__convert__closures_____invoke__h00ee2f3d4900533a: (a: number, b: number) => void;
644
- readonly wasm_bindgen__convert__closures_____invoke__he310f2359e2413f2: (a: number, b: number, c: any) => void;
645
+ readonly wasm_bindgen__convert__closures_____invoke__h3c19a701e2fb4946: (a: number, b: number, c: any) => void;
646
+ readonly wasm_bindgen__closure__destroy__h1e8cf243a981f4cd: (a: number, b: number) => void;
647
+ readonly wasm_bindgen__convert__closures_____invoke__h6ce8d92453d66e1b: (a: number, b: number) => void;
648
+ readonly wasm_bindgen__convert__closures_____invoke__h1f45221b43ca80d0: (a: number, b: number) => void;
645
649
  readonly __wbindgen_malloc: (a: number, b: number) => number;
646
650
  readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
647
651
  readonly __wbindgen_exn_store: (a: number) => void;