4.104.115
Last change
on this file since 0de9fdf was
0de9fdf,
checked in by Joel Sherrill <joel.sherrill@…>, on 09/23/08 at 19:53:41
|
2008-09-23 Joel Sherrill <joel.sherrill@…>
- bootcard.c, include/bootcard.h: Make letting boot_card() handle work
area allocation mandatory. Rename
RTEMS_BSP_BOOTCARD_HANDLES_RAM_ALLOCATION to BSP_BOOTCARD_OPTIONS.
|
-
Property mode set to
100644
|
File size:
1.2 KB
|
Line | |
---|
1 | /** |
---|
2 | * @file |
---|
3 | * |
---|
4 | * @ingroup bsp_shared |
---|
5 | * |
---|
6 | * @brief Header file for basic BSP startup functions. |
---|
7 | */ |
---|
8 | |
---|
9 | /* |
---|
10 | * Copyright (c) 2008 |
---|
11 | * Embedded Brains GmbH |
---|
12 | * Obere Lagerstr. 30 |
---|
13 | * D-82178 Puchheim |
---|
14 | * Germany |
---|
15 | * rtems@embedded-brains.de |
---|
16 | * |
---|
17 | * The license and distribution terms for this file may be found in the file |
---|
18 | * LICENSE in this distribution or at http://www.rtems.com/license/LICENSE. |
---|
19 | * |
---|
20 | * $Id$ |
---|
21 | */ |
---|
22 | |
---|
23 | /** |
---|
24 | * @defgroup bsp_shared Shared BSP Code |
---|
25 | */ |
---|
26 | |
---|
27 | #ifndef LIBBSP_SHARED_BOOTCARD_H |
---|
28 | #define LIBBSP_SHARED_BOOTCARD_H |
---|
29 | |
---|
30 | #include <stddef.h> |
---|
31 | #include <stdint.h> |
---|
32 | |
---|
33 | #include <bspopts.h> |
---|
34 | |
---|
35 | #ifdef __cplusplus |
---|
36 | extern "C" { |
---|
37 | #endif /* __cplusplus */ |
---|
38 | |
---|
39 | void bsp_start(void); |
---|
40 | |
---|
41 | void bsp_pretasking_hook(void); |
---|
42 | |
---|
43 | void bsp_predriver_hook(void); |
---|
44 | |
---|
45 | void bsp_postdriver_hook(void); |
---|
46 | |
---|
47 | void bsp_cleanup(void); |
---|
48 | |
---|
49 | void bsp_reset(void); |
---|
50 | |
---|
51 | #define BSP_BOOTCARD_HEAP_USES_WORK_AREA NULL |
---|
52 | |
---|
53 | #define BSP_BOOTCARD_HEAP_SIZE_DEFAULT 0 |
---|
54 | |
---|
55 | void bsp_get_work_area( |
---|
56 | void **work_area_start, |
---|
57 | size_t *work_area_size, |
---|
58 | void **heap_start, |
---|
59 | size_t *heap_size |
---|
60 | ); |
---|
61 | |
---|
62 | int boot_card( int argc, char **argv, char **envp); |
---|
63 | |
---|
64 | void bsp_libc_init( void *heap_start, size_t heap_size, size_t sbrk_amount); |
---|
65 | |
---|
66 | #ifdef __cplusplus |
---|
67 | } |
---|
68 | #endif /* __cplusplus */ |
---|
69 | |
---|
70 | #endif /* LIBBSP_SHARED_BOOTCARD_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.