Last change
on this file since 468 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:
685 bytes
|
Rev | Line | |
---|
[258] | 1 | #ifndef SRL_MEMSPACE_H |
---|
| 2 | #define SRL_MEMSPACE_H |
---|
| 3 | |
---|
| 4 | #include "srl_public_types.h" |
---|
| 5 | |
---|
| 6 | #include <memspace.h> |
---|
| 7 | |
---|
| 8 | /** |
---|
| 9 | * @file |
---|
| 10 | * @module{SRL} |
---|
| 11 | * @short Memory resources |
---|
| 12 | */ |
---|
| 13 | |
---|
| 14 | |
---|
| 15 | /** |
---|
| 16 | The memspace abstract type. |
---|
| 17 | */ |
---|
| 18 | |
---|
| 19 | |
---|
| 20 | typedef giet_memspace_t * srl_memspace_t; |
---|
| 21 | |
---|
| 22 | /** |
---|
| 23 | @this retrieves the size of a memspace |
---|
| 24 | |
---|
| 25 | @param memsp The memspace |
---|
| 26 | @return the size of the memspace |
---|
| 27 | */ |
---|
| 28 | #define SRL_MEMSPACE_SIZE(memsp) ((memsp)->size) |
---|
| 29 | #define SRL_MEMSPACE_ADDR(memsp) ((memsp)->buffer) |
---|
| 30 | |
---|
| 31 | |
---|
| 32 | #endif |
---|
| 33 | |
---|
| 34 | // Local Variables: |
---|
| 35 | // tab-width: 4 |
---|
| 36 | // c-basic-offset: 4 |
---|
| 37 | // c-file-offsets:((innamespace . 0)(inline-open . 0)) |
---|
| 38 | // indent-tabs-mode: nil |
---|
| 39 | // End: |
---|
| 40 | // vim: filetype=c:expandtab:shiftwidth=4:tabstop=4:softtabstop=4 |
---|
| 41 | |
---|
Note: See
TracBrowser
for help on using the repository browser.