summaryrefslogtreecommitdiff
path: root/Source/Kernel/Core/Sys.ns.h
blob: 69dcc42c291bfc08397240f845970b35697d4834 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifdef DEF_COMMON
//This must be included by common.wtf.h

#ifndef DEF_SYS_NS_H
#define DEF_SYS_NS_H

//This file contains system-relative functions

namespace Sys {
	void outb(u16int port, u8int value);
	u8int inb(u16int port);
	u16int inw(u16int port);
	void panic(char* message, char *file, u32int line);
	void panic_assert(char* file, u32int line, char *desc);
	void bochs_output(char* message, char *file, u32int line);
	void bochs_output_hex(u32int i);
	void reboot();
}

#endif

#endif