summaryrefslogtreecommitdiff
path: root/Kernel/Syscall.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-05-15 21:40:41 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-05-15 21:40:41 +0200
commit3cba2a8a7872794516488ac5dfe240e946b1288d (patch)
treeabf359c90dbee15228f34669c7d5613d111e77f0 /Kernel/Syscall.h
parentdcf490ecab4fea2eb2cb80508ae68d77c328739d (diff)
downloadserenity-3cba2a8a7872794516488ac5dfe240e946b1288d.zip
Kernel: Add a beep() syscall that beeps the PC speaker.
Hook this up in Terminal so that the '\a' character generates a beep. Finally emit an '\a' character in the shell line editing code when backspacing at the start of the line.
Diffstat (limited to 'Kernel/Syscall.h')
-rw-r--r--Kernel/Syscall.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Kernel/Syscall.h b/Kernel/Syscall.h
index 1844826888..d2c884bade 100644
--- a/Kernel/Syscall.h
+++ b/Kernel/Syscall.h
@@ -103,6 +103,7 @@
__ENUMERATE_SYSCALL(exit_thread) \
__ENUMERATE_SYSCALL(mknod) \
__ENUMERATE_SYSCALL(writev) \
+ __ENUMERATE_SYSCALL(beep) \
namespace Syscall {