blob: 71724013322858a5449ab9925f282d2c9352b2a6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
//+----------------------------------------------------------------------------
//
// File: kernel.h
//
// Module:
//
// Synopsis:
//
// Created: sgasch 5 Jul 2003
//
//+----------------------------------------------------------------------------
#ifndef _KERNEL_H_
#define _KERNEL_H_
#include "types.h"
#include "constants.h"
#include "macros.h"
//
// Shared data structures
//
typedef struct _BIOS_HARDWARE_BLOCK
{
BYTE bDisplayType;
BYTE bFontSize;
WORD wEquipmentBitvector;
WORD wMemorySize;
WORD wSystemClock;
}
BIOS_HARDWARE_BLOCK;
// Write a byte to an I/O port.
void
out(WORD port, BYTE value);
BYTE
in(WORD port);
void
iodelay(void);
#endif /* _KERNEL_H_ */
|