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/{chunk-QS72CGY5.mjs → chunk-QNHY4JET.mjs} +14 -10
- package/build/cli.js +43 -13
- package/build/index.d.ts +9 -5
- package/build/index.js +15 -11
- package/build/index.mjs +3 -3
- package/build/node-worker.js +15 -11
- package/build/{riscv_vm-AH67MG2Z.mjs → riscv_vm-3VZO5RQ3.mjs} +1 -1
- package/build/worker.js +10 -10
- package/native/riscv-vm-native.darwin-arm64.node +0 -0
- package/native/riscv-vm-native.darwin-x64.node +0 -0
- package/native/riscv-vm-native.linux-arm64-gnu.node +0 -0
- package/native/riscv-vm-native.linux-arm64-musl.node +0 -0
- package/native/riscv-vm-native.linux-x64-gnu.node +0 -0
- package/native/riscv-vm-native.linux-x64-musl.node +0 -0
- package/native/riscv-vm-native.win32-x64-msvc.node +0 -0
- package/package.json +1 -1
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
|
-
*
|
|
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
|
|
642
|
-
readonly
|
|
643
|
-
readonly
|
|
644
|
-
readonly
|
|
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;
|