WKern
Loading...
Searching...
No Matches
ksleep.c
Go to the documentation of this file.
1
/*
2
WKern - A Bare Metal OS / Kernel I am maKing (For Fun)
3
Copyright (C) 2025 Wdboyes13
4
5
This program is free software: you can redistribute it and/or modify
6
it under the terms of the GNU General Public License as published by
7
the Free Software Foundation, either version 3 of the License, or
8
any later version.
9
10
This program is distributed in the hope that it will be useful,
11
but WITHOUT ANY WARRANTY; without even the implied warranty of
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
GNU General Public License for more details.
14
15
You should have received a copy of the GNU General Public License
16
along with this program. If not, see <https://www.gnu.org/licenses/>.
17
*/
18
19
#include <
idt/idtirq.h
>
20
#include <
io/kio.h
>
21
#include <
types/nums.h
>
22
#include <
utils/util.h
>
25
void
ZZZ
(
int
ms) {
MsSleep
(ms); }
28
void
SSleep
(
int
secs) {
MsSleep
(secs * 100); }
idtirq.h
MsSleep
void MsSleep(unsigned int milliseconds)
Definition
irq0.c:29
kio.h
SSleep
void SSleep(int secs)
Sleep for X seconds.
Definition
ksleep.c:28
ZZZ
void ZZZ(int ms)
Sleeps for 10ms.
Definition
ksleep.c:25
nums.h
util.h
src
utils
ksleep.c
Generated on
for WKern by
1.14.0