Add Alternative LC3 Executor and I/O Implementations#10
Add Alternative LC3 Executor and I/O Implementations#10Bennett-Petzold wants to merge 9 commits intomainfrom
Conversation
The `pinned_init` crate is needed to actually initialize the large internal array on heap, instead of filling up memory.
The two lanes actually improves performance compared to the base design.
| instruction::{Instruction, InstructionEnum, InstructionErr, InsufficientPerms}, | ||
| defs::{ | ||
| HalfLC3Word, LC3MemAddr, LC3Word, RegAddr, DISPLAY_DATA_REGISTER, DISPLAY_STATUS_REGISTER, | ||
| KEYBOARD_DATA_REGISTER, KEYBOARD_INTERRUPT, KEYBOARD_STATUS_REGISTER, STACK_REG, |
Check warning
Code scanning / clippy
unused imports: IJumpSubRoutine and KEYBOARD_INTERRUPT Warning
| KEYBOARD_DATA_REGISTER, KEYBOARD_INTERRUPT, KEYBOARD_STATUS_REGISTER, STACK_REG, | ||
| }, | ||
| instruction::{ | ||
| IJumpSubRoutine, Instruction, InstructionEnum, InstructionErr, InsufficientPerms, |
Check warning
Code scanning / clippy
unused imports: IJumpSubRoutine and KEYBOARD_INTERRUPT Warning
| @@ -0,0 +1,46 @@ | |||
| //! Generically defined executors | |||
|
|
|||
| use std::future::{ready, Ready}; | |||
Check warning
Code scanning / clippy
unused imports: Ready and ready Warning
| @@ -0,0 +1,46 @@ | |||
| //! Generically defined executors | |||
|
|
|||
| use std::future::{ready, Ready}; | |||
Check warning
Code scanning / clippy
unused imports: Ready and ready Warning
|
|
||
| use crate::{ | ||
| executors::LC3, | ||
| instruction::{InstructionEnum, Trap}, |
Check warning
Code scanning / clippy
unused imports: InstructionEnum and Trap Warning
|
|
||
| use crate::{ | ||
| executors::LC3, | ||
| instruction::{InstructionEnum, Trap}, |
Check warning
Code scanning / clippy
unused imports: InstructionEnum and Trap Warning
| instruction::{InstructionEnum, Trap}, | ||
| }; | ||
|
|
||
| use super::{r#async::AsyncHarness, sync::SyncHarness, ExecutionFailure}; |
Check warning
Code scanning / clippy
unused import: r#async::AsyncHarness Warning
No description provided.