PR 1257/bsps
* irq/irq.c: Code outside of cpukit should use the public API for
rtems_interrupt_disable/rtems_interrupt_enable. By bypassing the
public API and directly accessing _CPU_ISR_Disable and
_CPU_ISR_Enable, they were bypassing the compiler memory barrier
directive which could lead to problems. This patch also changes the
type of the variable passed into these routines and addresses minor
style issues.
PR 1257/bsps
* irq/GT64260Int.c, irq/irq.c: Code outside of cpukit should use the
public API for rtems_interrupt_disable/rtems_interrupt_enable. By
bypassing the public API and directly accessing _CPU_ISR_Disable and
_CPU_ISR_Enable, they were bypassing the compiler memory barrier
directive which could lead to problems. This patch also changes the
type of the variable passed into these routines and addresses minor
style issues.
PR 1257/bsps
* startup/bspclean.c: Code outside of cpukit should use the public API
for rtems_interrupt_disable/rtems_interrupt_enable. By bypassing the
public API and directly accessing _CPU_ISR_Disable and
_CPU_ISR_Enable, they were bypassing the compiler memory barrier
directive which could lead to problems. This patch also changes the
type of the variable passed into these routines and addresses minor
style issues.
PR 1257/bsps
* shared/irq/idt.c, shared/irq/irq.c, shared/irq/irq_init.c: Code
outside of cpukit should use the public API for
rtems_interrupt_disable/rtems_interrupt_enable. By bypassing the
public API and directly accessing _CPU_ISR_Disable and
_CPU_ISR_Enable, they were bypassing the compiler memory barrier
directive which could lead to problems. This patch also changes the
type of the variable passed into these routines and addresses minor
style issues.
PR 1257/bsps
* console/inch.c, console/keyboard.c, console/pc_keyb.c, console/vt.c:
Code outside of cpukit should use the public API for
rtems_interrupt_disable/rtems_interrupt_enable. By bypassing the
public API and directly accessing _CPU_ISR_Disable and
_CPU_ISR_Enable, they were bypassing the compiler memory barrier
directive which could lead to problems. This patch also changes the
type of the variable passed into these routines and addresses minor
style issues.
PR 1257/bsps
* csb336/network/lan91c11x.c, csb337/startup/bspstart.c,
edb7312/irq/irq.c, gba/irq/irq.c, gba/irq/irq_init.c,
gp32/startup/bspstart.c, rtl22xx/startup/bspstart.c,
shared/abort/abort.c, shared/abort/simple_abort.c,
shared/irq/irq_init.c: Code outside of cpukit should use the public
API for rtems_interrupt_disable/rtems_interrupt_enable. By bypassing
the public API and directly accessing _CPU_ISR_Disable and
_CPU_ISR_Enable, they were bypassing the compiler memory barrier
directive which could lead to problems. This patch also changes the
type of the variable passed into these routines and addresses minor
style issues.
* startup/bspstart.c: Add a useful routine to program memory protection
in bfin. It is not used but a user of ezKit533 can customize its bsp
and use this function.
* Makefile.am, preinstall.am: New files, split of printk.
* console/console.c, console/debugputs.c: Split printk support out.
* include/spacewire.h: Removed.
* Makefile.am, preinstall.am: Use the following new drivers from
sparc/shared: PCI, b1553BRM, SpaceWire(GRSPW), CAN (GRCAN), Raw UART.
* shared/bspstart.c: LEON2 and LEON3 Data cache snooping detection on
startup, for drivers. (LEON2,3 are configurable processors, they can
be with or without DCache snooping. Caches without snooping needs the
drivers to flush cache or use the sparc instruction lda to force
cache miss...)
* include/bsp.h, startup/bspstart.c: LEON2 and LEON3 Data cache
snooping detection on startup, for drivers. (LEON2,3 are configurable
processors, they can be with or without DCache snooping. Caches
without snooping needs the drivers to flush cache or use the sparc
instruction lda to force cache miss...)
* include/bsp.h: LEON2 and LEON3 Data cache snooping detection on
startup, for drivers. (LEON2,3 are configurable processors, they can
be with or without DCache snooping. Caches without snooping needs the
drivers to flush cache or use the sparc instruction lda to force
cache miss...)
* Makefile.am: LEON3 AMBA PnP bus scanning moved to shared/amba/amba.c
and shared/include/ambapp.h. The AMBA scanning was improved to take
account for PnP info address translation. This is useful when
scanning remote AMBA busses for example when a board connected with
PCI has an AMBA bus that needs to be scanned, before the addresses
was hard coded. Also, LEON2 now have AMBA PnP bus scanning support.
By using the new AMBA scanning routines it is possible to isolate the
AMBA scanning code to ambapp.c, however existing drivers should be
updated to use them in order to save space.
* Makefile.am, preinstall.am, amba/amba.c, include/amba.h,
include/leon.h: LEON3 AMBA PnP bus scanning moved to
shared/amba/amba.c and shared/include/ambapp.h. The AMBA scanning was
improved to take account for PnP info address translation. This is
useful when scanning remote AMBA busses for example when a board
connected with PCI has an AMBA bus that needs to be scanned, before
the addresses was hard coded. Also, LEON2 now have AMBA PnP bus
scanning support. By using the new AMBA scanning routines it is
possible to isolate the AMBA scanning code to ambapp.c, however
existing drivers should be updated to use them in order to save
space.
* Makefile.am, preinstall.am: LEON3 AMBA PnP bus scanning moved to
shared/amba/amba.c and shared/include/ambapp.h. The AMBA scanning was
improved to take account for PnP info address translation. This is
useful when scanning remote AMBA busses for example when a board
connected with PCI has an AMBA bus that needs to be scanned, before
the addresses was hard coded. Also, LEON2 now have AMBA PnP bus
scanning support. By using the new AMBA scanning routines it is
possible to isolate the AMBA scanning code to ambapp.c, however
existing drivers should be updated to use them in order to save
space.