From: York Sun <yorksun@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/2] powerpc/mpc85xx: Remove some dead code
Date: Mon, 20 Apr 2015 14:01:20 -0700 [thread overview]
Message-ID: <55356920.2020702@freescale.com> (raw)
In-Reply-To: <1428456001-1938-2-git-send-email-scottwood@freescale.com>
On 04/07/2015 06:20 PM, Scott Wood wrote:
> U-Boot does not have system calls (the services it exposes to
> standalone commands use a different mechanism), so the syscall handler
> is dead code. It's also broken code, as it assumes it is located at
> 0xc00 -- while even before the patch to stop relocating exception
> vectors to 0, U-Boot had the syscall at 0x900.
>
> The critical and machine check return paths are never called -- the
> regular exception return path is used instead, which works because
> xSRR0/1 have already been saved and can be restored via the regular
> SRR0/1 (we don't care too much in U-Boot about taking a critical/mcheck
> inside another exception prolog/epilog).
>
> Also remove a few other small unused functions.
>
> Signed-off-by: Scott Wood <scottwood@freescale.com>
> ---
Applied to mpc85xx master, awaiting upstream.
York
next prev parent reply other threads:[~2015-04-20 21:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-08 1:20 [U-Boot] [PATCH 1/2] powerpc/mpc85xx: Don't relocate exception vectors Scott Wood
2015-04-08 1:20 ` [U-Boot] [PATCH 2/2] powerpc/mpc85xx: Remove some dead code Scott Wood
2015-04-20 21:01 ` York Sun [this message]
2015-04-20 21:00 ` [U-Boot] [PATCH 1/2] powerpc/mpc85xx: Don't relocate exception vectors York Sun
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=55356920.2020702@freescale.com \
--to=yorksun@freescale.com \
--cc=u-boot@lists.denx.de \
/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