Allow using defines from .S files

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23226 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
François Revol 2008-01-03 00:18:14 +00:00
parent fa9d72b1dd
commit 005fb7c998

View File

@ -21,6 +21,22 @@ extern "C" {
#define DEV_IKBD 4
#define DEV_RAW 5
#define K_RSHIFT 0x01
#define K_LSHIFT 0x02
#define K_CTRL 0x04
#define K_ALT 0x08
#define K_CAPSLOCK 0x10
#define K_CLRHOME 0x20
#define K_INSERT 0x40
#define RW_READ 0x00
#define RW_WRITE 0x01
#define RW_NOMEDIACH 0x02
#define RW_NORETRY 0x04
#define RW_NOTRANSLATE 0x08
#ifndef __ASSEMBLER__
/*
* Atari BIOS calls
*/
@ -41,19 +57,6 @@ struct tosbpb {
int16 bflags;
};
#define K_RSHIFT 0x01
#define K_LSHIFT 0x02
#define K_CTRL 0x04
#define K_ALT 0x08
#define K_CAPSLOCK 0x10
#define K_CLRHOME 0x20
#define K_INSERT 0x40
#define RW_READ 0x00
#define RW_WRITE 0x01
#define RW_NOMEDIACH 0x02
#define RW_NORETRY 0x04
#define RW_NOTRANSLATE 0x08
//#define Getmpb() bios(0)
#define Bconstat(dev) bios(1, (uint16)dev)
@ -125,6 +128,8 @@ extern int32 gemdos(uint16 nr, ...);
extern status_t toserror(int32 err);
#endif /* __ASSEMBLER__ */
#ifdef __cplusplus
}
#endif