unicore32: add unicore32-linux-user support for qemu 0.14
v3 cover unicore32: add unicore32-linux-user support for qemu 0.14
The patch set adds new unicore32-linux-user support for qemu-stable-0.14
Patch 1 adds target-unicore32 directory
Patch 2 adds linux-user/unicore32 directory
Patch 3 adds necessary modifications for other files
V2->V3: rebase on master branch of qemu
V1 -> V2: changed by advice from Blue Swirl
Guan Xuetao (3):
unicore32: add target-unicore32 directory for unicore32-linux-user
support
unicore32: add necessry headers in linux-user/unicore32 for unicore32
support
unicore32: necessary modifications for other files to support
unicore32
configure | 11 +- cpu-exec.c | 12 +- default-configs/unicore32-linux-user.mak | 1 + elf.h | 2 + fpu/softfloat-specialize.h | 10 +- fpu/softfloat.h | 2 +- linux-user/elfload.c | 74 ++ linux-user/main.c | 89 ++- linux-user/qemu.h | 5 +- linux-user/syscall_defs.h | 10 +- linux-user/unicore32/syscall.h | 55 + linux-user/unicore32/syscall_nr.h | 371 ++++++ linux-user/unicore32/target_signal.h | 26 + linux-user/unicore32/termbits.h | 2 + target-unicore32/cpu.h | 182 +++ target-unicore32/exec.h | 50 + target-unicore32/helper.c | 488 +++++++ target-unicore32/helper.h | 70 + target-unicore32/op_helper.c | 248 ++++ target-unicore32/translate.c | 2105 ++++++++++++++++++++++++++++++ 20 files changed, 3799 insertions(+), 14 deletions(-) create mode 100644 default-configs/unicore32-linux-user.mak create mode 100644 linux-user/unicore32/syscall.h create mode 100644 linux-user/unicore32/syscall_nr.h create mode 100644 linux-user/unicore32/target_signal.h create mode 100644 linux-user/unicore32/termbits.h create mode 100644 target-unicore32/cpu.h create mode 100644 target-unicore32/exec.h create mode 100644 target-unicore32/helper.c create mode 100644 target-unicore32/helper.h create mode 100644 target-unicore32/op_helper.c create mode 100644 target-unicore32/translate.c
Blue Swirl
AppliedQuoted 5 lines · Guan Xuetao
The patch set adds new unicore32-linux-user support for qemu-stable-0.14 Patch 1 adds target-unicore32 directory
Patch 2 adds linux-user/unicore32 directory
Patch 3 adds necessary modifications for other files
Thanks, applied all.
Hello,
Am 12.04.2011 10:25, schrieb Guan Xuetao:
Quoted 18 lines
The patch set adds new unicore32-linux-user support for qemu-stable-0.14
Patch 1 adds target-unicore32 directory
Patch 2 adds linux-user/unicore32 directory
Patch 3 adds necessary modifications for other files
V2->V3: rebase on master branch of qemuV1 -> V2: changed by advice from Blue Swirl
Guan Xuetao (3):
unicore32: add target-unicore32 directory for unicore32-linux-user
support
unicore32: add necessry headers in linux-user/unicore32 for unicore32
support
unicore32: necessary modifications for other files to support
unicore32
Quoted 6 lines
create mode 100644 target-unicore32/cpu.h create mode 100644 target-unicore32/exec.h create mode 100644 target-unicore32/helper.c create mode 100644 target-unicore32/helper.h create mode 100644 target-unicore32/op_helper.c create mode 100644 target-unicore32/translate.c
Last year you added a unicore32 target to QEMU. The new files you added in target-unicore32/ carry the following license notice:
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
Are you able to change this to the original GNU GPLv2 version notice that has "or (at your option) any later version"?
* 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/gpl-2.0.html>
I would like to add QOM support to unicore32 and would very much like to have that under a future-proof license.
Cf. http://wiki.qemu.org/Relicensing
Thanks in advance,
Andreas
Signature · 2 lines
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
Quoted 13 lines · Andreas Färber
Hello,
Last year you added a unicore32 target to QEMU. The new files you added in target-unicore32/ carry the following license notice:
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.Are you able to change this to the original GNU GPLv2 version notice that has "or (at your option) any later version"?
Quoted 13 lines
* 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/gpl-2.0.html>
Yes, thanks for your suggestion. Could I add a simpler copyright comment for every file just as following:
"This program is licensed under the terms of the GNU GPL, version 2 or
later. See the COPYING file in the top-level directory."
Quoted 3 lines
I would like to add QOM support to unicore32 and would very much like to have that under a future-proof license.
Thanks for your help. I wanted to add full simulation for unicore32 for almost one year, but this work is still in my TODO list.
Quoted 7 lines
Cf. http://wiki.qemu.org/Relicensing
Thanks in advance,
Andreas
Thanks & Regards,
Guan Xuetao