From: ram <ram@curvesoft.com>
To: linux-assembly@vger.kernel.org
Subject: GRUB sample kernel question
Date: Sat, 01 Nov 2003 09:07:02 -0800 [thread overview]
Message-ID: <3FA3E836.4070709@curvesoft.com> (raw)
In-Reply-To: <oprxh599q8b2epmx@localhost>
Hi,
I was looking at the toy kernel in the grub distribution (multiboot.h,
kernel.c, boot.S
in the 'docs' subdirectory) and noticed boot.S starts out like this:
.globl start, _start
start:
_start:
jmp multiboot_entry
....
multiboot_entry:
I'm wondering why this jump is needed; couldn't the start/_start labels
simply have
been placed adjacent to the multiboot_entry label thereby avoiding the
jump ?
Thanks.
Ram
next prev parent reply other threads:[~2003-11-01 17:07 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-23 12:03 confused asm newbie Jason Roberts
2003-10-23 12:53 ` Frederic Marmond
2003-10-23 14:38 ` willy meier
2003-10-23 15:50 ` Philip Jacob Smith
2003-11-01 17:07 ` ram [this message]
2003-11-01 21:24 ` GRUB sample kernel question Alexander Jänicke
2003-11-01 22:36 ` ram
2003-11-17 11:47 ` confused asm newbie b klein
2003-11-17 12:29 ` Frederic Marmond
2003-11-17 13:18 ` b klein
2003-11-17 13:36 ` Frederic Marmond
2003-11-18 2:51 ` Philip Jacob Smith
2003-11-20 21:52 ` b klein
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=3FA3E836.4070709@curvesoft.com \
--to=ram@curvesoft.com \
--cc=linux-assembly@vger.kernel.org \
/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 NNTP newsgroup(s).