26
26
PROC_CLASS_UNKNOWN, /* Unknown device */
27
27
PROC_CLASS_EEPROM8, /* 8 bit EEPROM */
28
PROC_CLASS_EEPROM16, /* 16 bit EEPROM */
28
29
PROC_CLASS_GENERIC, /* 12 bit device */
29
30
PROC_CLASS_PIC12, /* 12 bit devices */
30
31
PROC_CLASS_SX, /* 12 bit devices */
33
34
PROC_CLASS_PIC16E /* enhanced 16 bit devices */
36
/* XXXPRO: Need to add an entry for any extra processors. Please keep
37
typedef struct px *pic_processor_t;
38
#define no_processor ((struct px *)0)
369
40
#define MAX_NAMES 3 /* Maximum number of names a processor can have */
370
41
#define MAX_BADROM 1*2 /* Maximum number of BADROM ranges a processor can be */
371
42
/* initialized with */
374
enum pic_processor tag;
375
45
enum proc_class class;
377
47
char *names[MAX_NAMES];
424
94
void gp_dump_processor_list(gp_boolean list_all, enum proc_class class);
425
95
struct px *gp_find_processor(char *name);
426
enum proc_class gp_processor_class(enum pic_processor);
427
int gp_processor_bsr_boundary(enum pic_processor processor);
428
unsigned long gp_processor_coff_type(enum pic_processor processor);
429
int gp_processor_num_pages(enum pic_processor processor);
430
int gp_processor_num_banks(enum pic_processor processor);
431
enum pic_processor gp_processor_coff_proc(unsigned long coff_type);
432
char *gp_processor_name(enum pic_processor processor, unsigned int choice);
96
enum proc_class gp_processor_class(pic_processor_t);
97
int gp_processor_bsr_boundary(pic_processor_t processor);
98
unsigned long gp_processor_coff_type(pic_processor_t processor);
99
int gp_processor_num_pages(pic_processor_t processor);
100
int gp_processor_num_banks(pic_processor_t processor);
101
pic_processor_t gp_processor_coff_proc(unsigned long coff_type);
102
char *gp_processor_name(pic_processor_t processor, unsigned int choice);
433
103
char *gp_processor_coff_name(unsigned long coff_type, unsigned int choice);
434
char *gp_processor_script(enum pic_processor processor);
104
char *gp_processor_script(pic_processor_t processor);
435
105
int gp_processor_rom_width(enum proc_class class);
436
106
int gp_processor_check_page(enum proc_class class, int address);
437
107
int gp_processor_check_bank(enum proc_class class, int address);