~vdupras/duskos-discuss

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch

[PATCH] Add a reboot word to the 8042 driver.

Details
Message ID
<20221221171254.52252-1-l3gacy.b3ta@disroot.org>
DKIM signature
missing
Download raw message
Patch: +3 -0
Signed-off-by: Arcade Wise <l3gacy.b3ta@disroot.org>
---
 fs/drv/pc/ps28042.fs | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/fs/drv/pc/ps28042.fs b/fs/drv/pc/ps28042.fs
index e1c6f79..db9b0c8 100644
--- a/fs/drv/pc/ps28042.fs
+++ b/fs/drv/pc/ps28042.fs
@@ -28,3 +28,6 @@ code isrIRQ1

\ You need to remap the PIC before calling this
: 8042ps2$ ['] isrIRQ1 $21 setISR 0 _ridx ! 0 _widx ! ;

\ Reboot using the 8042 interface to the reset pin
: reboot $FE $64 pc! ;
-- 
2.38.1
Reply to thread Export thread (mbox)