summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emulation/kvm/files/kvm-53-qemu-exec-fmt.patch')
-rw-r--r--app-emulation/kvm/files/kvm-53-qemu-exec-fmt.patch59
1 files changed, 0 insertions, 59 deletions
diff --git a/app-emulation/kvm/files/kvm-53-qemu-exec-fmt.patch b/app-emulation/kvm/files/kvm-53-qemu-exec-fmt.patch
deleted file mode 100644
index 4e6e375..0000000
--- a/app-emulation/kvm/files/kvm-53-qemu-exec-fmt.patch
+++ /dev/null
@@ -1,59 +0,0 @@
-From d843a842f162bf9f64666b1e3402c07716232cd2 Mon Sep 17 00:00:00 2001
-From: Carlo Marcelo Arenas Belon <carenas@thinkpad.sajinet.com.pe>
-Date: Wed, 21 Nov 2007 21:45:48 -0800
-Subject: [PATCH] qemu: cvs diff -u -r1.110 -r1.111 exec.c
-
-Signed-off-by: Carlo Marcelo Arenas Belon <carenas@sajinet.com.pe>
----
- qemu/exec.c | 14 +++++++-------
- 1 files changed, 7 insertions(+), 7 deletions(-)
-
-diff --git a/qemu/exec.c b/qemu/exec.c
-index 788a913..7343c75 100644
---- a/qemu/exec.c
-+++ b/qemu/exec.c
-@@ -353,10 +353,10 @@ void tb_flush(CPUState *env1)
- {
- CPUState *env;
- #if defined(DEBUG_FLUSH)
-- printf("qemu: flush code_size=%d nb_tbs=%d avg_tb_size=%d\n",
-- code_gen_ptr - code_gen_buffer,
-- nb_tbs,
-- nb_tbs > 0 ? (code_gen_ptr - code_gen_buffer) / nb_tbs : 0);
-+ printf("qemu: flush code_size=%ld nb_tbs=%d avg_tb_size=%ld\n",
-+ (unsigned long)(code_gen_ptr - code_gen_buffer),
-+ nb_tbs, nb_tbs > 0 ?
-+ ((unsigned long)(code_gen_ptr - code_gen_buffer)) / nb_tbs : 0);
- #endif
- nb_tbs = 0;
-
-@@ -903,7 +903,7 @@ static inline void tb_alloc_page(TranslationBlock *tb,
- mprotect(g2h(page_addr), qemu_host_page_size,
- (prot & PAGE_BITS) & ~PAGE_WRITE);
- #ifdef DEBUG_TB_INVALIDATE
-- printf("protecting code page: 0x%08lx\n",
-+ printf("protecting code page: 0x" TARGET_FMT_lx "\n",
- page_addr);
- #endif
- }
-@@ -2110,7 +2110,7 @@ void qemu_ram_free(ram_addr_t addr)
- static uint32_t unassigned_mem_readb(void *opaque, target_phys_addr_t addr)
- {
- #ifdef DEBUG_UNASSIGNED
-- printf("Unassigned mem read " TARGET_FMT_lx "\n", addr);
-+ printf("Unassigned mem read " TARGET_FMT_plx "\n", addr);
- #endif
- #ifdef TARGET_SPARC
- do_unassigned_access(addr, 0, 0, 0);
-@@ -2121,7 +2121,7 @@ static uint32_t unassigned_mem_readb(void *opaque, target_phys_addr_t addr)
- static void unassigned_mem_writeb(void *opaque, target_phys_addr_t addr, uint32_t val)
- {
- #ifdef DEBUG_UNASSIGNED
-- printf("Unassigned mem write " TARGET_FMT_lx " = 0x%x\n", addr, val);
-+ printf("Unassigned mem write " TARGET_FMT_plx " = 0x%x\n", addr, val);
- #endif
- #ifdef TARGET_SPARC
- do_unassigned_access(addr, 1, 0, 0);
---
-1.5.2.5
-