diff options
| author | salmonik <salmonik@tuta.io> | 2026-07-31 03:22:20 +0200 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-07-31 03:22:20 +0200 |
| commit | 0ace22d6f88692883584119c64ff010f4cee6738 (patch) | |
| tree | 6f575f9088dec8bab90943d6c23e174bca183f0a /rsnix/src/interrupts.rs | |
| parent | restructure: rsnix kernel + shell crate + rsdos entry point (diff) | |
| download | rs-dos-0ace22d6f88692883584119c64ff010f4cee6738.tar.gz rs-dos-0ace22d6f88692883584119c64ff010f4cee6738.zip | |
fix(rsdos): organizational changes
Diffstat (limited to 'rsnix/src/interrupts.rs')
| -rw-r--r-- | rsnix/src/interrupts.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rsnix/src/interrupts.rs b/rsnix/src/interrupts.rs index 8f2acd7..66dc59f 100644 --- a/rsnix/src/interrupts.rs +++ b/rsnix/src/interrupts.rs | |||
| @@ -362,7 +362,7 @@ pub fn init() { | |||
| 362 | 362 | ||
| 363 | // Build the IDTR pseudo-descriptor. | 363 | // Build the IDTR pseudo-descriptor. |
| 364 | IDTR = [ | 364 | IDTR = [ |
| 365 | ((256u16 * 16 - 1)), // limit = 256*16 - 1 | 365 | (256u16 * 16 - 1), // limit = 256*16 - 1 |
| 366 | idt_ptr as u16, // base lo | 366 | idt_ptr as u16, // base lo |
| 367 | (idt_ptr as u64 >> 16) as u16, // base mid | 367 | (idt_ptr as u64 >> 16) as u16, // base mid |
| 368 | (idt_ptr as u64 >> 32) as u16, // base hi | 368 | (idt_ptr as u64 >> 32) as u16, // base hi |
