public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] .pool directives and UNMAPPED in ARM
@ 2000-11-21  1:12 ???
  2000-11-21 21:54 ` Jonathan Larmour
  0 siblings, 1 reply; 3+ messages in thread
From: ??? @ 2000-11-21  1:12 UTC (permalink / raw)
  To: ecos-discuss

Hi!
I have some question about some code in file "vectors.S" used in ARM architecture.

1. What is the meaning of ".pool" directive?
2. What is the usage of "UNMAPPED" reset_vector?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ECOS] .pool directives and UNMAPPED in ARM
  2000-11-21  1:12 [ECOS] .pool directives and UNMAPPED in ARM ???
@ 2000-11-21 21:54 ` Jonathan Larmour
  2000-11-22  4:11   ` 김홍성
  0 siblings, 1 reply; 3+ messages in thread
From: Jonathan Larmour @ 2000-11-21 21:54 UTC (permalink / raw)
  To: ???; +Cc: ecos-discuss

??? wrote:
> 
> Hi!
> I have some question about some code in file "vectors.S" used in ARM architecture.
> 
> 1. What is the meaning of ".pool" directive?

Hi ???!

From the GNU assembler info file:

`.ltorg'
     This directive causes the current contents of the literal pool to
     be dumped into the current section (which is assumed to be the
     .text section) at the current location (aligned to a word
     boundary).

`.pool'
     This is a synonym for .ltorg.


> 2. What is the usage of "UNMAPPED" reset_vector?

I don't understand the question. If you mean why is it UNMAPPED_PTR rather
than PTR, then this applies for targets with MMUs in which case the
unmapped (i.e. unrelocated physical) address of the reset vector is what
needs to go into the reset vector slot, not the mapped (post relocation
virtual) address.

Jifl
-- 
Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS  Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow."  ||  These opinions are all my own fault

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ECOS] .pool directives and UNMAPPED in ARM
  2000-11-21 21:54 ` Jonathan Larmour
@ 2000-11-22  4:11   ` 김홍성
  0 siblings, 0 replies; 3+ messages in thread
From: 김홍성 @ 2000-11-22  4:11 UTC (permalink / raw)
  To: Jonathan Larmour; +Cc: ecos-discuss

> ??? wrote:
> > 
> > Hi!
> > I have some question about some code in file "vectors.S" used in ARM architecture.
> > 
> > 1. What is the meaning of ".pool" directive?
> 
> Hi ???!
> 
> >From the GNU assembler info file:
> 
> `.ltorg'
>      This directive causes the current contents of the literal pool to
>      be dumped into the current section (which is assumed to be the
>      .text section) at the current location (aligned to a word
>      boundary).
> 
> `.pool'
>      This is a synonym for .ltorg.


Thanks your help!!
But still now I don't understand the meaning exactly.
Can you explain more deeply using examples if possible?

 
> 
> > 2. What is the usage of "UNMAPPED" reset_vector?
> 
> I don't understand the question. If you mean why is it UNMAPPED_PTR rather
> than PTR, then this applies for targets with MMUs in which case the
> unmapped (i.e. unrelocated physical) address of the reset vector is what
> needs to go into the reset vector slot, not the mapped (post relocation
> virtual) address.

Yes, That's my question.
But I am sorry too that I can't understand completely why shoud use UNMAPPED_PTR for reset.
Can you explain using any examples?


> 
> Jifl
> -- 
> Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS  Tel: +44 (1223) 728762
> "Plan to be spontaneous tomorrow."  ||  These opinions are all my own fault
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2000-11-22  4:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-11-21  1:12 [ECOS] .pool directives and UNMAPPED in ARM ???
2000-11-21 21:54 ` Jonathan Larmour
2000-11-22  4:11   ` 김홍성

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).