File: linux.h

package info (click to toggle)
tra 20020816-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, sarge
  • size: 1,696 kB
  • ctags: 2,623
  • sloc: ansic: 22,519; makefile: 406; asm: 269
file content (31 lines) | stat: -rw-r--r-- 456 bytes parent folder | download
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
#define _XOPEN_SOURCE 500
#define _BSD_SOURCE

#include <sched.h>

typedef long long vlong;
typedef unsigned long long uvlong;
typedef unsigned short Rune;
typedef unsigned char uchar;

#include "../libunix/unix.h"

typedef u_int32_t u32int;
typedef struct Label Label;
#define LABELDPC 0

#if defined(__i386__)
struct Label
{
	ulong	pc;
	ulong	bx;
	ulong	sp;
	ulong	bp;
	ulong	si;
	ulong	di;
};
#else
#error "Unknown or unsupported architecture"
#endif