-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
this entire time i misspelled kernel as kernal
- Loading branch information
1 parent
7cae16e
commit 27ee06d
Showing
8 changed files
with
25 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import runtimeInit, { kernalHandleMessage } from "nand-core"; | ||
import runtimeInit, { kernelHandleMessage } from "nand-core"; | ||
self.postMessage({ action: "loaded" }); | ||
self.onmessage = async (e) => { | ||
await runtimeInit(e.data.wasmModule, e.data.wasmMemory); | ||
kernalHandleMessage(e.data); | ||
self.onmessage = (e) => kernalHandleMessage(e.data); | ||
kernelHandleMessage(e.data); | ||
self.onmessage = (e) => kernelHandleMessage(e.data); | ||
self.postMessage({ action: "ready" }); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
pub mod hardware; | ||
pub mod kernel_worker; | ||
pub mod memory; | ||
pub mod utils; | ||
mod runtime_worker; | ||
pub mod kernal_worker; | ||
pub mod utils; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters