source: rtems/c/src/lib/libcpu/powerpc/configure.ac @ 0d776cd2

4.104.114.84.9
Last change on this file since 0d776cd2 was 0d776cd2, checked in by Joel Sherrill <joel.sherrill@…>, on May 14, 2002 at 4:56:44 PM

2001-05-14 Till Straumann <strauman@…>

  • rtems/powerpc/registers.h, rtems/score/ppc.h: Per PR213, add the following:
    • support for the MPC74000 (AKA G4); there is no AltiVec? support yet, however.
    • the cache flushing assembly code uses hardware-flush on the G4. Also, a couple of hardcoded numerical values were replaced by more readable symbolic constants.
    • extended interrupt-disabled code section so enclose the entire cache flush/invalidate procedure (as recommended by the book). This is not (latency) critical as it is only used by init code but prevents possible corruption.
    • Trivial page table support as been added. (1:1 effective-virtual-physical address mapping which is only useful only on CPUs which feature hardware TLB replacement, e.g. >604. This allows for write-protecting memory regions, e.g. text/ro-data which makes catching corruptors a lot easier. It also frees one DBAT/IBAT and gives more flexibility for setting up address maps :-)
    • setdbat() allows changing BAT0 also (since the BSP may use a page table, BAT0 could be available...).
    • asm_setdbatX() violated the SVR ABI by using r20 as a scratch register; changed for r0
    • according to the book, a context synchronizing instruction is necessary prior to and after changing a DBAT -> isync added
  • Property mode set to 100644
File size: 2.4 KB
Line 
1## Process this file with autoconf to produce a configure script.
2##
3## $Id$
4
5AC_PREREQ(2.52)
6AC_INIT([rtems-c-src-lib-libcpu-powerpc],[_RTEMS_VERSION],[rtems-bugs@OARcorp.com])
7AC_CONFIG_SRCDIR([mpc6xx])
8RTEMS_TOP(../../../../..)
9AC_CONFIG_AUX_DIR(../../../../..)
10
11RTEMS_CANONICAL_TARGET_CPU
12
13AM_INIT_AUTOMAKE([no-define foreign 1.6])
14AM_MAINTAINER_MODE
15
16RTEMS_ENABLE_BARE
17RTEMS_ENV_RTEMSBSP
18
19RTEMS_CHECK_CPU
20RTEMS_CANONICAL_HOST
21
22RTEMS_PROJECT_ROOT
23
24RTEMS_PROG_CC_FOR_TARGET
25RTEMS_CANONICALIZE_TOOLS
26
27RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
28RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
29
30AM_CONDITIONAL(shared, test "$RTEMS_CPU_MODEL" = "mpc750" \
31|| test "$RTEMS_CPU_MODEL" = "mpc7400" \
32|| test "$RTEMS_CPU_MODEL" = "ppc603e" \
33|| test "$RTEMS_CPU_MODEL" = "mpc604" \
34|| test "$RTEMS_CPU_MODEL" = "mpc6xx" \
35|| test "$RTEMS_CPU_MODEL" = "mpc821" \
36|| test "$RTEMS_CPU_MODEL" = "mpc860" \
37|| test "$RTEMS_CPU_MODEL" = "mpc8260" \
38|| test "$RTEMS_CPU_MODEL" = "mpc8xx" )
39
40## test on CPU type
41AM_CONDITIONAL(mpc505, test "$RTEMS_CPU_MODEL" = "mpc505")
42AM_CONDITIONAL(mpc6xx, test "$RTEMS_CPU_MODEL" = "mpc6xx" \
43|| test "$RTEMS_CPU_MODEL" = "mpc604" \
44|| test "$RTEMS_CPU_MODEL" = "mpc7400" \
45|| test "$RTEMS_CPU_MODEL" = "mpc750" )
46AM_CONDITIONAL(mpc8xx, test "$RTEMS_CPU_MODEL" = "mpc8xx" \
47|| test "$RTEMS_CPU_MODEL" = "mpc821" \
48|| test "$RTEMS_CPU_MODEL" = "mpc860" )
49AM_CONDITIONAL(mpc8260, test "$RTEMS_CPU_MODEL" = "mpc8260")
50AM_CONDITIONAL(ppc403, test "$RTEMS_CPU_MODEL" = "ppc403")
51AM_CONDITIONAL(ppc405, test "$RTEMS_CPU_MODEL" = "ppc405")
52
53# Explicitly list all Makefiles here
54AC_CONFIG_FILES([Makefile
55mpc505/Makefile
56mpc505/timer/Makefile
57mpc505/vectors/Makefile
58mpc505/ictrl/Makefile
59mpc8xx/Makefile
60mpc8xx/clock/Makefile
61mpc8xx/console-generic/Makefile
62mpc8xx/cpm/Makefile
63mpc8xx/exceptions/Makefile
64mpc8xx/include/Makefile
65mpc8xx/mmu/Makefile
66mpc8xx/timer/Makefile
67ppc403/Makefile
68ppc403/clock/Makefile
69ppc403/console/Makefile
70ppc403/tty_drv/Makefile
71ppc403/ictrl/Makefile
72ppc403/timer/Makefile
73ppc403/vectors/Makefile
74mpc6xx/Makefile
75mpc6xx/clock/Makefile
76mpc6xx/timer/Makefile
77mpc6xx/exceptions/Makefile
78mpc6xx/mmu/Makefile
79mpc6xx/timer/Makefile
80mpc6xx/wrapup/Makefile
81mpc8260/Makefile
82mpc8260/clock/Makefile
83mpc8260/console-generic/Makefile
84mpc8260/include/Makefile
85mpc8260/timer/Makefile
86mpc8260/exceptions/Makefile
87mpc8260/mmu/Makefile
88mpc8260/cpm/Makefile
89shared/Makefile
90shared/include/Makefile
91shared/src/Makefile
92wrapup/Makefile])
93AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.