On Thu, 21 Mar 2019 at 18:40, Sandra Loosemore <san...@codesourcery.com> wrote:
>
> This patch adds support for libgloss semihosting to Nios II bare-metal
> emulation.  The specification for the protocol can be found in the
> libgloss sources.
>
> Signed-off-by: Sandra Loosemore <san...@codesourcery.com>
> Signed-off-by: Julian Brown <jul...@codesourcery.com>

> --- /dev/null
> +++ b/target/nios2/nios2-semi.c
> @@ -0,0 +1,448 @@
> +/*
> + *  Nios II Semihosting syscall interface.
> + *  This code is derived from m68k-semi.c.
> + *
> + *  Copyright (c) 2017-2019 Mentor Graphics
> + *
> + *  This program is free software; you can redistribute it and/or modify
> + *  it under the terms of the GNU General Public License as published by
> + *  the Free Software Foundation; either version 2 of the License, or
> + *  (at your option) any later version.
> + *
> + *  This program is distributed in the hope that it will be useful,
> + *  but WITHOUT ANY WARRANTY; without even the implied warranty of
> + *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> + *  GNU General Public License for more details.
> + *
> + *  You should have received a copy of the GNU General Public License
> + *  along with this program; if not, see <http://www.gnu.org/licenses/>.

Could we have a URL for the spec of the semihosting ABI,
whereever you decide it should live, please?

Otherwise
Reviewed-by: Peter Maydell <peter.mayd...@linaro.org>

thanks
-- PMM

Reply via email to