mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-21 01:58:44 +08:00
2001-10-29 Joel Sherrill <joel@OARcorp.com>
* include/bsp.h: Modify Install_tm27_vector() so this BSP will link tm27. * startup/linkcmds: Fix definition of .init and .fini sections so this BSP will properly link with new __USE_INIT_FINI__ support.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2001-10-29 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* include/bsp.h: Modify Install_tm27_vector() so this BSP will link tm27.
|
||||
* startup/linkcmds: Fix definition of .init and .fini sections so this
|
||||
BSP will properly link with new __USE_INIT_FINI__ support.
|
||||
|
||||
2001-10-25 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* startup/linkcmds: Added _init and _fini.
|
||||
|
||||
@@ -73,7 +73,7 @@ extern int rtems_enet_driver_attach (struct rtems_bsdnet_ifconfig *config);
|
||||
|
||||
#define MUST_WAIT_FOR_INTERRUPT 0
|
||||
|
||||
#define Install_tm27_vector( handler ) set_vector( (handler), PPC_IRQ_SCALL, 1 )
|
||||
#define Install_tm27_vector( handler ) /* set_vector( (handler), PPC_IRQ_SCALL, 1 ) */
|
||||
|
||||
#define Cause_tm27_intr() asm volatile ("sc")
|
||||
|
||||
|
||||
@@ -64,8 +64,8 @@ SECTIONS
|
||||
|
||||
*(.lit)
|
||||
*(.shdata)
|
||||
.init : { _init = .; *(.init) }
|
||||
.fini : { _fini = .; *(.fini) }
|
||||
_init = .; *(.init)
|
||||
_fini = .; *(.fini)
|
||||
_endtext = .;
|
||||
text.end = .;
|
||||
} > ram
|
||||
|
||||
Reference in New Issue
Block a user