2007-12-01 Till Straumann <strauman@slac.stanford.edu>

* shared/vme/vmeconfig.c: Include <libcpu/bat.h> only
	if the BSP-specific configuration header (VMEConfig.h)
	defines BSP_VME_BAT_IDX so that this file can be used
	on CPUs w/o bats (e500).
This commit is contained in:
Till Straumann
2007-12-01 21:23:42 +00:00
parent d8eb6c703e
commit c982f8039a
2 changed files with 9 additions and 0 deletions

View File

@@ -1,3 +1,10 @@
2007-12-01 Till Straumann <strauman@slac.stanford.edu>
* shared/vme/vmeconfig.c: Include <libcpu/bat.h> only
if the BSP-specific configuration header (VMEConfig.h)
defines BSP_VME_BAT_IDX so that this file can be used
on CPUs w/o bats (e500).
2007-11-30 Till Straumann <strauman@slac.stanford.edu>
* shared/startup/bspstart: removed _Cpu_table.exceptions_in_RAM.

View File

@@ -52,7 +52,9 @@
#include <bsp.h>
#include <bsp/VME.h>
#include <bsp/VMEConfig.h>
#ifdef BSP_VME_BAT_IDX
#include <libcpu/bat.h>
#endif
#include <rtems/bspIo.h>
extern int BSP_VMEInit();