summaryrefslogtreecommitdiff
path: root/module/kernel.h
blob: 2c560e4bd1994a6ec4b3014fdb9fb8b63a2de9a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* Our own, minimal, kernel.h */

#ifndef iconv_myswis_h_
#define iconv_myswis_h_

#include <stdint.h>

typedef struct _kernel_oserror {
	int errnum;
	char errmess[252];
} _kernel_oserror;

/* Why intptr_t? Because it's got a chance of working on 64bit machines */
typedef struct _kernel_swi_regs {
	intptr_t r[10];
} _kernel_swi_regs;

#endif