summaryrefslogtreecommitdiff
path: root/include/leon.h
blob: 47ef5fb6ad849b8b6bf8854f8ffd490507f7cb17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#if defined(HEADER_WARNING)
#warning "This header should not be included directly."
#endif


#if defined(__rtems_sparc_leon2__)
#  include <sparc/leon2/leon.h>
#elif defined(__rtems_sparc_leon3__)
#  include <sparc/leon3/leon.h>
#elif defined(__rtems_sparc_ngmp__)
#  include <sparc/ngmp/leon.h>
#else
#  error "__rtems_<arch>_<bsp>__ must be defined, for example: __rtems_sparc_erc32__"
#endif