|
Last change
on this file since 653 was
653,
checked in by cfuguet, 12 years ago
|
|
Introducing a RAMDISK driver in the preloader.
When using RAMDISK, execute the make command with the flags
SOCLIB=1 and RAMDISK=1. The RDK_PADDR_BASE variable must
also be set on the conf/<platform>/defs_platform.h
These modifications are backward compatibles. Therefore,
when no using RAMDISK, none modifications applied on the
platform configuration file.
|
|
File size:
869 bytes
|
| Line | |
|---|
| 1 | /* |
|---|
| 2 | * \file : reset_utils.h |
|---|
| 3 | * \date : August 2012 |
|---|
| 4 | * \author : Cesar Fuguet |
|---|
| 5 | */ |
|---|
| 6 | |
|---|
| 7 | #ifndef BOOT_UTILS_H |
|---|
| 8 | #define BOOT_UTILS_H |
|---|
| 9 | |
|---|
| 10 | #include <elf-types.h> |
|---|
| 11 | #include <reset_tty.h> |
|---|
| 12 | |
|---|
| 13 | extern unsigned int proctime(); |
|---|
| 14 | |
|---|
| 15 | extern void* memcpy(void *_dst, const void *_src, unsigned int size); |
|---|
| 16 | |
|---|
| 17 | extern void* memset(void *_dst, const int value, unsigned int size); |
|---|
| 18 | |
|---|
| 19 | extern void reset_print_elf_phdr(Elf32_Phdr * elf_phdr_ptr); |
|---|
| 20 | |
|---|
| 21 | #if USE_IOB |
|---|
| 22 | void reset_mcc_invalidate ( const void * buffer, |
|---|
| 23 | unsigned int size); |
|---|
| 24 | #endif /* USE_IOB */ |
|---|
| 25 | |
|---|
| 26 | #if (CACHE_COHERENCE == 0) || USE_IOB |
|---|
| 27 | void reset_buf_invalidate ( const void * buffer, |
|---|
| 28 | unsigned int line_size, |
|---|
| 29 | unsigned int size); |
|---|
| 30 | #endif /* (CACHE_COHERENCE == 0) || USE_IOB */ |
|---|
| 31 | #endif /* BOOT_UTILS_H */ |
|---|
| 32 | |
|---|
| 33 | // vim: tabstop=4 : softtabstop=4 : shiftwidth=4 : expandtab |
|---|
| 34 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.