This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
Re: hal_idle_thread_action on ARM
- From: dne at mayonnaise dot net (Daniel Néri)
- To: ecos-patches at sources dot redhat dot com
- Date: Sat, 17 May 2003 00:17:56 +0200
- Subject: Re: hal_idle_thread_action on ARM
- Cancel-lock: sha1:L5wiQQYTgMYmZ99ny5TGt/sRoYw=
- Organization: A safe european home
- References: <87r89nxbho.fsf@fnord.local.sigicom.com> <3E655589.1070401@eCosCentric.com><87fznehjqo.fsf@fnord.local.sigicom.com> <m3n0hmol4m.fsf@miso.calivar.com>
Nick Garnett <nickg@ecoscentric.com> writes:
> This patch seem over-complicated for what it does. And defining
> hal_arm_var_idle_thread_action() in hal_arch.h is not right.
>
> The way we have done this kind of thing in the past, with interrupt
> controller macros, cache macros etc. is to do something like this:
OK, fair enough. I'll have another go at it. The names var_arch.h and
plf_arch.h look awkward to me, but since they already exist in
e.g. the MIPS HAL I guess it's OK.
Regards,
--
Daniel Neri
dne@mayonnaise.net