summaryrefslogtreecommitdiff
path: root/Source/Kernel/Core/Sys.ns.h
blob: 825b68ccd00b0dd849b81069d6c1162389fc052b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#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
class String;

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(String message, char *file, u32int line);
	void bochs_output_hex(u32int i);
	void reboot();
}

#endif

#endif