From e523ebeaefdeefbcfdc03a27ede085a6d8998d40 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Sun, 11 Mar 2007 15:22:05 +0000 Subject: [PATCH] 2007-03-11 Joel Sherrill * shared/bspstart.c: Remove assignments of Cpu_table.do_zero_of_workspace to TRUE since TRUE is the default value in boot_card.c --- c/src/lib/libbsp/sparc/ChangeLog | 6 ++++++ c/src/lib/libbsp/sparc/shared/bspstart.c | 7 ------- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/c/src/lib/libbsp/sparc/ChangeLog b/c/src/lib/libbsp/sparc/ChangeLog index 32e05f44ff..5fe1f75722 100644 --- a/c/src/lib/libbsp/sparc/ChangeLog +++ b/c/src/lib/libbsp/sparc/ChangeLog @@ -1,3 +1,9 @@ +2007-03-11 Joel Sherrill + + * shared/bspstart.c: Remove assignments of + Cpu_table.do_zero_of_workspace to TRUE since TRUE is the default + value in boot_card.c + 2006-12-02 Ralf Corsépius * configure.ac: New BUG-REPORT address. diff --git a/c/src/lib/libbsp/sparc/shared/bspstart.c b/c/src/lib/libbsp/sparc/shared/bspstart.c index 6c9ea2251a..403d01852b 100644 --- a/c/src/lib/libbsp/sparc/shared/bspstart.c +++ b/c/src/lib/libbsp/sparc/shared/bspstart.c @@ -102,13 +102,6 @@ void bsp_start( void ) Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */ Cpu_table.postdriver_hook = bsp_postdriver_hook; - /* - * SIS does zero out memory BUT only when IT begins execution. Thus - * if we want to have a clean slate in the workspace each time we - * begin execution of OUR application, then we must zero the workspace. - */ - Cpu_table.do_zero_of_workspace = TRUE; - /* * This should be enough interrupt stack. */