[En-Nut-Discussion] Not fixed!!!: Re: confirmed!!! Re: NutOS 4.4.0 on ARM7: possibly bug in NutEnterCritical / NutExitCritical

Ole Reinhardt ole.reinhardt at embedded-it.de
Fri Feb 22 21:19:44 CET 2008


Hi,

> > is there both a stack frame pointer AND a stack pointer?
> 
> Something similar popped up in my brain as well. May be there's another 
> register we can use.

That was my first thought too, but having portability in mind we should
not not design the critical sections too hardware specific.

Is there a real reason why passing a variable would hurt? Defining a
special (hardware specific) type like "crit_section_t" would help us to
be compatible with later inventions and ports too.

> I had to admit, that this LR used for ARM's call/ret confuses me every 
> time again. Anyone else here with a more ARM-compatible brain structure?

Sorry me either :(

Bye,

Ole

-- 
 _____________________________________________________________
|                                                             |
| Embedded-IT          Hard- und Softwarelösungen             |
|                                                             |
| Ole Reinhardt        Tel. / Fax:        +49 (0)271  7420433 |
| Luisenstraße 29      Mobil:             +49 (0)177  7420433 |
| 57076 Siegen         eMail:    ole.reinhardt at embedded-it.de |
| Germany              Web:         http://www.embedded-it.de |
|                      UstID / VAT:       DE198944716         |
|_____________________________________________________________|




More information about the En-Nut-Discussion mailing list