1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 04:57:44 +00:00

Kernel+Userland: Add support for using the PCSpeaker with various tones

This commit is contained in:
Liav A 2023-03-01 22:05:04 +02:00 committed by Sam Atkins
parent 2d27c98659
commit 11a7e21c2a
9 changed files with 26 additions and 12 deletions

View file

@ -924,9 +924,9 @@ int gettid()
return cached_tid;
}
int sysbeep()
int sysbeep(int tone)
{
int rc = syscall(SC_beep);
int rc = syscall(SC_beep, tone);
__RETURN_WITH_ERRNO(rc, rc, -1);
}