From fee125b364f8eaab3721e0b027dc360d709e7b1f Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 3 Dec 2007 22:24:55 +0000 Subject: [PATCH] 2007-12-03 Joel Sherrill * shared/startup/bspstart.c: Moved most of the remaining CPU Table fields to the Configuration Table. This included pretasking_hook, predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace, extra_mpci_receive_server_stack, stack_allocate_hook, and stack_free_hook. As a side-effect of this effort some multiprocessing code was made conditional and some style clean up occurred. --- c/src/lib/libbsp/powerpc/ChangeLog | 9 +++++++++ c/src/lib/libbsp/powerpc/shared/startup/bspstart.c | 2 -- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/c/src/lib/libbsp/powerpc/ChangeLog b/c/src/lib/libbsp/powerpc/ChangeLog index 5574768edc..af6e8f5846 100644 --- a/c/src/lib/libbsp/powerpc/ChangeLog +++ b/c/src/lib/libbsp/powerpc/ChangeLog @@ -1,3 +1,12 @@ +2007-12-03 Joel Sherrill + + * shared/startup/bspstart.c: Moved most of the remaining CPU Table + fields to the Configuration Table. This included pretasking_hook, + predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace, + extra_mpci_receive_server_stack, stack_allocate_hook, and + stack_free_hook. As a side-effect of this effort some multiprocessing + code was made conditional and some style clean up occurred. + 2007-12-03 Joel Sherrill * shared/irq/irq.c, shared/irq/irq_supp.h: Correct conditionals and diff --git a/c/src/lib/libbsp/powerpc/shared/startup/bspstart.c b/c/src/lib/libbsp/powerpc/shared/startup/bspstart.c index 6e61f0617b..0b13fe68a5 100644 --- a/c/src/lib/libbsp/powerpc/shared/startup/bspstart.c +++ b/c/src/lib/libbsp/powerpc/shared/startup/bspstart.c @@ -384,8 +384,6 @@ void bsp_start( void ) * they can use atexit() */ - Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */ - Cpu_table.postdriver_hook = bsp_postdriver_hook; Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY; bsp_clicks_per_usec = BSP_bus_frequency/(BSP_time_base_divisor * 1000);