Last change
on this file since 279 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:
687 bytes
|
Rev | Line | |
---|
[258] | 1 | //////////////////////////////////////////////////////////////////////////// |
---|
| 2 | // File : malloc.h |
---|
| 3 | // Date : 05/03/2013 |
---|
| 4 | // Author : Jean-Baptiste Bréjon |
---|
| 5 | // Copyright (c) UPMC-LIP6 |
---|
| 6 | //////////////////////////////////////////////////////////////////////////// |
---|
| 7 | |
---|
| 8 | #ifndef _MALLOC_H_ |
---|
| 9 | #define _MALLOC_H_ |
---|
| 10 | //#define DEBUG_MALLOC 1 |
---|
| 11 | |
---|
| 12 | #include "giet_config.h" |
---|
| 13 | #include "spin_lock.h" |
---|
| 14 | |
---|
| 15 | //#define MALLOC_SELECTED 2 |
---|
| 16 | |
---|
| 17 | void * malloc(unsigned int size); |
---|
| 18 | void free(void * ptr); |
---|
| 19 | |
---|
| 20 | |
---|
| 21 | #endif |
---|
| 22 | |
---|
| 23 | // Local Variables: |
---|
| 24 | // tab-width: 4 |
---|
| 25 | // c-basic-offset: 4 |
---|
| 26 | // c-file-offsets:((innamespace . 0)(inline-open . 0)) |
---|
| 27 | // indent-tabs-mode: nil |
---|
| 28 | // End: |
---|
| 29 | // vim: filetype=c:expandtab:shiftwidth=4:tabstop=4:softtabstop=4 |
---|
| 30 | |
---|
Note: See
TracBrowser
for help on using the repository browser.