source: trunk/softs/tsar_boot/include/reset_utils.h @ 672

Last change on this file since 672 was 655, checked in by cfuguet, 11 years ago

Fixing bug introduced in last commit :

  • When using IO bridge, some header files were missing in the reset_utils.h file
File size: 929 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#include <defs_platform.h>
13#include <mcc.h>
14#include <io.h>
15
16extern unsigned int proctime();
17
18extern void* memcpy(void *_dst, const void *_src, unsigned int size);
19
20extern void* memset(void *_dst, const int value, unsigned int size);
21
22extern void reset_print_elf_phdr(Elf32_Phdr * elf_phdr_ptr);
23
24#if USE_IOB
25void reset_mcc_invalidate ( const void * buffer,
26                            unsigned int size);
27#endif /* USE_IOB */
28
29#if (CACHE_COHERENCE == 0) || USE_IOB
30void reset_buf_invalidate ( const void * buffer,
31                            unsigned int line_size,
32                            unsigned int size);
33#endif /* (CACHE_COHERENCE == 0) || USE_IOB */
34#endif /* BOOT_UTILS_H */
35
36// vim: tabstop=4 : softtabstop=4 : shiftwidth=4 : expandtab
37
Note: See TracBrowser for help on using the repository browser.