~vdupras/duskos-discuss

Add a reboot word to the 8042 driver. v1 APPLIED

Arcade Wise: 1
 Add a reboot word to the 8042 driver.

 1 files changed, 3 insertions(+), 0 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~vdupras/duskos-discuss/patches/37679/mbox | git am -3
Learn more about email & git

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

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