public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: What are .s files in arch/i386/boot
@ 2003-06-07 18:54 Lars Unin
  2003-06-07 20:05 ` James Stevenson
  0 siblings, 1 reply; 12+ messages in thread
From: Lars Unin @ 2003-06-07 18:54 UTC (permalink / raw)
  To: james; +Cc: linux-kernel

> > What are .s files in arch/i386/boot, are they c sources of some sort?
> > Where can I find the specifications documents they were made from? 
> 
> There are not c files.
> They are assembler files
> 
> Try running gcc on a c file with the -S option
> it will generate the same then you can tweak the
> assembler produced to make it faster.
> 
> 	James
> 
Where can I find the .c files they were made from,
and the spec sheets the .c files were made from? 
-- 
______________________________________________
http://www.linuxmail.org/
Now with e-mail forwarding for only US$5.95/yr

Powered by Outblaze

^ permalink raw reply	[flat|nested] 12+ messages in thread
* Re: What are .s files in arch/i386/boot
@ 2003-06-09 15:37 Lars Unin
  0 siblings, 0 replies; 12+ messages in thread
From: Lars Unin @ 2003-06-09 15:37 UTC (permalink / raw)
  To: vonbrand, james; +Cc: lars_unin, linux-kernel


>You'd better get a book on ia32 (caution, the intel sytax almost all are
>written for is truly bletcherous, and does things just different enough
>from the AT&T sytax gcc/the kernel uses to make your head spin when trying
>to map back and forth). There was an HOWTO on assembly language programming
>under Linux, haven't looked at it in a long time. 

Whats sytax? ;-)
Do ya not mean syntax?
-- 
______________________________________________
http://www.linuxmail.org/
Now with e-mail forwarding for only US$5.95/yr

Powered by Outblaze

^ permalink raw reply	[flat|nested] 12+ messages in thread
* Re: What are .s files in arch/i386/boot
@ 2003-06-09 15:30 Lars Unin
  2003-06-09 21:06 ` Steve Brueggeman
  0 siblings, 1 reply; 12+ messages in thread
From: Lars Unin @ 2003-06-09 15:30 UTC (permalink / raw)
  To: hahn; +Cc: linux-kernel

From: Mark Hahn <hahn@physics.mcmaster.ca>
 > > > What are .s files in arch/i386/boot, are they c sources of some sort?
> 
> no.  is there some reason you can't just look at them?
> 
> > > > Where can I find the specifications documents they were made from? 
> > > 
> > > There are not c files.
> > > They are assembler files
> 
> .s files are versions of .S files that have been run through cpp (gcc -E).
> you can know this simply by looking at the makefiles or watching a build,
> or by looking at the .s file and noticing the #line directives.
> 
> > > Try running gcc on a c file with the -S option
> > > it will generate the same then you can tweak the
> > > assembler produced to make it faster.
> 
> that's useful advice, but irrelevant in this case.
> 
> > Where can I find the .c files they were made from,
> 
> they aren't.
> 
> > and the spec sheets the .c files were made from? 
> 
> what the heck is a "spec sheet"?

I mean where can I find the information from which

"* It then loads 'setup' directly after itself (0x90200), and the system
 * at 0x10000, using BIOS interrupts. "
-- bootsect.S

The ability to know how to get the BIOS to do that comes from, e.g. a
book that can tell me how to do that without taking another degree...
Where the information can be found, that says what BIOS memory 
area 0x90200 is for etc.
-- 
______________________________________________
http://www.linuxmail.org/
Now with e-mail forwarding for only US$5.95/yr

Powered by Outblaze

^ permalink raw reply	[flat|nested] 12+ messages in thread
* What are .s files in arch/i386/boot
@ 2003-06-07 18:36 Lars Unin
  2003-06-07 19:50 ` James Stevenson
  0 siblings, 1 reply; 12+ messages in thread
From: Lars Unin @ 2003-06-07 18:36 UTC (permalink / raw)
  To: linux-kernel

What are .s files in arch/i386/boot, are they c sources of some sort?
Where can I find the specifications documents they were made from? 

Lars unin
-- 
______________________________________________
http://www.linuxmail.org/
Now with e-mail forwarding for only US$5.95/yr

Powered by Outblaze

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

end of thread, other threads:[~2003-06-09 20:52 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-07 18:54 What are .s files in arch/i386/boot Lars Unin
2003-06-07 20:05 ` James Stevenson
2003-06-07 19:32   ` Sean Neakums
2003-06-07 21:27     ` H. Peter Anvin
2003-06-08 20:04       ` Jos Hulzink
2003-06-08 21:41         ` Shawn
2003-06-09  1:38   ` Horst von Brand
  -- strict thread matches above, loose matches on Subject: below --
2003-06-09 15:37 Lars Unin
2003-06-09 15:30 Lars Unin
2003-06-09 21:06 ` Steve Brueggeman
2003-06-07 18:36 Lars Unin
2003-06-07 19:50 ` James Stevenson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox