public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Jesper Skov <jskov@redhat.com>
To: Grant Edwards <grante@visi.com>
Cc: ecos-discuss@sources.redhat.com
Subject: Re: [ECOS] #error " no RESET_ENTRY"  ??
Date: Wed, 10 Jan 2001 00:11:00 -0000	[thread overview]
Message-ID: <otpuhv969a.fsf@thinktwice.zoftcorp.dk> (raw)
In-Reply-To: <20010109165157.A16129@visi.com>

Grant, I'm working on a complete overhaul of this magic. Basic
sematics are the same, of course, but there'll be some changes in the
way all this gets initialized, giving the user (developer) more
control.

Unfortunately the work is on the backburner for a while as I address
something else. But within next week I hope to commit my changes.

>The problem seems to be that my plf_stubs.h file only defines a
>reset entry point if CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS is
>defined (because that's what the edb7xxx HAL does it).

New code should move the reset magic outside of the
CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS. FWIW I will rename those
HAL_STUB_PLATFORM_RESET* macros to HAL_PLATFORM_RESET* since it's a
feature that should not be restricted to stub configurations.
The macros should also be moved to some other header file, but that's
not going to happen just now.

>Does CYGPRI_HAL_IMPLEMENTS_IF_SERVICES imply
>CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS?

No.

>At this point what I'm attempting is
>  * I don't want GDB stubs in my eCos application.  
>  * I want to fill in the virtual vector table.
>  * I don't want to do diagnostic I/O via the virtial vector table.

I don't want to go through a long explanation here (it'll appear in
the docs), but the last point will not be possible - or rather, it
will if you choose to break the abstraction, which is definitely
possible.

After I complete my changes, IO will _always_ happen via the virtual
vector table. Your option will be to claim those vectors in the RAM
application (thus using serial IO routines in the application) or
leave them in the ROM monitor's control (using serial IO routines in
ROM/flash).

>My current configuration is
>
>#undef   CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS
>#define  CYGSEM_HAL_VIRTUAL_VECTOR_SUPPORT
>#define  CYGPRI_HAL_IMPLEMENTS_IF_SERVICES
>#undef   CYGSEM_HAL_VIRTUAL_VECTOR_DIAG
>
>Which means (I think)
> Don't include GDB stubs in eCos.
> HAL does support virtual vector table.
> HAL fills in virtual vector table.
> HAL does not call diagnostic I/O routines via virtual vector table.
>
>Is that an illegal configuration?

It's probably OK. But communication vectors might not get initialized
since you disable CYGSEM_HAL_VIRTUAL_VECTOR_DIAG. I'm not sure. It'd
work in the new (still-vaporware) world.

Jesper

  parent reply	other threads:[~2001-01-10  0:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-09 14:48 Grant Edwards
2001-01-09 16:36 ` Jonathan Larmour
2001-01-10  7:46   ` Grant Edwards
2001-01-10  8:40     ` Jonathan Larmour
2001-01-10  9:28       ` Grant Edwards
2001-01-10  0:11 ` Jesper Skov [this message]
2001-01-10  7:32   ` Grant Edwards
2001-01-10 10:08     ` Jesper Skov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=otpuhv969a.fsf@thinktwice.zoftcorp.dk \
    --to=jskov@redhat.com \
    --cc=ecos-discuss@sources.redhat.com \
    --cc=grante@visi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).