mirror of
https://github.com/wichtounet/thor-os.git
synced 2025-09-17 08:37:17 -04:00
Fix register
This commit is contained in:
parent
586aeaedcf
commit
abb60e4232
@ -103,7 +103,7 @@ spinlock lock;
|
|||||||
sleep_queue queue;
|
sleep_queue queue;
|
||||||
|
|
||||||
void give_char(scheduler::pid_t pid, char t){
|
void give_char(scheduler::pid_t pid, char t){
|
||||||
scheduler::get_process(pid).regs.eax = t;
|
scheduler::get_process(pid).regs.rax = t;
|
||||||
}
|
}
|
||||||
|
|
||||||
void keyboard_handler(const interrupt::syscall_regs&){
|
void keyboard_handler(const interrupt::syscall_regs&){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user