Last change
on this file since 372 was
258,
checked in by alain, 11 years ago
|
This is a major release, including a deep restructuration of code.
The main evolutions are
- use of the Tsar preloader to load the GIET boot-loader from disk
- introduction of a FAT32 file system library,
- use of this fat32 library by the boot-loader to load the
map.bin data structure, and the various .elf files
- reorganisation of drivers (one file per peripheral).
- introduction of drivers for new peripherals:
vci_chbuf_dma and vci_multi_ahci.
- introduction of a new physical memory allocator in the boot code.
This release has been tested on the tsar_generic_iob architecture,
for the two following mappings: 4c_1p_iob_four.xml and 4c_1p_iob_sort.xml
|
-
Property svn:executable set to
*
|
File size:
986 bytes
|
Rev | Line | |
---|
[258] | 1 | #ifndef SRL_PUBLIC_TYPES_H |
---|
| 2 | #define SRL_PUBLIC_TYPES_H |
---|
| 3 | |
---|
| 4 | /** |
---|
| 5 | * @file |
---|
| 6 | * @module{SRL} |
---|
| 7 | * @short Abstract types definitions |
---|
| 8 | */ |
---|
| 9 | |
---|
| 10 | typedef unsigned long uint_t; |
---|
| 11 | typedef signed long sint_t; |
---|
| 12 | |
---|
| 13 | typedef unsigned char uint8_t; |
---|
| 14 | typedef signed char sint8_t; |
---|
| 15 | typedef signed short int int8_t; |
---|
| 16 | |
---|
| 17 | typedef unsigned short int uint16_t; |
---|
| 18 | typedef signed short int sint16_t; |
---|
| 19 | typedef signed short int int16_t; |
---|
| 20 | |
---|
| 21 | typedef unsigned int uint32_t; |
---|
| 22 | typedef signed int sint32_t; |
---|
| 23 | typedef signed int int32_t; |
---|
| 24 | |
---|
| 25 | typedef sint32_t error_t; |
---|
| 26 | typedef uint_t bool_t; |
---|
| 27 | |
---|
| 28 | typedef void *srl_buffer_t; |
---|
| 29 | |
---|
| 30 | |
---|
| 31 | #ifndef NULL |
---|
| 32 | #define NULL (void*)0 |
---|
| 33 | #endif |
---|
| 34 | |
---|
| 35 | /** Get integer minimum value */ |
---|
| 36 | #define __MIN(a, b) ({ const typeof(a) __a = (a); const typeof(b) __b = (b); __b < __a ? __b : __a; }) |
---|
| 37 | |
---|
| 38 | /** Get integer maximum value */ |
---|
| 39 | #define __MAX(a, b) ({ const typeof(a) __a = (a); const typeof(b) __b = (b); __b > __a ? __b : __a; }) |
---|
| 40 | |
---|
| 41 | |
---|
| 42 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.