Subversion Repositories Kolibri OS

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
6400 punk_joker 1
 
2
#define DF_NO_MUL    0x00000001
3
#define DF_NO_JMP    0x00000002	// No JMP, CALL
4
#define DF_NO_XREG   0x00000004	// No X register
5
#define DF_NO_YREG   0x00000008	// No Y register
6
#define DF_TINY1X    0x00000010	/* AT90S1200, ATtiny10-12  set: No ADIW, SBIW,
7
				   IJMP, ICALL, LDD, STD, LDS, STS, PUSH, POP */
8
#define DF_NO_LPM    0x00000020	// No LPM instruction
9
#define DF_NO_LPM_X  0x00000040 // No LPM Rd,Z or LPM Rd,Z+ instruction
10
#define DF_NO_ELPM   0x00000080	// No ELPM instruction
11
#define DF_NO_ELPM_X 0x00000100 // No ELPM Rd,Z or LPM Rd,Z+ instruction
12
#define DF_NO_SPM    0x00000200 // No SPM instruction
13
#define DF_NO_ESPM   0x00000400 // No ESPM instruction
14
#define DF_NO_MOVW   0x00000800 // No MOVW instruction
15
#define DF_NO_BREAK  0x00001000 // No BREAK instruction
16
#define DF_NO_EICALL 0x00002000 // No EICALL instruction
17
#define DF_NO_EIJMP  0x00004000 // No EIJMP instruction
18
19
 
20
	{
21
	char *name;
22
	int flash_size;
23
	int ram_start;
24
	int ram_size;
25
	int eeprom_size;
26
	int flag;
27
	};
28
29
 
30
struct device *get_device(struct prog_info *pi,char *name);
31
int predef_dev(struct prog_info *pi);
32
void list_devices();
33