forked from Imagelibrary/rtems
mvme3100/startup/bspstart.c: Remove myCpu variables and clean up
This commit is contained in:
@@ -103,7 +103,6 @@ int i;
|
|||||||
printk("\n");
|
printk("\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
BSP_output_char_function_type BSP_output_char = BSP_output_char_via_serial;
|
BSP_output_char_function_type BSP_output_char = BSP_output_char_via_serial;
|
||||||
BSP_polling_getchar_function_type BSP_poll_char = NULL;
|
BSP_polling_getchar_function_type BSP_poll_char = NULL;
|
||||||
|
|
||||||
@@ -124,8 +123,11 @@ char *rtems_progname;
|
|||||||
/*
|
/*
|
||||||
* Use the shared implementations of the following routines
|
* Use the shared implementations of the following routines
|
||||||
*/
|
*/
|
||||||
|
char * save_boot_params(
|
||||||
char * save_boot_params(void* r3, void *r4, void* r5, char *additional_boot_options)
|
void* r3,
|
||||||
|
void *r4,
|
||||||
|
void* r5,
|
||||||
|
char *additional_boot_options)
|
||||||
{
|
{
|
||||||
|
|
||||||
strncpy(cmdline_buf, additional_boot_options, CMDLINE_BUF_SIZE);
|
strncpy(cmdline_buf, additional_boot_options, CMDLINE_BUF_SIZE);
|
||||||
@@ -222,9 +224,9 @@ unsigned char *stack;
|
|||||||
uintptr_t intrStackStart;
|
uintptr_t intrStackStart;
|
||||||
uintptr_t intrStackSize;
|
uintptr_t intrStackSize;
|
||||||
char *chpt;
|
char *chpt;
|
||||||
|
int i;
|
||||||
ppc_cpu_id_t myCpu;
|
ppc_cpu_id_t myCpu;
|
||||||
ppc_cpu_revision_t myCpuRevision;
|
ppc_cpu_revision_t myCpuRevision;
|
||||||
int i;
|
|
||||||
E500_tlb_va_cache_t *tlb;
|
E500_tlb_va_cache_t *tlb;
|
||||||
|
|
||||||
VpdBufRec vpdData [] = {
|
VpdBufRec vpdData [] = {
|
||||||
@@ -434,5 +436,4 @@ VpdBufRec vpdData [] = {
|
|||||||
#ifdef SHOW_MORE_INIT_SETTINGS
|
#ifdef SHOW_MORE_INIT_SETTINGS
|
||||||
printk("Exit from bspstart\n");
|
printk("Exit from bspstart\n");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user