: warning: format ‘%04x’ expects type ‘unsigned int’, but
argument 2 has type ‘hwaddr’
Signed-off-by: liguang
---
hw/char/debugcon.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/char/debugcon.c b/hw/char/debugcon.c
index b52cbeb..4cf07c6 100644
--- a/hw/char/debugcon.c
=0x val=0x00
Oh, that's wrong, val is not always be 0.
this bug caused by lack of length modifier
for specifier 'x'.
Signed-off-by: liguang
---
hw/char/debugcon.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hw/char/debugcon.c b/hw/char/debugcon.
addr=0x val=0x20]
[debugcon: write addr=0x val=0x66]
Signed-off-by: liguang
---
hw/char/debugcon.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hw/char/debugcon.c b/hw/char/debugcon.c
index 44c93e1..b6f2b06 100644
--- a/hw/char/debugcon.c
+++ b/hw/char
: warning: format ‘%04x’ expects type ‘unsigned int’, but
argument 2 has type ‘hwaddr’
Signed-off-by: liguang
---
hw/char/debugcon.c |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/hw/char/debugcon.c b/hw/char/debugcon.c
index b6f2b06..a0d3633 100644
--- a/hw/char
addr=0x val=0x20]
[debugcon: write addr=0x val=0x66]
Signed-off-by: liguang
---
hw/char/debugcon.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hw/char/debugcon.c b/hw/char/debugcon.c
index 44c93e1..61ad7fb 100644
--- a/hw/char/debugcon.c
+++ b/hw/char
: warning: format ‘%04x’ expects type ‘unsigned int’, but
argument 2 has type ‘hwaddr’
Signed-off-by: liguang
---
hw/char/debugcon.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/char/debugcon.c b/hw/char/debugcon.c
index 61ad7fb..b1979ab 100644
--- a/hw/char/debugcon.c
=0x val=0x00
Oh, that's wrong, val is not always be 0.
this bug caused by lack of length modifier
for specifier 'x'.
Signed-off-by: liguang
---
hw/char/debugcon.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hw/char/debugcon.c b/hw/char/debugcon.
defined at ACPI SPEC v5 chapter 12:
"ACPI Embedded Controller Interface Specification"
Signed-off-by: liguang
---
src/acpi-dsdt-ec.dsl | 106 ++
1 files changed, 106 insertions(+), 0 deletions(-)
create mode 100644 src/acpi-dsdt-ec
ned-off-by: liguang
---
hw/ec.c | 113 +++
hw/ec.h | 20 +++
2 files changed, 133 insertions(+), 0 deletions(-)
create mode 100644 hw/ec.c
create mode 100644 hw/ec.h
diff --git a/hw/ec.c b/hw/ec.c
new file mode 100644
ind
Signed-off-by: liguang
---
target-i386/svm_helper.c |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/target-i386/svm_helper.c b/target-i386/svm_helper.c
index c46a213..f9ffd18 100644
--- a/target-i386/svm_helper.c
+++ b/target-i386/svm_helper.c
@@ -249,7 +249,7
here are some cleanups
Li Guang (6)
target-i386/seg_helper: replace env->eip with EIP
target-i386/smm_helper: replace env->eip with EIP
target-i386/svm_helper: replace env->eip with EIP
target-i386/svm_helper: remove redundant assignment
target-i386/seg
Signed-off-by: liguang
---
target-i386/smm_helper.c | 10 +-
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/target-i386/smm_helper.c b/target-i386/smm_helper.c
index eea2fe9..ba79075 100644
--- a/target-i386/smm_helper.c
+++ b/target-i386/smm_helper.c
@@ -93,7 +93,7
Signed-off-by: liguang
---
target-i386/seg_helper.c | 46 +++---
1 files changed, 23 insertions(+), 23 deletions(-)
diff --git a/target-i386/seg_helper.c b/target-i386/seg_helper.c
index 906e4f3..5f7f99d 100644
--- a/target-i386/seg_helper.c
+++ b
Signed-off-by: liguang
---
target-i386/svm_helper.c |1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/target-i386/svm_helper.c b/target-i386/svm_helper.c
index f9ffd18..393b126 100644
--- a/target-i386/svm_helper.c
+++ b/target-i386/svm_helper.c
@@ -249,7 +249,6 @@ void
for helper_{lsl, lar, verr, verw}, there are
common parts, so move them outside, and then
call this new helper-helper function.
Signed-off-by: liguang
---
target-i386/seg_helper.c | 179 ++---
1 files changed, 56 insertions(+), 123 deletions(-)
diff
Signed-off-by: liguang
---
target-i386/seg_helper.c | 71 +
1 files changed, 52 insertions(+), 19 deletions(-)
diff --git a/target-i386/seg_helper.c b/target-i386/seg_helper.c
index 635c5ab..aed5499 100644
--- a/target-i386/seg_helper.c
+++ b/target
remove macros EAX, EBX, ECX, EDX, EBP, ESP, ESI, EDI, EIP, DF
as suggested by Richard Henderson
Li Guang (12)
target-i386/helper: remove EAX macro
target-i386/helper: remove EBX macro
target-i386/helper: remove ECX macro
target-i386/helper: remove EDX macro
Signed-off-by: liguang
---
target-i386/cpu.h |2 --
target-i386/mem_helper.c |4 ++--
target-i386/misc_helper.c |2 +-
target-i386/seg_helper.c |6 +++---
target-i386/smm_helper.c |8
5 files changed, 10 insertions(+), 12 deletions(-)
diff --git a/target
Signed-off-by: liguang
---
target-i386/cpu.h|2 --
target-i386/seg_helper.c | 10 +-
target-i386/smm_helper.c |8
3 files changed, 9 insertions(+), 11 deletions(-)
diff --git a/target-i386/cpu.h b/target-i386/cpu.h
index 78d1033..f2c4a49 100644
--- a/target
Signed-off-by: liguang
---
target-i386/cpu.h|2 --
target-i386/seg_helper.c |6 +++---
target-i386/smm_helper.c |8
3 files changed, 7 insertions(+), 9 deletions(-)
diff --git a/target-i386/cpu.h b/target-i386/cpu.h
index 9d52939..a7c73bf 100644
--- a/target-i386
Signed-off-by: liguang
---
target-i386/svm_helper.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/target-i386/svm_helper.c b/target-i386/svm_helper.c
index 649be02..e18fa35 100644
--- a/target-i386/svm_helper.c
+++ b/target-i386/svm_helper.c
@@ -249,7 +249,7 @@ void
remove macros EAX, EBX, ECX, EDX, EBP, ESP, ESI, EDI, EIP, DF
as suggested by Richard Henderson
Li Guang (12)
target-i386/helper: remove EAX macro
target-i386/helper: remove EBX macro
target-i386/helper: remove ECX macro
target-i386/helper: remove EDX macro
Signed-off-by: liguang
---
target-i386/cpu.h |2 --
target-i386/int_helper.c | 24
target-i386/mem_helper.c |8
target-i386/misc_helper.c |8
target-i386/seg_helper.c |8
target-i386/smm_helper.c |8
6
Signed-off-by: liguang
---
target-i386/cpu.h|2 --
target-i386/seg_helper.c | 10 +-
target-i386/smm_helper.c |8
3 files changed, 9 insertions(+), 11 deletions(-)
diff --git a/target-i386/cpu.h b/target-i386/cpu.h
index 78d1033..f2c4a49 100644
--- a/target
Signed-off-by: liguang
---
cpu-exec.c |4 ++--
target-i386/cc_helper.c |2 +-
target-i386/cpu.h |6 ++
3 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/cpu-exec.c b/cpu-exec.c
index 31c089d..ec46380 100644
--- a/cpu-exec.c
+++ b/cpu-exec.c
Signed-off-by: liguang
---
target-i386/misc_helper.c | 39 ++-
target-i386/seg_helper.c | 16 +---
target-i386/svm_helper.c |6 --
3 files changed, 39 insertions(+), 22 deletions(-)
diff --git a/target-i386/misc_helper.c b/target
remove macros EAX, EBX, ECX, EDX, EBP, ESP, ESI, EDI, EIP, DF
as suggested by Richard Henderson
Li Guang (12)
target-i386/helper: remove EAX macro
target-i386/helper: remove EBX macro
target-i386/helper: remove ECX macro
target-i386/helper: remove EDX macro
Signed-off-by: liguang
---
target-i386/misc_helper.c | 39 ++-
target-i386/seg_helper.c | 16 +---
target-i386/svm_helper.c |6 --
3 files changed, 39 insertions(+), 22 deletions(-)
diff --git a/target-i386/misc_helper.c b/target
Signed-off-by: liguang
---
target-i386/cpu.h |2 --
target-i386/mem_helper.c |4 ++--
target-i386/misc_helper.c |2 +-
target-i386/seg_helper.c |6 +++---
target-i386/smm_helper.c |8
5 files changed, 10 insertions(+), 12 deletions(-)
diff --git a/target
Signed-off-by: liguang
---
target-i386/cpu.h |2 --
target-i386/excp_helper.c |2 +-
target-i386/misc_helper.c |4 ++--
target-i386/seg_helper.c | 24
target-i386/svm_helper.c | 16
5 files changed, 23 insertions(+), 25
remove macros EAX, EBX, ECX, EDX, EBP, ESP, ESI, EDI, EIP, DF
as suggested by Richard Henderson
Li Guang (12)
target-i386/helper: remove EAX macro
target-i386/helper: remove EBX macro
target-i386/helper: remove ECX macro
target-i386/helper: remove EDX macro
Signed-off-by: liguang
---
target-i386/cpu.h|2 -
target-i386/seg_helper.c | 80 +++--
target-i386/smm_helper.c |8 ++--
target-i386/svm_helper.c |8 ++--
4 files changed, 49 insertions(+), 49 deletions(-)
diff --git a/target-i386
Signed-off-by: liguang
---
target-i386/cpu.h |2 -
target-i386/int_helper.c | 62 ++--
target-i386/mem_helper.c |8 +++---
target-i386/misc_helper.c | 10 +++---
target-i386/seg_helper.c |8 +++---
target-i386/smm_helper.c
Signed-off-by: liguang
---
target-i386/cpu.h|2 --
target-i386/seg_helper.c |6 +++---
target-i386/smm_helper.c |8
3 files changed, 7 insertions(+), 9 deletions(-)
diff --git a/target-i386/cpu.h b/target-i386/cpu.h
index a7c73bf..23166d1 100644
--- a/target-i386
for helper_{lsl, lar, verr, verw}, there are
common parts, so move them outside, and then
call this new helper-helper function.
Signed-off-by: liguang
---
target-i386/seg_helper.c | 179 ++---
1 files changed, 56 insertions(+), 123 deletions(-)
diff
Signed-off-by: liguang
---
target-i386/seg_helper.c | 71 +
1 files changed, 52 insertions(+), 19 deletions(-)
diff --git a/target-i386/seg_helper.c b/target-i386/seg_helper.c
index 419efd8..6b35b7c 100644
--- a/target-i386/seg_helper.c
+++ b/target
Signed-off-by: liguang
---
cpu-exec.c |4 ++--
target-i386/cc_helper.c |2 +-
target-i386/cpu.h |6 ++
3 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/cpu-exec.c b/cpu-exec.c
index 31c089d..ec46380 100644
--- a/cpu-exec.c
+++ b/cpu-exec.c
Signed-off-by: liguang
---
target-i386/svm_helper.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/target-i386/svm_helper.c b/target-i386/svm_helper.c
index 649be02..e18fa35 100644
--- a/target-i386/svm_helper.c
+++ b/target-i386/svm_helper.c
@@ -249,7 +249,7 @@ void
Signed-off-by: liguang
---
target-i386/cpu.h|2 --
target-i386/seg_helper.c |6 +++---
target-i386/smm_helper.c |8
3 files changed, 7 insertions(+), 9 deletions(-)
diff --git a/target-i386/cpu.h b/target-i386/cpu.h
index 9d52939..a7c73bf 100644
--- a/target-i386
Signed-off-by: liguang
---
target-i386/cpu.h|2 --
target-i386/seg_helper.c |6 +++---
target-i386/smm_helper.c |8
3 files changed, 7 insertions(+), 9 deletions(-)
diff --git a/target-i386/cpu.h b/target-i386/cpu.h
index a7c73bf..23166d1 100644
--- a/target-i386
Signed-off-by: liguang
---
target-i386/cpu.h |2 --
target-i386/mem_helper.c |4 ++--
target-i386/misc_helper.c | 44 ++--
target-i386/seg_helper.c | 18 +-
target-i386/smm_helper.c |8
target-i386
Signed-off-by: liguang
---
target-i386/cpu.h |2 --
target-i386/mem_helper.c |4 ++--
target-i386/misc_helper.c | 44 ++--
target-i386/seg_helper.c | 18 +-
target-i386/smm_helper.c |8
target-i386
Signed-off-by: liguang
---
target-i386/cpu.h|2 -
target-i386/seg_helper.c | 80 +++--
target-i386/smm_helper.c |8 ++--
target-i386/svm_helper.c |8 ++--
4 files changed, 49 insertions(+), 49 deletions(-)
diff --git a/target-i386
Signed-off-by: liguang
---
target-i386/cpu.h |2 --
target-i386/excp_helper.c |2 +-
target-i386/misc_helper.c |4 ++--
target-i386/seg_helper.c | 24
target-i386/svm_helper.c | 16
5 files changed, 23 insertions(+), 25
Signed-off-by: liguang
---
target-i386/cpu.h |2 -
target-i386/int_helper.c | 62 ++--
target-i386/mem_helper.c |8 +++---
target-i386/misc_helper.c | 10 +++---
target-i386/seg_helper.c |8 +++---
target-i386/smm_helper.c
Signed-off-by: liguang
---
target-i386/cpu.h |2 --
target-i386/int_helper.c | 24
target-i386/mem_helper.c |8
target-i386/misc_helper.c |8
target-i386/seg_helper.c |8
target-i386/smm_helper.c |8
6
remove macros EAX, EBX, ECX, EDX, EBP, ESP, ESI, EDI, EIP, DF
as suggested by Richard Henderson
Li Guang (12)
target-i386/helper: remove EAX macro
target-i386/helper: remove EBX macro
target-i386/helper: remove ECX macro
target-i386/helper: remove EDX macro
Signed-off-by: liguang
---
target-i386/cpu.h |2 --
target-i386/mem_helper.c |4 ++--
target-i386/misc_helper.c |2 +-
target-i386/seg_helper.c |6 +++---
target-i386/smm_helper.c |8
5 files changed, 10 insertions(+), 12 deletions(-)
diff --git a/target
Signed-off-by: liguang
---
target-i386/cpu.h |2 --
target-i386/int_helper.c | 24
target-i386/mem_helper.c |8
target-i386/misc_helper.c |8
target-i386/seg_helper.c |8
target-i386/smm_helper.c |8
6
Signed-off-by: liguang
---
target-i386/cpu.h|2 --
target-i386/seg_helper.c |6 +++---
target-i386/smm_helper.c |8
3 files changed, 7 insertions(+), 9 deletions(-)
diff --git a/target-i386/cpu.h b/target-i386/cpu.h
index a7c73bf..23166d1 100644
--- a/target-i386
Signed-off-by: liguang
---
target-i386/cpu.h|2 --
target-i386/seg_helper.c |6 +++---
target-i386/smm_helper.c |8
3 files changed, 7 insertions(+), 9 deletions(-)
diff --git a/target-i386/cpu.h b/target-i386/cpu.h
index 9d52939..a7c73bf 100644
--- a/target-i386
Signed-off-by: liguang
---
target-i386/svm_helper.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/target-i386/svm_helper.c b/target-i386/svm_helper.c
index 649be02..e18fa35 100644
--- a/target-i386/svm_helper.c
+++ b/target-i386/svm_helper.c
@@ -249,7 +249,7 @@ void
Signed-off-by: liguang
---
target-i386/cpu.h |2 -
target-i386/int_helper.c | 62 ++--
target-i386/mem_helper.c |8 +++---
target-i386/misc_helper.c | 10 +++---
target-i386/seg_helper.c |8 +++---
target-i386/smm_helper.c
Signed-off-by: liguang
---
cpu-exec.c |4 ++--
target-i386/cc_helper.c |2 +-
target-i386/cpu.h |6 ++
3 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/cpu-exec.c b/cpu-exec.c
index 31c089d..ec46380 100644
--- a/cpu-exec.c
+++ b/cpu-exec.c
Signed-off-by: liguang
---
target-i386/cpu.h|2 -
target-i386/seg_helper.c | 80 +++--
target-i386/smm_helper.c |8 ++--
target-i386/svm_helper.c |8 ++--
4 files changed, 49 insertions(+), 49 deletions(-)
diff --git a/target-i386
Signed-off-by: liguang
---
target-i386/cpu.h|2 --
target-i386/seg_helper.c | 10 +-
target-i386/smm_helper.c |8
3 files changed, 9 insertions(+), 11 deletions(-)
diff --git a/target-i386/cpu.h b/target-i386/cpu.h
index 78d1033..f2c4a49 100644
--- a/target
Signed-off-by: liguang
---
target-i386/cpu.h |2 --
target-i386/mem_helper.c |4 ++--
target-i386/misc_helper.c | 44 ++--
target-i386/seg_helper.c | 18 +-
target-i386/smm_helper.c |8
target-i386
Signed-off-by: liguang
---
target-i386/misc_helper.c | 39 ++-
target-i386/seg_helper.c | 16 +---
target-i386/svm_helper.c |6 --
3 files changed, 39 insertions(+), 22 deletions(-)
diff --git a/target-i386/misc_helper.c b/target
Signed-off-by: liguang
---
target-i386/cpu.h |2 --
target-i386/excp_helper.c |2 +-
target-i386/misc_helper.c |4 ++--
target-i386/seg_helper.c | 24
target-i386/svm_helper.c | 16
5 files changed, 23 insertions(+), 25
cs_base is only meaningful for target-i386/sparc,
so, get rid of cs_base for other target
Signed-off-by: liguang
---
cpu-exec.c | 26 ++
exec.c |6 +++---
hw/i386/kvmvapic.c |6 ++
include/exec/exec-all.h |5
Signed-off-by: liguang
---
target-alpha/cpu.h |3 +--
target-arm/cpu.h|3 +--
target-cris/cpu.h |3 +--
target-lm32/cpu.h |3 +--
target-m68k/cpu.h |3 +--
target-microblaze/cpu.h |3 +--
target-mips/cpu.h |3 +--
target-moxie
Signed-off-by: liguang
---
hw/sd/sdhci.c |2 +-
hw/sd/sdhci.h | 312
include/hw/sdhci.h | 312
3 files changed, 313 insertions(+), 313 deletions(-)
delete mode 100644 hw/sd
sunxi-linux kernel parse config script
to do hardware configurations
Signed-off-by: liguang
---
hw/arm/allwinner-a10.c | 18 ++
hw/arm/cubieboard.c|2 ++
include/hw/arm/allwinner-a10.h |5 +
pc-bios/aw-script.bin | Bin 0 -> 50188 by
:
http://dl.dbank.com/c00aonvlmw
Signed-off-by: liguang
---
hw/arm/allwinner-a10.c | 27 +++
hw/arm/cubieboard.c|2 ++
include/hw/arm/allwinner-a10.h |5 +
3 files changed, 34 insertions(+), 0 deletions(-)
diff --git a/hw/arm/allwinner-a10
Signed-off-by: liguang
---
translate-all.c |1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/translate-all.c b/translate-all.c
index da93608..d04a116 100644
--- a/translate-all.c
+++ b/translate-all.c
@@ -55,7 +55,6 @@
#else
#include "exec/address-spaces.h&quo
for helper_{lsl, lar, verr, verw}, there are
common parts, so move them outside, and then
call this new helper-helper function.
Signed-off-by: liguang
---
v2: change misc_check_helper to privilege_check
---
target-i386/seg_helper.c | 179 ++---
1 files
Signed-off-by: liguang
---
target-i386/seg_helper.c | 71 +
1 files changed, 52 insertions(+), 19 deletions(-)
diff --git a/target-i386/seg_helper.c b/target-i386/seg_helper.c
index eb9dc04..2e6ee7c 100644
--- a/target-i386/seg_helper.c
+++ b/target
Signed-off-by: liguang
---
include/hw/acpi/acpi.h |2 +-
vl.c |4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/hw/acpi/acpi.h b/include/hw/acpi/acpi.h
index 635be7b..b01a9dc 100644
--- a/include/hw/acpi/acpi.h
+++ b/include/hw/acpi/acpi.h
Signed-off-by: liguang
---
hw/i386/pc.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hw/i386/pc.c b/hw/i386/pc.c
index 197d218..77025a8 100644
--- a/hw/i386/pc.c
+++ b/hw/i386/pc.c
@@ -982,7 +982,7 @@ void pc_acpi_init(const char *default_dsdt)
{
char *filename
Signed-off-by: liguang
---
hw/acpi/core.c |8
hw/acpi/ich9.c |2 +-
hw/acpi/piix4.c|2 +-
include/hw/acpi/acpi.h |4 ++--
4 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/hw/acpi/core.c b/hw/acpi/core.c
index 42eeace..38ddeb8 100644
ned-off-by: liguang
---
default-configs/x86_64-softmmu.mak |1 +
hw/acpi/Makefile.objs |1 +
hw/acpi/ec.c | 192
include/hw/acpi/ec.h | 29 ++
4 files changed, 223 insertions(+), 0 deletions(-)
c
These patches try to add ACPI Embedded Controller (EC),
refer-to:
ACPI SPEC v5 chapter 5
"ACPI Embedded Controller Interface Specification"
EC is a standard ACPI device, it plays flexible roles,
e.g.
power controller, it can control power sequence for
platform to enter or leave system state(0,1,
Signed-off-by: liguang
---
src/acpi-dsdt.dsl |1 +
src/ec.dsl| 51 +
src/q35-acpi-dsdt.dsl |1 +
3 files changed, 53 insertions(+), 0 deletions(-)
create mode 100644 src/ec.dsl
diff --git a/src/acpi-dsdt.dsl b/src/acpi
Signed-off-by: liguang
---
hw/acpi/ich9.c | 15 +++
include/hw/acpi/ich9.h |1 +
2 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/hw/acpi/ich9.c b/hw/acpi/ich9.c
index 582dbec..2ecde32 100644
--- a/hw/acpi/ich9.c
+++ b/hw/acpi/ich9.c
@@ -33,6 +33,7
=0x val=0x00
Oh, that's wrong, val is not always be 0.
this bug caused by lack of length modifier
for specifier 'x'.
Signed-off-by: liguang
---
v4: fix misleading subject
---
hw/char/debugcon.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hw/char/
=0x val=0x00
Oh, that's wrong, val is not always be 0.
this bug caused by lack of length modifier
for specifier 'x'.
Signed-off-by: liguang
---
v4: fix misleading subject
---
hw/char/debugcon.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hw/char/
addr=0x val=0x20]
[debugcon: write addr=0x val=0x66]
Signed-off-by: liguang
---
hw/char/debugcon.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hw/char/debugcon.c b/hw/char/debugcon.c
index 7e41c90..52fa0ab 100644
--- a/hw/char/debugcon.c
+++ b/hw/char
: warning: format ‘%04x’ expects type ‘unsigned int’, but
argument 2 has type ‘hwaddr’
Signed-off-by: liguang
---
hw/char/debugcon.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/char/debugcon.c b/hw/char/debugcon.c
index 52fa0ab..3b0637d 100644
--- a/hw/char/debugcon.c
=0x val=0x00
Oh, that's wrong, val is not always be 0.
this bug caused by lack of length modifier
for specifier 'x'.
Signed-off-by: liguang
---
hw/char/debugcon.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hw/char/debugcon.c b/hw/char/debugcon.
when enable DEBUG_DEBUGCON, there are some message
printing bugs, so fix them.
this patch-set based on previous 3 patches,
http://comments.gmane.org/gmane.comp.emulators.qemu/212550
http://comments.gmane.org/gmane.comp.emulators.qemu/212551
http://comments.gmane.org/gmane.comp.emulators.qemu/21255
suggested by Andreas Färber
Signed-off-by: liguang
---
hw/char/debugcon.c |5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/hw/char/debugcon.c b/hw/char/debugcon.c
index 3b0637d..be20ede 100644
--- a/hw/char/debugcon.c
+++ b/hw/char/debugcon.c
@@ -55,7 +55,8
: warning: format ‘%04x’ expects type ‘unsigned int’, but
argument 2 has type ‘hwaddr’
Signed-off-by: liguang
---
hw/char/debugcon.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/char/debugcon.c b/hw/char/debugcon.c
index 52fa0ab..3b0637d 100644
--- a/hw/char/debugcon.c
addr=0x val=0x20]
[debugcon: write addr=0x val=0x66]
Signed-off-by: liguang
---
hw/char/debugcon.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hw/char/debugcon.c b/hw/char/debugcon.c
index 7e41c90..52fa0ab 100644
--- a/hw/char/debugcon.c
+++ b/hw/char
Signed-off-by: liguang
---
hw/arm/Makefile.objs |2 +-
hw/arm/cubieboard.c | 33 +
2 files changed, 34 insertions(+), 1 deletions(-)
create mode 100644 hw/arm/cubieboard.c
diff --git a/hw/arm/Makefile.objs b/hw/arm/Makefile.objs
index b9e5983..8be8d8e
add support for allwinner A10 SoC with a cortex-a8 processor.
and will add more devices later.
v2: split timer and interrupt controller emulation into
their corresponding files.
v3:
1. change loader_start address
2. add 64-bit counter
3. fixup fail to clear interrup status issue
Signed-off-by: liguang
---
include/migration/vmstate.h |4
savevm.c| 31 +++
2 files changed, 35 insertions(+), 0 deletions(-)
diff --git a/include/migration/vmstate.h b/include/migration/vmstate.h
index 9d09e60..977cf52 100644
--- a
Signed-off-by: liguang
---
default-configs/arm-softmmu.mak |2 +
hw/timer/Makefile.objs |2 +
hw/timer/allwinner-a10_pit.c | 253 ++
include/hw/timer/allwinner-a10_pit.h | 57
4 files changed, 314 insertions(+), 0
Signed-off-by: liguang
---
hw/arm/Makefile.objs |2 +-
hw/arm/allwinner-a10.c | 39 +++
include/hw/arm/allwinner-a10.h | 27 +++
3 files changed, 67 insertions(+), 1 deletions(-)
create mode 100644 hw/arm
Signed-off-by: liguang
---
hw/intc/Makefile.objs |1 +
hw/intc/allwinner-a10_pic.c | 218 +++
include/hw/intc/allwinner-a10_pic.h | 40 +++
3 files changed, 259 insertions(+), 0 deletions(-)
create mode 100644 hw/intc/allwinner
Signed-off-by: liguang
---
include/migration/vmstate.h |4
savevm.c| 31 +++
2 files changed, 35 insertions(+), 0 deletions(-)
diff --git a/include/migration/vmstate.h b/include/migration/vmstate.h
index 9d09e60..977cf52 100644
--- a
Signed-off-by: liguang
---
default-configs/arm-softmmu.mak |2 +
hw/timer/Makefile.objs |2 +
hw/timer/allwinner-a10-pit.c | 253 ++
include/hw/timer/allwinner-a10-pit.h | 57
4 files changed, 314 insertions(+), 0
Signed-off-by: liguang
---
hw/arm/Makefile.objs |2 +-
hw/arm/allwinner-a10.c | 77
include/hw/arm/allwinner-a10.h | 36 ++
3 files changed, 114 insertions(+), 1 deletions(-)
create mode 100644 hw/arm/allwinner
Signed-off-by: liguang
---
hw/arm/Makefile.objs |2 +-
hw/arm/cubieboard.c | 52 ++
2 files changed, 53 insertions(+), 1 deletions(-)
create mode 100644 hw/arm/cubieboard.c
diff --git a/hw/arm/Makefile.objs b/hw/arm/Makefile.objs
index
Signed-off-by: liguang
---
hw/intc/Makefile.objs |1 +
hw/intc/allwinner-a10-pic.c | 218 +++
include/hw/intc/allwinner-a10-pic.h | 40 +++
3 files changed, 259 insertions(+), 0 deletions(-)
create mode 100644 hw/intc/allwinner
lay a foundation for allwinner A10 SoC with a cortex-a8
processor, and will add more devices later.
v2: split timer and interrupt controller emulation into
their corresponding files.
v3:
1. change loader_start address
2. add 64-bit counter
3. fixup fail to clear interrup status
lay a foundation for allwinner A10 SoC with a cortex-a8
processor, and will add more devices later.
v2: split timer and interrupt controller emulation into
their corresponding files.
v3:
1. change loader_start address
2. add 64-bit counter
3. fixup fail to clear interrup status
Signed-off-by: liguang
---
hw/arm/Makefile.objs |2 +-
hw/arm/cubieboard.c | 53 ++
2 files changed, 54 insertions(+), 1 deletions(-)
create mode 100644 hw/arm/cubieboard.c
diff --git a/hw/arm/Makefile.objs b/hw/arm/Makefile.objs
index
Signed-off-by: liguang
---
default-configs/arm-softmmu.mak |1 +
hw/intc/Makefile.objs |1 +
hw/intc/allwinner-a10-pic.c | 218 +++
include/hw/intc/allwinner-a10-pic.h | 40 +++
4 files changed, 260 insertions(+), 0
Signed-off-by: liguang
---
include/migration/vmstate.h |4
savevm.c| 31 +++
2 files changed, 35 insertions(+), 0 deletions(-)
diff --git a/include/migration/vmstate.h b/include/migration/vmstate.h
index 9d09e60..977cf52 100644
--- a
Signed-off-by: liguang
---
default-configs/arm-softmmu.mak |1 +
hw/arm/Makefile.objs|1 +
hw/arm/allwinner-a10.c | 87 +++
include/hw/arm/allwinner-a10.h | 35
4 files changed, 124 insertions(+), 0 deletions
101 - 200 of 345 matches
Mail list logo