AG patches chunk C

Daniel Hellstrom daniel at gaisler.com
Thu Mar 29 11:38:26 UTC 2012


Hello,

This is the third chunk of patches, it consist mostly of code cleanups which is hopefully easier to review. There are still one open patch, PATCH10 (IO_MANAGER). As nothing in chunk C depends on 
PATCH10, I will proceed.

As before, PATCH means I will send them on the rtems-devel list solely, PR means I will file a bugzilla PR.

Thanks,
Daniel



+ SPARC specific enhancements
LIST 9130379 LEON3: IRQ index mask was bad, but always shifted out anyway
LIST c69bf34 SPARC BSPS: added defines for set_vec type argument to bsp.h
LIST 74eda76 LEON3: various cleanups in leon.h

+ SPARC specific bugs
PR 76a7113 LEON3: clock timer indexing should be consequent

+ General bugs
PR f867d27 LEON3: fix GRETH interrupt initialization bug   (BUG2044)

+ General enhancements
LIST cd5d29a GRETH: removed the use of rtems_set_clock() in auto-nego timeout
LIST e7e3588 SMC91111: remove old unused LEON2/LEON3 initialization code
LIST 50a1497 SMP: remove unused code in simple SMP scheduler



Patches are listed in reverse apply order:

commit 50a14970d1aa0edab4eec8ef1ed9ca2c8a6704a1
Author: Daniel Hellstrom <daniel at gaisler.com>
Date:   Tue Mar 20 13:46:29 2012 +0100

     SMP: remove unused code in simple SMP scheduler

     A similar if-statement is just above, I can see no reason why
     to have this double code.

     Signed-off-by: Daniel Hellstrom <daniel at gaisler.com>

  cpukit/score/src/schedulersimplesmpschedule.c |    3 ---
  1 files changed, 0 insertions(+), 3 deletions(-)

commit 74eda7652142cfbae9ca01da06e340f54dd7416d
Author: Daniel Hellstrom <daniel at gaisler.com>
Date:   Tue Dec 6 10:56:05 2011 +0100

     LEON3: various cleanups in leon.h

     Removed old LEON2 definitions never used in LEON3 leon.h.

     Signed-off-by: Daniel Hellstrom <daniel at gaisler.com>

  c/src/lib/libbsp/sparc/leon3/include/leon.h |   64 +--------------------------
  1 files changed, 1 insertions(+), 63 deletions(-)

commit c69bf349873f84834ecebe59602d3bcfa7271006
Author: Daniel Hellstrom <daniel at gaisler.com>
Date:   Tue Dec 6 10:42:33 2011 +0100

     SPARC BSPS: added defines for set_vec type argument to bsp.h

     Signed-off-by: Daniel Hellstrom <daniel at gaisler.com>

  c/src/lib/libbsp/sparc/erc32/include/bsp.h    |    4 ++++
  c/src/lib/libbsp/sparc/erc32/startup/setvec.c |    2 +-
  c/src/lib/libbsp/sparc/leon2/include/bsp.h    |    4 ++++
  c/src/lib/libbsp/sparc/leon2/startup/setvec.c |    2 +-
  c/src/lib/libbsp/sparc/leon3/include/bsp.h    |    4 ++++
  c/src/lib/libbsp/sparc/leon3/startup/setvec.c |    2 +-
  6 files changed, 15 insertions(+), 3 deletions(-)

commit 9130379f20488e6943c9a237fdd2c04f18324a78
Author: Daniel Hellstrom <daniel at gaisler.com>
Date:   Mon Dec 5 17:28:57 2011 +0100

     LEON3: IRQ index mask was bad, but always shifted out anyway

     Signed-off-by: Daniel Hellstrom <daniel at gaisler.com>

  c/src/lib/libbsp/sparc/leon3/clock/ckinit.c |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

commit 76a711327f944b0a6357e4ef9435c65a1a46b515
Author: Daniel Hellstrom <daniel at gaisler.com>
Date:   Mon Dec 5 17:21:25 2011 +0100

     LEON3: clock timer indexing should be consequent

     Signed-off-by: Daniel Hellstrom <daniel at gaisler.com>

  c/src/lib/libbsp/sparc/leon3/clock/ckinit.c |    6 +++---
  1 files changed, 3 insertions(+), 3 deletions(-)

commit e7e3588ba40c0194f9a186988394c62aae1936ab
Author: Daniel Hellstrom <daniel at gaisler.com>
Date:   Thu Mar 22 13:59:19 2012 +0100

     SMC91111: remove old unused LEON2/LEON3 intialization code

     Signed-off-by: Daniel Hellstrom <daniel at gaisler.com>

  c/src/libchip/network/smc91111.c |   36 ------------------------------------
  1 files changed, 0 insertions(+), 36 deletions(-)

commit f867d2738c89db90402e2b44366a71f0f2efd338
Author: Daniel Hellstrom <daniel at gaisler.com>
Date:   Thu Mar 22 12:00:40 2012 +0100

     LEON3: fix GRETH interrupt initialization bug

     Fixed a bug where the vector number is used to clean and unmask
     the IRQ at the IRQ controller, the irq number must be used.

     Signed-off-by: Daniel Hellstrom <daniel at gaisler.com>

  .../lib/libbsp/sparc/leon3/leon_greth/leon_greth.c |    8 ++++----
  1 files changed, 4 insertions(+), 4 deletions(-)

commit cd5d29a983f1d502238bee5923f38b310a46597d
Author: Daniel Hellstrom <daniel at gaisler.com>
Date:   Fri Dec 2 10:54:44 2011 +0100

     GRETH: removed the use of rtems_set_clock() in auto-nego timeout

     Signed-off-by: Daniel Hellstrom <daniel at gaisler.com>

  c/src/libchip/network/greth.c |   47 +++++++++++++++-------------------------
  1 files changed, 18 insertions(+), 29 deletions(-)




More information about the devel mailing list