summaryrefslogtreecommitdiffstats
path: root/tools/cpu
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-09-23 16:46:52 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-09-23 16:46:52 +0000
commit1fd26a529cb3e71865c90a0b1a8c716916eb6086 (patch)
treeb667e89710a0a42b5e8b31f8f94749fb4accc6ec /tools/cpu
parentecc3fe3181d82cdb85ddb90c92408c7cb7390504 (diff)
downloadrtems-1fd26a529cb3e71865c90a0b1a8c716916eb6086.tar.bz2
Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
Diffstat (limited to 'tools/cpu')
-rw-r--r--tools/cpu/sh/sci.c2
-rw-r--r--tools/cpu/sh/shgen.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/cpu/sh/sci.c b/tools/cpu/sh/sci.c
index 58be0e68bf..3310e7e791 100644
--- a/tools/cpu/sh/sci.c
+++ b/tools/cpu/sh/sci.c
@@ -54,7 +54,7 @@ static sci_tab_t test_array[4] ;
static void Compute(
unsigned int n,
unsigned int B,
- unsigned int Phi,
+ double Phi,
struct sci_tab *entry )
{
int a = ( 32 << ( 2 * n ) ) * B ;
diff --git a/tools/cpu/sh/shgen.c b/tools/cpu/sh/shgen.c
index 3fa6ae9b75..15c179a855 100644
--- a/tools/cpu/sh/shgen.c
+++ b/tools/cpu/sh/shgen.c
@@ -24,7 +24,7 @@ static void usage( char *prog )
static void shgen_header( FILE *file )
{
fprintf( file,
- "/*\n * DO NOT EDIT - this file is automatically generated by shgen\n" );
+ "/*\n * DO NOT EDIT - this file is automatically generated by shgen 0.2\n" );
fprintf( file,
" * Copyright (c) 1998, Ralf Corsepius (corsepiu@faw.uni-ulm.de)\n */\n" );
fprintf( file,