virtual-machine 0.0.4 → 0.0.10
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-V6I6APCK.mjs → chunk-MELUIZWO.mjs} +3 -3
- package/build/cli.js +591 -610
- package/build/index.d.ts +2 -2
- package/build/index.js +5 -5
- package/build/index.mjs +4 -4
- package/build/{riscv_vm-QIJGD3E2.mjs → riscv_vm-JTPPWIT3.mjs} +1 -1
- package/package.json +12 -5
- package/.yarn/install-state.gz +0 -0
- package/.yarnrc.yml +0 -1
- package/Cargo.toml +0 -49
- package/build.sh +0 -25
- package/cli.ts +0 -268
- package/index.ts +0 -16
- package/src/bus.rs +0 -558
- package/src/clint.rs +0 -132
- package/src/console.rs +0 -83
- package/src/cpu.rs +0 -1913
- package/src/csr.rs +0 -67
- package/src/decoder.rs +0 -789
- package/src/dram.rs +0 -146
- package/src/emulator.rs +0 -603
- package/src/lib.rs +0 -249
- package/src/main.rs +0 -449
- package/src/mmu.rs +0 -331
- package/src/net.rs +0 -121
- package/src/net_webtransport.rs +0 -446
- package/src/plic.rs +0 -261
- package/src/uart.rs +0 -231
- package/src/virtio.rs +0 -1074
- package/tsconfig.json +0 -19
- package/tsup/index.ts +0 -79
- package/tsup/tsup.cli.ts +0 -8
- package/tsup/tsup.core.cjs.ts +0 -7
- package/tsup/tsup.core.esm.ts +0 -8
|
@@ -186,8 +186,8 @@ function passArray8ToWasm0(arg, malloc) {
|
|
|
186
186
|
WASM_VECTOR_LEN = arg.length;
|
|
187
187
|
return ptr;
|
|
188
188
|
}
|
|
189
|
-
function
|
|
190
|
-
wasm.
|
|
189
|
+
function wasm_bindgen__convert__closures_____invoke__hf80474e20f8b36e4(arg0, arg1, arg2) {
|
|
190
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hf80474e20f8b36e4(arg0, arg1, arg2);
|
|
191
191
|
}
|
|
192
192
|
var NetworkStatus = Object.freeze({
|
|
193
193
|
Disconnected: 0,
|
|
@@ -503,7 +503,7 @@ function __wbg_get_imports() {
|
|
|
503
503
|
return ret;
|
|
504
504
|
};
|
|
505
505
|
imports.wbg.__wbindgen_cast_19eead9c9e92d417 = function(arg0, arg1) {
|
|
506
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
506
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hb58eefa6e6233209, wasm_bindgen__convert__closures_____invoke__hf80474e20f8b36e4);
|
|
507
507
|
return ret;
|
|
508
508
|
};
|
|
509
509
|
imports.wbg.__wbindgen_cast_2241b6af4c4b2941 = function(arg0, arg1) {
|