mirror of https://github.com/zrafa/xinu-avr.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
970 B
24 lines
970 B
/* name.h */ |
|
|
|
/* avr specific values. Original saved under orig/ folder */ |
|
|
|
/* Constants that define the namespace mapping table sizes */ |
|
|
|
#define NM_PRELEN 16 /* Max size of a prefix string */ |
|
// RAFA #define NM_REPLLEN 8 /* Maximum size of a replacement*/ |
|
// RAFA #define NM_MAXLEN 8 /* Maximum size of a file name */ |
|
// #define NM_REPLLEN 16 /* Maximum size of a replacement*/ |
|
#define NM_REPLLEN 1 /* Maximum size of a replacement*/ |
|
#define NM_MAXLEN 16 /* Maximum size of a file name */ |
|
#define NNAMES 4 /* Number of prefix definitions */ |
|
|
|
/* Definition of the name prefix table that defines all name mappings */ |
|
|
|
struct nmentry { /* Definition of prefix table */ |
|
char nprefix[NM_PRELEN]; /* Null-terminated prefix */ |
|
char nreplace[NM_REPLLEN]; /* Null-terminated replacement */ |
|
did32 ndevice; /* Device descriptor for prefix */ |
|
}; |
|
|
|
extern struct nmentry nametab[]; /* Table of name mappings */ |
|
extern int32 nnames; /* Number of entries allocated */
|
|
|