From: Andreas Färber afaer...@suse.de
Any code that depends on a particular CPU type can now go through
callbacks on the QOM UniCore32CPUClass.
Signed-off-by: Andreas Färber afaer...@suse.de
Acked-by: Guan Xuetao g...@mprc.pku.edu.cn
---
target-unicore32/cpu.h |4
1 files changed, 0
From: Guan Xuetao g...@mprc.pku.edu.cn
This patch initializes the cpuid to exactly correct value because
linux kernel will check it.
In addition, the exception types are specified in proper situations.
Then it could make exceptions generated correctly and timely.
Signed-off-by: Guan Xuetao
From: Guan Xuetao g...@mprc.pku.edu.cn
This patch only add puv3 soc/board support, which introduces puv3
machine description, and specifies console type.
Signed-off-by: Guan Xuetao g...@mprc.pku.edu.cn
---
default-configs/unicore32-softmmu.mak |1 +
hw/puv3.c |
From: Guan Xuetao g...@mprc.pku.edu.cn
This patch adds puv3 interrupt support, include interrupt controler
device simulation and interrupt handler in puv3 machine.
Signed-off-by: Guan Xuetao g...@mprc.pku.edu.cn
---
hw/Makefile.objs |3 +
hw/puv3.c| 23 +-
hw/puv3_intc.c
From: Guan Xuetao g...@mprc.pku.edu.cn
This patch just splits ucf64 instruction simulation helpers from
helper.c.
Also, two checkpatch warnings are solved.
v1-v2: adjust copyright information for new ucf64_helper.c
Signed-off-by: Guan Xuetao g...@mprc.pku.edu.cn
---
From: Guan Xuetao g...@mprc.pku.edu.cn
This patch adds a minimal curses screen support for unicore32-softmmu.
We assume 80*30 screen size to minimize the implementation.
Two problems are not solved, but they are innocuous.
1. curses windows will be blank when switching to monitor screen and back
From: Guan Xuetao g...@mprc.pku.edu.cn
This patch sets is_default to 1 for puv3 machine, so that
find_default_machine() returns puv3 machine.
Thanks Dunrong for pointing it out.
Cc: Dunrong Huang riegama...@gmail.com
Signed-off-by: Guan Xuetao g...@mprc.pku.edu.cn
---
hw/puv3.c |1 +
1
From: Guan Xuetao g...@mprc.pku.edu.cn
Since of tedious output, we close dump-option of cpu_dump_state_ucf64 function.
Signed-off-by: Guan Xuetao g...@mprc.pku.edu.cn
---
target-unicore32/translate.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git
From: Guan Xuetao g...@mprc.pku.edu.cn
This patch adds puv3 dma (Direct Memory Access) support,
include dma device simulation for kernel booting.
v1-v2: Add initialization to ret in puv3_dma_read.
Signed-off-by: Guan Xuetao g...@mprc.pku.edu.cn
---
hw/Makefile.objs |1 +
hw/puv3.c|
From: Guan Xuetao g...@mprc.pku.edu.cn
This patch disintegrates cpu_dump_state_ucf64 function from cpu_dump_state.
Signed-off-by: Guan Xuetao g...@mprc.pku.edu.cn
---
target-unicore32/translate.c | 41 +
1 files changed, 25 insertions(+), 16
From: Guan Xuetao g...@mprc.pku.edu.cn
This patch adds unicore32-softmmu build support, include configure,
makefile, arch_init, and all missing functions needed by softmmu.
Although all missing functions are empty, unicore32-softmmu could
be build successfully.
By 20120804: change
From: Guan Xuetao g...@mprc.pku.edu.cn
Coprocessor 0 is system control coprocessor, and we need get/set its contents.
Also, all cache/tlb ops shoule be implemented here, but just ignored with no
harm.
Coprocessor 1 is OCD (on-chip-debugger), which is used for faked console,
so we could output
From: Guan Xuetao g...@mprc.pku.edu.cn
Signed-off-by: Guan Xuetao g...@mprc.pku.edu.cn
---
MAINTAINERS |8
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 2d219d2..708ad54 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -405,6 +405,14 @@
From: Guan Xuetao g...@mprc.pku.edu.cn
This patch implements softmmu specific functions, include tlb_fill,
switch_mode, do_interrupt and uc32_cpu_handle_mmu_fault.
So the full exception handlers and page table walking could work now.
Signed-off-by: Guan Xuetao g...@mprc.pku.edu.cn
---
From: Guan Xuetao g...@mprc.pku.edu.cn
As a matter of course, we need to access user space in kernel code,
so we need to correct load/store decoders to indicate correct memory
region.
Signed-off-by: Guan Xuetao g...@mprc.pku.edu.cn
---
target-unicore32/translate.c | 36
From: Guan Xuetao g...@mprc.pku.edu.cn
This patch adds puv3 gpio (General Purpose Input/Output) support,
include gpio device simulation and its interrupt support.
v1-v2: Add initialization to ret in puv3_gpio_read.
Signed-off-by: Guan Xuetao g...@mprc.pku.edu.cn
---
hw/Makefile.objs |1 +
From: Guan Xuetao g...@mprc.pku.edu.cn
This patch adds puv3 ostimer support, include os timer
device simulation and ptimer support in puv3 machine.
Signed-off-by: Guan Xuetao g...@mprc.pku.edu.cn
---
default-configs/unicore32-softmmu.mak |1 +
hw/Makefile.objs |1 +
From: Guan Xuetao g...@mprc.pku.edu.cn
This patch adds puv3 pm (power management) support,
include pm device simulation for kernel booting.
Thank Blue Swirl for pointing out the missing break.
v1-v2: Add initialization to ret in puv3_pm_read.
Signed-off-by: Guan Xuetao g...@mprc.pku.edu.cn
---
From: Guan Xuetao g...@mprc.pku.edu.cn
This patch adds ps2/keyboard support, and enables CONFIG_PCKBD.
Signed-off-by: Guan Xuetao g...@mprc.pku.edu.cn
---
default-configs/unicore32-softmmu.mak |1 +
hw/puv3.c |5 +
2 files changed, 6 insertions(+), 0
From: Guan Xuetao g...@mprc.pku.edu.cn
These patches implement softmmu support on unicore32 architecture.
v1-v2: Correct maybe-uninitialized warning in gpio/pm/dma handlers.
UniCore32 CPU is embedded in PKUnity-3 SoC, so we add necessary puv3
devices simulation codes together.
Only minimal
From: Guan Xuetao g...@mprc.pku.edu.cn
This patch adds unicore32-softmmu build support, include configure,
makefile, arch_init, and all missing functions needed by softmmu.
Although all missing functions are empty, unicore32-softmmu could
be build successfully.
By 20120804: change
From: Guan Xuetao g...@mprc.pku.edu.cn
These patches implement softmmu support on unicore32 architecture.
Based on master branch of qemu, these patches can be fetched from:
git://github.com/gxt/QEMU.git for-review
UniCore32 CPU is embedded in PKUnity-3 SoC, so we add necessary puv3
devices
From: Guan Xuetao g...@mprc.pku.edu.cn
This patch initializes the cpuid to exactly correct value because
linux kernel will check it.
In addition, the exception types are specified in proper situations.
Then it could make exceptions generated correctly and timely.
Signed-off-by: Guan Xuetao
From: Guan Xuetao g...@mprc.pku.edu.cn
This patch adds puv3 gpio (General Purpose Input/Output) support,
include gpio device simulation and its interrupt support.
Signed-off-by: Guan Xuetao g...@mprc.pku.edu.cn
---
hw/Makefile.objs |1 +
hw/puv3.c|6 ++
hw/puv3_gpio.c | 141
From: Guan Xuetao g...@mprc.pku.edu.cn
This patch adds puv3 interrupt support, include interrupt controler
device simulation and interrupt handler in puv3 machine.
Signed-off-by: Guan Xuetao g...@mprc.pku.edu.cn
---
hw/Makefile.objs |3 +
hw/puv3.c| 23 +-
hw/puv3_intc.c
From: Guan Xuetao g...@mprc.pku.edu.cn
This patch disintegrates cpu_dump_state_ucf64 function from cpu_dump_state.
Signed-off-by: Guan Xuetao g...@mprc.pku.edu.cn
---
target-unicore32/translate.c | 41 +
1 files changed, 25 insertions(+), 16
From: Guan Xuetao g...@mprc.pku.edu.cn
This patch adds a minimal curses screen support for unicore32-softmmu.
We assume 80*30 screen size to minimize the implementation.
Two problems are not solved, but they are innocuous.
1. curses windows will be blank when switching to monitor screen and back
From: Guan Xuetao g...@mprc.pku.edu.cn
This patch just splits ucf64 instruction simulation helpers from
helper.c.
Also, two checkpatch warnings are solved.
v1-v2: adjust copyright information for new ucf64_helper.c
Signed-off-by: Guan Xuetao g...@mprc.pku.edu.cn
---
From: Guan Xuetao g...@mprc.pku.edu.cn
This patch sets is_default to 1 for puv3 machine, so that
find_default_machine() returns puv3 machine.
Thanks Dunrong for pointing it out.
Cc: Dunrong Huang riegama...@gmail.com
Signed-off-by: Guan Xuetao g...@mprc.pku.edu.cn
---
hw/puv3.c |1 +
1
From: Guan Xuetao g...@mprc.pku.edu.cn
Since of tedious output, we close dump-option of cpu_dump_state_ucf64 function.
Signed-off-by: Guan Xuetao g...@mprc.pku.edu.cn
---
target-unicore32/translate.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git
From: Guan Xuetao g...@mprc.pku.edu.cn
This patch only add puv3 soc/board support, which introduces puv3
machine description, and specifies console type.
Signed-off-by: Guan Xuetao g...@mprc.pku.edu.cn
---
default-configs/unicore32-softmmu.mak |1 +
hw/puv3.c |
From: Guan Xuetao g...@mprc.pku.edu.cn
This patch implements softmmu specific functions, include tlb_fill,
switch_mode, do_interrupt and uc32_cpu_handle_mmu_fault.
So the full exception handlers and page table walking could work now.
Signed-off-by: Guan Xuetao g...@mprc.pku.edu.cn
---
From: Guan Xuetao g...@mprc.pku.edu.cn
Signed-off-by: Guan Xuetao g...@mprc.pku.edu.cn
---
MAINTAINERS |8
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 2d219d2..708ad54 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -405,6 +405,14 @@
From: Andreas Färber afaer...@suse.de
Any code that depends on a particular CPU type can now go through
callbacks on the QOM UniCore32CPUClass.
Signed-off-by: Andreas Färber afaer...@suse.de
Acked-by: Guan Xuetao g...@mprc.pku.edu.cn
---
target-unicore32/cpu.h |4
1 files changed, 0
From: Guan Xuetao g...@mprc.pku.edu.cn
This patch adds ps2/keyboard support, and enables CONFIG_PCKBD.
Signed-off-by: Guan Xuetao g...@mprc.pku.edu.cn
---
default-configs/unicore32-softmmu.mak |1 +
hw/puv3.c |5 +
2 files changed, 6 insertions(+), 0
From: Guan Xuetao g...@mprc.pku.edu.cn
This patch adds puv3 pm (power management) support,
include pm device simulation for kernel booting.
Thank Blue Swirl for pointing out the missing break.
Signed-off-by: Guan Xuetao g...@mprc.pku.edu.cn
---
hw/Makefile.objs |1 +
hw/puv3.c|1
From: Guan Xuetao g...@mprc.pku.edu.cn
As a matter of course, we need to access user space in kernel code,
so we need to correct load/store decoders to indicate correct memory
region.
Signed-off-by: Guan Xuetao g...@mprc.pku.edu.cn
---
target-unicore32/translate.c | 36
From: Guan Xuetao g...@mprc.pku.edu.cn
This patch adds puv3 dma (Direct Memory Access) support,
include dma device simulation for kernel booting.
Signed-off-by: Guan Xuetao g...@mprc.pku.edu.cn
---
hw/Makefile.objs |1 +
hw/puv3.c|1 +
hw/puv3_dma.c| 109
From: Guan Xuetao g...@mprc.pku.edu.cn
Coprocessor 0 is system control coprocessor, and we need get/set its contents.
Also, all cache/tlb ops shoule be implemented here, but just ignored with no
harm.
Coprocessor 1 is OCD (on-chip-debugger), which is used for faked console,
so we could output
From: Guan Xuetao g...@mprc.pku.edu.cn
This patch adds puv3 ostimer support, include os timer
device simulation and ptimer support in puv3 machine.
Signed-off-by: Guan Xuetao g...@mprc.pku.edu.cn
---
default-configs/unicore32-softmmu.mak |1 +
hw/Makefile.objs |1 +
From: Guan Xuetao g...@mprc.pku.edu.cn
This patch disintegrates cpu_dump_state_ucf64 function from cpu_dump_state.
Signed-off-by: Guan Xuetao g...@mprc.pku.edu.cn
---
target-unicore32/translate.c | 41 +
1 files changed, 25 insertions(+), 16
From: Guan Xuetao g...@mprc.pku.edu.cn
This patch just splits ucf64 instruction simulation helpers from
helper.c.
Also, two checkpatch warnings are solved.
v1-v2: adjust copyright information for new ucf64_helper.c
Signed-off-by: Guan Xuetao g...@mprc.pku.edu.cn
---
From: Guan Xuetao g...@mprc.pku.edu.cn
Since of tedious output, we close dump-option of cpu_dump_state_ucf64 function.
Signed-off-by: Guan Xuetao g...@mprc.pku.edu.cn
---
target-unicore32/translate.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git
From: Guan Xuetao g...@mprc.pku.edu.cn
This patch adds a minimal curses screen support for unicore32-softmmu.
We assume 80*30 screen size to minimize the implementation.
Two problems are not solved, but they are innocuous.
1. curses windows will be blank when switching to monitor screen and back
are available in the git repository at:
git://github.com/gxt/QEMU.git unicore32
Andreas Färber (1):
target-unicore32: Drop UC32_CPUID macros
Guan Xuetao (14):
unicore32-softmmu: Add unicore32-softmmu build support
unicore32-softmmu: Add coprocessor 0(sysctrl) and 1(ocd
From: Guan Xuetao g...@mprc.pku.edu.cn
This patch disintegrates cpu_dump_state_ucf64 function from cpu_dump_state.
Since of tedious output, we close this dump in its default state.
Signed-off-by: Guan Xuetao g...@mprc.pku.edu.cn
---
target-unicore32/translate.c | 41
From: Guan Xuetao g...@mprc.pku.edu.cn
This patch just splits ucf64 instruction simulation helpers from
helper.c.
Also, two checkpatch warnings are solved.
v1-v2: adjust copyright information for new ucf64_helper.c
Signed-off-by: Guan Xuetao g...@mprc.pku.edu.cn
---
From: Guan Xuetao g...@mprc.pku.edu.cn
This patch adds a minimal curses screen support for unicore32-softmmu.
We assume 80*30 screen size to minimize the implementation.
Two problems are not solved, but they are innocuous.
1. curses windows will be blank when switching to monitor screen and back
are available in the git repository at:
git://github.com/gxt/QEMU.git unicore32
Andreas Färber (1):
target-unicore32: Drop UC32_CPUID macros
Guan Xuetao (13):
unicore32-softmmu: Add unicore32-softmmu build support
unicore32-softmmu: Add coprocessor 0(sysctrl) and 1(ocd
From: Guan Xuetao g...@mprc.pku.edu.cn
This patch sets is_default to 1 for puv3 machine, so that
find_default_machine() returns puv3 machine.
Thanks Dunrong for pointing it out.
Cc: Dunrong Huang riegama...@gmail.com
Signed-off-by: Guan Xuetao g...@mprc.pku.edu.cn
---
hw/puv3.c |1 +
1
From: Guan Xuetao g...@mprc.pku.edu.cn
This patch just splits ucf64 instruction simulation helpers from
helper.c.
Also, two checkpatch warnings are solved.
Signed-off-by: Guan Xuetao g...@mprc.pku.edu.cn
---
target-unicore32/Makefile.objs |2 +
target-unicore32/helper.c | 330
51 matches
Mail list logo