You need to sign in or sign up before continuing.
提交 5a24f20a 编写于 作者: P Peter Maydell

Merge remote-tracking branch 'remotes/mjt/tags/pull-trivial-patches-2015-04-04' into staging

trivial patches for 2015-04-04

# gpg: Signature made Sat Apr  4 08:07:49 2015 BST using RSA key ID A4C3D7DB
# gpg: Good signature from "Michael Tokarev <mjt@tls.msk.ru>"
# gpg:                 aka "Michael Tokarev <mjt@corpit.ru>"
# gpg:                 aka "Michael Tokarev <mjt@debian.org>"

* remotes/mjt/tags/pull-trivial-patches-2015-04-04:
  vhost: fix typo in vq_index description
  gitignore: Ignore more .pod files.
  target-tricore: Fix check which was always false
  target-i386: remove superfluous TARGET_HAS_SMC macro
  pcspk: Fix I/O port name
Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
...@@ -37,14 +37,8 @@ ...@@ -37,14 +37,8 @@
/qemu-tech.html /qemu-tech.html
/qemu-doc.info /qemu-doc.info
/qemu-tech.info /qemu-tech.info
/qemu.1
/qemu.pod
/qemu-img.1
/qemu-img.pod
/qemu-img /qemu-img
/qemu-nbd /qemu-nbd
/qemu-nbd.8
/qemu-nbd.pod
/qemu-options.def /qemu-options.def
/qemu-options.texi /qemu-options.texi
/qemu-img-cmds.texi /qemu-img-cmds.texi
...@@ -56,8 +50,7 @@ ...@@ -56,8 +50,7 @@
/qmp-commands.txt /qmp-commands.txt
/vscclient /vscclient
/fsdev/virtfs-proxy-helper /fsdev/virtfs-proxy-helper
/fsdev/virtfs-proxy-helper.1 *.[1-9]
/fsdev/virtfs-proxy-helper.pod
*.a *.a
*.aux *.aux
*.cp *.cp
...@@ -70,6 +63,7 @@ ...@@ -70,6 +63,7 @@
*.ky *.ky
*.log *.log
*.pdf *.pdf
*.pod
*.cps *.cps
*.fns *.fns
*.kys *.kys
......
...@@ -167,7 +167,7 @@ static void pcspk_initfn(Object *obj) ...@@ -167,7 +167,7 @@ static void pcspk_initfn(Object *obj)
{ {
PCSpkState *s = PC_SPEAKER(obj); PCSpkState *s = PC_SPEAKER(obj);
memory_region_init_io(&s->ioport, OBJECT(s), &pcspk_io_ops, s, "elcr", 1); memory_region_init_io(&s->ioport, OBJECT(s), &pcspk_io_ops, s, "pcspk", 1);
} }
static void pcspk_realizefn(DeviceState *dev, Error **errp) static void pcspk_realizefn(DeviceState *dev, Error **errp)
......
...@@ -36,7 +36,7 @@ struct vhost_dev { ...@@ -36,7 +36,7 @@ struct vhost_dev {
MemoryRegionSection *mem_sections; MemoryRegionSection *mem_sections;
struct vhost_virtqueue *vqs; struct vhost_virtqueue *vqs;
int nvqs; int nvqs;
/* the first virtuque which would be used by this vhost dev */ /* the first virtqueue which would be used by this vhost dev */
int vq_index; int vq_index;
unsigned long long features; unsigned long long features;
unsigned long long acked_features; unsigned long long acked_features;
......
...@@ -31,8 +31,6 @@ ...@@ -31,8 +31,6 @@
/* Maximum instruction code size */ /* Maximum instruction code size */
#define TARGET_MAX_INSN_SIZE 16 #define TARGET_MAX_INSN_SIZE 16
/* target supports implicit self modifying code */
#define TARGET_HAS_SMC
/* support for self modifying code even if the modified instruction is /* support for self modifying code even if the modified instruction is
close to the modifying instruction */ close to the modifying instruction */
#define TARGET_HAS_PRECISE_SMC #define TARGET_HAS_PRECISE_SMC
......
...@@ -2573,7 +2573,7 @@ void helper_rslcx(CPUTriCoreState *env) ...@@ -2573,7 +2573,7 @@ void helper_rslcx(CPUTriCoreState *env)
/* CSU trap */ /* CSU trap */
} }
/* if (PCXI.UL == 1) then trap(CTYP); */ /* if (PCXI.UL == 1) then trap(CTYP); */
if ((env->PCXI & MASK_PCXI_UL) == 1) { if ((env->PCXI & MASK_PCXI_UL) != 0) {
/* CTYP trap */ /* CTYP trap */
} }
/* EA = {PCXI.PCXS, 6'b0, PCXI.PCXO, 6'b0}; */ /* EA = {PCXI.PCXS, 6'b0, PCXI.PCXO, 6'b0}; */
......
...@@ -1334,8 +1334,6 @@ static inline void tb_alloc_page(TranslationBlock *tb, ...@@ -1334,8 +1334,6 @@ static inline void tb_alloc_page(TranslationBlock *tb,
p->first_tb = (TranslationBlock *)((uintptr_t)tb | n); p->first_tb = (TranslationBlock *)((uintptr_t)tb | n);
invalidate_page_bitmap(p); invalidate_page_bitmap(p);
#if defined(TARGET_HAS_SMC) || 1
#if defined(CONFIG_USER_ONLY) #if defined(CONFIG_USER_ONLY)
if (p->flags & PAGE_WRITE) { if (p->flags & PAGE_WRITE) {
target_ulong addr; target_ulong addr;
...@@ -1371,8 +1369,6 @@ static inline void tb_alloc_page(TranslationBlock *tb, ...@@ -1371,8 +1369,6 @@ static inline void tb_alloc_page(TranslationBlock *tb,
tlb_protect_code(page_addr); tlb_protect_code(page_addr);
} }
#endif #endif
#endif /* TARGET_HAS_SMC */
} }
/* add a new TB and link it to the physical page tables. phys_page2 is /* add a new TB and link it to the physical page tables. phys_page2 is
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册