source: umon/ports/csb740/tfsdev.h @ b987a75

Last change on this file since b987a75 was b987a75, checked in by Jarielle Catbagan <jcatbagan93@…>, on Jun 19, 2015 at 9:32:43 PM

Removed execution mode file attribute from all ASCII text files

  • Property mode set to 100644
File size: 998 bytes
Line 
1/* tfsdev.h:
2    This file is ONLY included by tfs.c.  It is seperate from tfs.h because
3    it is target-specific.  It is not part of config.h because it includes
4    the declaration of the tfsdevtbl[].
5    A prefix in the name of the file determines what device is used to store
6    that file.  If no prefix is found the the first device in the table is
7    used as a default.  The syntax of the prefix is "//STRING/" where STRING
8    is user-definable, but the initial // and final / are required by tfs
9    code.
10*/
11
12struct tfsdev tfsdevtbl[] = {
13    {   "//FLASH/",
14        TFSSTART,
15        TFSEND,
16        TFSSPARE,
17        TFSSPARESIZE,
18        TFSSECTORCOUNT,
19        TFS_DEVTYPE_FLASH, },
20
21#ifdef FLASHRAM_BASE
22    {   "//RAM/",
23        FLASHRAM_BASE,
24        FLASHRAM_END-FLASHRAM_SECTORSIZE,
25        FLASHRAM_END-FLASHRAM_SECTORSIZE+1,
26        FLASHRAM_SECTORSIZE,
27        FLASHRAM_SECTORCOUNT-1,
28        TFS_DEVTYPE_RAM | TFS_DEVINFO_AUTOINIT, },
29#endif
30    { 0, TFSEOT,0,0,0,0,0 }
31};
Note: See TracBrowser for help on using the repository browser.