All of lore.kernel.org
 help / color / mirror / Atom feed
* Assembly Procedure calls
@ 2002-05-16 18:39 J.S.Souza
  2002-06-10 10:35 ` Linear memory Frederic Marmond
  0 siblings, 1 reply; 2+ messages in thread
From: J.S.Souza @ 2002-05-16 18:39 UTC (permalink / raw)
  To: penguin; +Cc: linux-assembly

What is required for calling procedures using GAS?  Do I have to pay 
attention to far / near calls?  Also, do I need to pay attention to 
realigning the stack or anything else?  I noticed in other peoples programs 
that have procedures in the main file that they push the %edi register - 
what's this for?   Also, what is needed if I put the procedures in another 
file - do I need to declare things as EXTERN and so forth?  How about 
assembling the file - are there options I need to pass to 'as' and 'ld'?

		Regards,
		Jeff Souza
		jssouza@pacbell.net

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

* Linear memory
  2002-05-16 18:39 Assembly Procedure calls J.S.Souza
@ 2002-06-10 10:35 ` Frederic Marmond
  0 siblings, 0 replies; 2+ messages in thread
From: Frederic Marmond @ 2002-06-10 10:35 UTC (permalink / raw)
  To: linux-assembly

hi all,

I'd like to access to a memory area on a mtd device, without having 
compiling the mtd support in the kernel.
(read a firmware info, on a embeded environment => kernel as small as 
possible)
Is there any isue?

I mean:
is the device mapped anywhere, or is it really invisible, if i don't 
compile the mtd support?
If it is visible (how can i check that point?) do you know if there is 
any way to access it (like in flat mode, by a largest descriptor or 
something...)?


thanks for answers!

Fred



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

end of thread, other threads:[~2002-06-10 10:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-16 18:39 Assembly Procedure calls J.S.Souza
2002-06-10 10:35 ` Linear memory Frederic Marmond

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.