From: Benjamin Herrenschmidt <bh40@calva.net>
To: linuxppc-dev@lists.linuxppc.org
Cc: paulus@cs.anu.edu.au
Subject: Possible bug in quik
Date: Sun, 12 Sep 1999 18:28:26 +0200 [thread overview]
Message-ID: <19990912182826.028542@smtp.calvacom.fr> (raw)
In quik 2.0, in main.c (bottom of function main()), I found:
/*
* For the sake of the Open Firmware XCOFF loader, the entry
* point may actually be a procedure descriptor.
*/
start = *(unsigned *)entry;
if (start < load_loc || start >= load_loc + len
|| ((unsigned *)entry)[2] != 0)
/* doesn't look like a procedure descriptor */
start += entry;
printf("Starting at %x\n", start);
(* (void (*)()) start)(params, 0, prom_entry, 0, 0);
prom_exit();
I was wondering why, when we don't find an XCOFF desc, do we _add_ entry to
start. I would have replaced start completely since in this case, we may
want to
enter the kernel at entry directly. Did I miss something ?
--
E-Mail: <mailto:bh40@calva.net>
BenH. Web : <http://calvaweb.calvacom.fr/bh40/>
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
reply other threads:[~1999-09-12 16:28 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=19990912182826.028542@smtp.calvacom.fr \
--to=bh40@calva.net \
--cc=linuxppc-dev@lists.linuxppc.org \
--cc=paulus@cs.anu.edu.au \
/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 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.