1 | ## Process this file with autoconf to produce a configure script. |
---|
2 | |
---|
3 | AC_PREREQ([2.69]) |
---|
4 | AC_INIT([rtems-c-src-lib-libbsp-powerpc-psim],[_RTEMS_VERSION],[https://devel.rtems.org/newticket]) |
---|
5 | RTEMS_TOP(../../../../../..) |
---|
6 | RTEMS_SOURCE_TOP |
---|
7 | RTEMS_BUILD_TOP |
---|
8 | RTEMS_BSP_LINKCMDS |
---|
9 | |
---|
10 | RTEMS_CANONICAL_TARGET_CPU |
---|
11 | AM_INIT_AUTOMAKE([no-define nostdinc foreign 1.12.2]) |
---|
12 | RTEMS_BSP_CONFIGURE |
---|
13 | |
---|
14 | |
---|
15 | |
---|
16 | |
---|
17 | RTEMS_BSPOPTS_SET([PPC_USE_SPRG],[*],[0]) |
---|
18 | RTEMS_BSPOPTS_HELP([PPC_USE_SPRG], |
---|
19 | [If defined, then the PowerPC specific code in RTEMS will use some |
---|
20 | of the special purpose registers to slightly optimize interrupt |
---|
21 | response time. The use of these registers can conflict with |
---|
22 | other tools like debuggers.]) |
---|
23 | |
---|
24 | RTEMS_BSPOPTS_SET([PPC_VECTOR_FILE_BASE],[*],[0xFFF00100]) |
---|
25 | RTEMS_BSPOPTS_HELP([PPC_VECTOR_FILE_BASE], |
---|
26 | [This defines the base address of the exception table. |
---|
27 | NOTE: Vectors are actually at 0xFFF00000 but file starts at offset.]) |
---|
28 | |
---|
29 | RTEMS_BSPOPTS_SET([CLOCK_DRIVER_USE_FAST_IDLE],[psim],[1]) |
---|
30 | RTEMS_BSPOPTS_HELP([CLOCK_DRIVER_USE_FAST_IDLE], |
---|
31 | [This sets a mode where the time runs as fast as possible when |
---|
32 | a clock ISR occurs while the IDLE thread is executing. This can |
---|
33 | significantly reduce simulation times.]) |
---|
34 | |
---|
35 | RTEMS_BSPOPTS_SET([CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK], [*], [1]) |
---|
36 | RTEMS_BSPOPTS_HELP([CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK], |
---|
37 | [If defined then the BSP may reduce the available memory size |
---|
38 | initially. This can be useful for debugging (reduce the core |
---|
39 | size) or dynamic loading (std gcc text offsets/jumps are < +/-32M). |
---|
40 | Note that the policy can still be defined by the application |
---|
41 | (see sbrk.c, BSP_sbrk_policy). By undefining |
---|
42 | CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK this feature is removed |
---|
43 | and a little memory is saved.]) |
---|
44 | |
---|
45 | RTEMS_BSPOPTS_SET([BSP_INTERRUPT_STACK_AT_WORK_AREA_BEGIN],[*],[1]) |
---|
46 | RTEMS_BSPOPTS_HELP([BSP_INTERRUPT_STACK_AT_WORK_AREA_BEGIN],[indicate that the interrupt stack is at the work area begin]) |
---|
47 | |
---|
48 | RTEMS_BSP_CLEANUP_OPTIONS |
---|
49 | |
---|
50 | # Explicitly list all Makefiles here |
---|
51 | AC_CONFIG_FILES([Makefile]) |
---|
52 | |
---|
53 | RTEMS_PPC_EXCEPTIONS |
---|
54 | |
---|
55 | AC_OUTPUT |
---|