diff options
Diffstat (limited to 'c/src/lib/libbsp/sparc')
-rw-r--r-- | c/src/lib/libbsp/sparc/erc32/include/bsp.h | 1 | ||||
-rw-r--r-- | c/src/lib/libbsp/sparc/erc32/include/erc32.h | 2 | ||||
-rw-r--r-- | c/src/lib/libbsp/sparc/erc32/startup/boardinit.S | 1 | ||||
-rw-r--r-- | c/src/lib/libbsp/sparc/erc32/timer/timer.c | 1 | ||||
-rw-r--r-- | c/src/lib/libbsp/sparc/leon/console/console.c | 1 | ||||
-rw-r--r-- | c/src/lib/libbsp/sparc/leon/include/bsp.h | 2 | ||||
-rw-r--r-- | c/src/lib/libbsp/sparc/leon/include/leon.h | 2 | ||||
-rw-r--r-- | c/src/lib/libbsp/sparc/leon/leon_open_eth/leon_open_eth.c | 1 | ||||
-rw-r--r-- | c/src/lib/libbsp/sparc/leon/startup/boardinit.S | 1 | ||||
-rw-r--r-- | c/src/lib/libbsp/sparc/leon/timer/timer.c | 1 | ||||
-rw-r--r-- | c/src/lib/libbsp/sparc/shared/bspclean.c | 1 | ||||
-rw-r--r-- | c/src/lib/libbsp/sparc/shared/bspstart.c | 1 | ||||
-rw-r--r-- | c/src/lib/libbsp/sparc/shared/start.S | 5 |
13 files changed, 0 insertions, 20 deletions
diff --git a/c/src/lib/libbsp/sparc/erc32/include/bsp.h b/c/src/lib/libbsp/sparc/erc32/include/bsp.h index 1e936df29b..ee207fe9d4 100644 --- a/c/src/lib/libbsp/sparc/erc32/include/bsp.h +++ b/c/src/lib/libbsp/sparc/erc32/include/bsp.h @@ -165,7 +165,6 @@ extern int end; /* last address in the program */ * NOTE: Use the standard Clock driver entry */ - /* miscellaneous stuff assumed to exist */ void bsp_cleanup( void ); diff --git a/c/src/lib/libbsp/sparc/erc32/include/erc32.h b/c/src/lib/libbsp/sparc/erc32/include/erc32.h index 959b4ba527..532b1b1466 100644 --- a/c/src/lib/libbsp/sparc/erc32/include/erc32.h +++ b/c/src/lib/libbsp/sparc/erc32/include/erc32.h @@ -225,7 +225,6 @@ typedef struct { #define ERC32_CONFIGURATION_ACCESS_PROTECTION_ENABLED 0x00000008 #define ERC32_CONFIGURATION_ACCESS_PROTECTION_DISABLED 0x00000000 - /* * The following defines the bits in the Memory Configuration Register. */ @@ -508,7 +507,6 @@ extern uint32_t _ERC32_MEC_Timer_Control_Mirror; (_value) = (_ERC32_MEC_Timer_Control_Mirror >> 8) & 0xf; \ } while ( 0 ) - #endif /* !ASM */ #ifdef __cplusplus diff --git a/c/src/lib/libbsp/sparc/erc32/startup/boardinit.S b/c/src/lib/libbsp/sparc/erc32/startup/boardinit.S index acdda46cc2..eb140ad05e 100644 --- a/c/src/lib/libbsp/sparc/erc32/startup/boardinit.S +++ b/c/src/lib/libbsp/sparc/erc32/startup/boardinit.S @@ -12,7 +12,6 @@ .global __bsp_board_init __bsp_board_init: - /* Check if MEC is initialised. If not, this means that we are running on the simulator. Initiate some of the parameters that are done by the boot-prom otherwise. diff --git a/c/src/lib/libbsp/sparc/erc32/timer/timer.c b/c/src/lib/libbsp/sparc/erc32/timer/timer.c index 5903dc484d..f40be89f3b 100644 --- a/c/src/lib/libbsp/sparc/erc32/timer/timer.c +++ b/c/src/lib/libbsp/sparc/erc32/timer/timer.c @@ -20,7 +20,6 @@ * $Id$ */ - #include <bsp.h> rtems_boolean Timer_driver_Find_average_overhead; diff --git a/c/src/lib/libbsp/sparc/leon/console/console.c b/c/src/lib/libbsp/sparc/leon/console/console.c index 9723c7b281..c313542317 100644 --- a/c/src/lib/libbsp/sparc/leon/console/console.c +++ b/c/src/lib/libbsp/sparc/leon/console/console.c @@ -204,7 +204,6 @@ void console_exit() LEON_REG.UART_Status_1 = 0; LEON_REG.UART_Status_2 = 0; - } #define CONSOLE_UART_1_TRAP LEON_TRAP_TYPE( LEON_INTERRUPT_UART_1_RX_TX ) diff --git a/c/src/lib/libbsp/sparc/leon/include/bsp.h b/c/src/lib/libbsp/sparc/leon/include/bsp.h index 758768e059..8dc392487f 100644 --- a/c/src/lib/libbsp/sparc/leon/include/bsp.h +++ b/c/src/lib/libbsp/sparc/leon/include/bsp.h @@ -53,7 +53,6 @@ extern int rtems_leon_open_eth_driver_attach (struct rtems_bsdnet_ifconfig *conf #define RTEMS_BSP_NETWORK_DRIVER_NAME "open_eth1" #define RTEMS_BSP_NETWORK_DRIVER_ATTACH rtems_leon_open_eth_driver_attach - /* * Define the time limits for RTEMS Test Suite test durations. * Long test and short test duration limits are provided. These @@ -165,7 +164,6 @@ extern int end; /* last address in the program */ * NOTE: Use the standard Clock driver entry */ - /* miscellaneous stuff assumed to exist */ void bsp_cleanup( void ); diff --git a/c/src/lib/libbsp/sparc/leon/include/leon.h b/c/src/lib/libbsp/sparc/leon/include/leon.h index ac9822e3fa..dff0dc8356 100644 --- a/c/src/lib/libbsp/sparc/leon/include/leon.h +++ b/c/src/lib/libbsp/sparc/leon/include/leon.h @@ -213,7 +213,6 @@ typedef struct { #define LEON_MEMORY_CONFIGURATION_RAM_SIZE_MASK 0x00001E00 - /* * The following defines the bits in the Timer Control Register. */ @@ -245,7 +244,6 @@ typedef struct { #define LEON_REG_UART_STATUS_FE 0x00000040 /* RX Framing Error */ #define LEON_REG_UART_STATUS_ERR 0x00000078 /* Error Mask */ - /* * The following defines the bits in the LEON UART Status Registers. */ diff --git a/c/src/lib/libbsp/sparc/leon/leon_open_eth/leon_open_eth.c b/c/src/lib/libbsp/sparc/leon/leon_open_eth/leon_open_eth.c index 966abbfd05..cece0053a8 100644 --- a/c/src/lib/libbsp/sparc/leon/leon_open_eth/leon_open_eth.c +++ b/c/src/lib/libbsp/sparc/leon/leon_open_eth/leon_open_eth.c @@ -3,7 +3,6 @@ * */ - #include <bsp.h> #include <libchip/open_eth.h> #if (OPEN_ETH_DEBUG & OPEN_ETH_DEBUG_PRINT_REGISTERS) diff --git a/c/src/lib/libbsp/sparc/leon/startup/boardinit.S b/c/src/lib/libbsp/sparc/leon/startup/boardinit.S index 652346b9f6..2c6f6b8ce0 100644 --- a/c/src/lib/libbsp/sparc/leon/startup/boardinit.S +++ b/c/src/lib/libbsp/sparc/leon/startup/boardinit.S @@ -24,7 +24,6 @@ __bsp_board_init: bne 2f nop - flush set 0x1000f, %l1 st %l1, [%l0 + LEON_REG_CACHECTRL_OFFSET] ! enable caches diff --git a/c/src/lib/libbsp/sparc/leon/timer/timer.c b/c/src/lib/libbsp/sparc/leon/timer/timer.c index 22cbe0446a..9a8324b3ed 100644 --- a/c/src/lib/libbsp/sparc/leon/timer/timer.c +++ b/c/src/lib/libbsp/sparc/leon/timer/timer.c @@ -19,7 +19,6 @@ * $Id$ */ - #include <bsp.h> rtems_boolean Timer_driver_Find_average_overhead; diff --git a/c/src/lib/libbsp/sparc/shared/bspclean.c b/c/src/lib/libbsp/sparc/shared/bspclean.c index c88025e8f6..d07328266b 100644 --- a/c/src/lib/libbsp/sparc/shared/bspclean.c +++ b/c/src/lib/libbsp/sparc/shared/bspclean.c @@ -32,6 +32,5 @@ void bsp_cleanup( void ) * set %g1 to 1 to detect clean exit. */ - asm volatile( "mov 1, %g1; ta 0" ); } diff --git a/c/src/lib/libbsp/sparc/shared/bspstart.c b/c/src/lib/libbsp/sparc/shared/bspstart.c index 2509c3fa50..18668976df 100644 --- a/c/src/lib/libbsp/sparc/shared/bspstart.c +++ b/c/src/lib/libbsp/sparc/shared/bspstart.c @@ -125,7 +125,6 @@ void bsp_pretasking_hook(void) bsp_libc_init((void *) heap_start, heap_size, 0); - #if SIMSPARC_FAST_IDLE /* * Install the fast idle task switch extension diff --git a/c/src/lib/libbsp/sparc/shared/start.S b/c/src/lib/libbsp/sparc/shared/start.S index 90c0fb8702..61f3406c3f 100644 --- a/c/src/lib/libbsp/sparc/shared/start.S +++ b/c/src/lib/libbsp/sparc/shared/start.S @@ -28,7 +28,6 @@ #define SOFT_TRAP BAD_TRAP - .seg "text" PUBLIC(start) .global start, __bsp_mem_init @@ -45,7 +44,6 @@ start: * before RTEMS installs its own trap table. */ - PUBLIC(trap_table) SYM(trap_table): @@ -88,7 +86,6 @@ SYM(trap_table): BAD_TRAP; ! 1E external 5 BAD_TRAP; ! 1F watchdog timeout - BAD_TRAP; BAD_TRAP; BAD_TRAP; BAD_TRAP; ! 20 - 23 undefined BAD_TRAP; ! 24 cp_disabled BAD_TRAP; BAD_TRAP; BAD_TRAP; ! 25 - 27 undefined @@ -219,7 +216,6 @@ SYM(hard_reset): call __bsp_board_init nop - set (SYM(rdb_start)), %g6 ! End of work-space area st %sp, [%g6] set (SYM(Configuration)), %l1 @@ -238,7 +234,6 @@ SYM(hard_reset): * LENGTH: (__bss_start - _data_start) bytes */ - sethi %hi(_endtext),%g2 or %g2,%lo(_endtext),%g2 ! g2 = start of initialized data in ROM |