source: mainline/uspace/app/pcc/cc/ccom/arch/arm32/external.h@ 48fa501

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since 48fa501 was 5974661, checked in by Jiří Zárevúcky <zarevucky.jiri@…>, 14 years ago

Add a separate directory for each platform's external.{c,h}. Add mkext utility for generating those to the build.

  • Property mode set to 100644
File size: 838 bytes
Line 
1// TODO: replace with file generated by ccom_mkext
2
3#ifndef _EXTERNAL_H_
4#define _EXTERNAL_H_
5#define MAXOPLEN 0
6#define NUMBITS 32
7#define BIT2BYTE(bits) ((((bits)+NUMBITS-1)/NUMBITS)*(NUMBITS/8))
8#define BITSET(arr, bit) (arr[bit/NUMBITS] |= ((int)1 << (bit & (NUMBITS-1))))
9#define BITCLEAR(arr, bit) (arr[bit/NUMBITS] &= ~((int)1 << (bit & (NUMBITS-1))))
10#define TESTBIT(arr, bit) (arr[bit/NUMBITS] & ((int)1 << (bit & (NUMBITS-1))))
11typedef int bittype;
12extern int tempregs[], permregs[];
13#define NTEMPREG 0
14#define FREGS 0
15#define NPERMREG 0
16extern bittype validregs[];
17#define AREGCNT 0
18#define BREGCNT 0
19#define CREGCNT 0
20#define DREGCNT 0
21#define EREGCNT 0
22#define FREGCNT 0
23#define GREGCNT 0
24int aliasmap(int class, int regnum);
25int color2reg(int color, int class);
26int interferes(int reg1, int reg2);
27#endif /* _EXTERNAL_H_ */
Note: See TracBrowser for help on using the repository browser.