Rev 11 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 11 | Rev 362 | ||
|---|---|---|---|
| Line 83... | Line 83... | ||
| 83 | printf(" -m=AddressModifier - VME address modifier for accesses. (Default: 0x%02x)\n", DEFAULT_MODIFIER);  | 
            83 | printf(" -m=AddressModifier - VME address modifier for accesses. (Default: 0x%02x)\n", DEFAULT_MODIFIER);  | 
          
| 84 | printf(" -? - this help.\n");  | 
            84 | printf(" -? - this help.\n");  | 
          
| 85 | } | 
            85 | } | 
          
| 86 | 86 | ||
| 87 | /*--- TEST RAM LOOP ------------------------------------------------------------------------------*/ | 
            87 | /*--- TEST RAM LOOP ------------------------------------------------------------------------------*/ | 
          
| 88 | __u32 SimpleRamTest(  | 
            88 | __u32 SimpleRamTest(ptrdiff_t handle, __u32 start, __u32 length, __u8 accessWidth)  | 
          
| 89 | { | 
            89 | { | 
          
| 90 | int error = 0;  | 
            90 | int error = 0;  | 
          
| 91 | __u32 r, w;  | 
            91 | __u32 r, w;  | 
          
| 92 | __u32 dwErrorCount = 0;  | 
            92 | __u32 dwErrorCount = 0;  | 
          
| 93 | 93 | ||
| Line 151... | Line 151... | ||
| 151 | char *fname = DEVICE_NAME;  | 
            151 | char *fname = DEVICE_NAME;  | 
          
| 152 | char *ptr;  | 
            152 | char *ptr;  | 
          
| 153 | char ch;  | 
            153 | char ch;  | 
          
| 154 | int i;  | 
            154 | int i;  | 
          
| 155 | int error = 0;  | 
            155 | int error = 0;  | 
          
| 156 | 
  | 
            156 |     ptrdiff_t  handle; | 
          
| 157 | __u8 bAddressModifier = DEFAULT_MODIFIER;  | 
            157 | __u8 bAddressModifier = DEFAULT_MODIFIER;  | 
          
| 158 | __u8 bAccessWidth = DEFAULT_WIDTH;  | 
            158 | __u8 bAccessWidth = DEFAULT_WIDTH;  | 
          
| 159 | __u32 dwStartAddress = -1;  | 
            159 | __u32 dwStartAddress = -1;  | 
          
| 160 | __u32 dwLength = -1;  | 
            160 | __u32 dwLength = -1;  | 
          
| 161 | 161 | ||