x86 cleanup

Remove some unnecessary includes, add needed includes, move prototypes to
cpu.h to suppress missing prototype warnings.

Remove unused functions and prototypes (cpu_x86_flush_tlb, cpu_lock,
cpu_unlock, restore_native_fp_state, save_native_fp_state).

Make some functions and data static (f15rk, parity_table, rclw_table,
rclb_table, raise_interrupt, fpu_raise_exception), they are not used
outside op_helper.c anymore.

Make some x86_64 and user only code conditional to avoid warnings.

Document where each function is implemented in cpu.h and exec.h.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6005 c046a42c-6fe2-441c-8c8c-71466251a162
4 files changed
tree: e0a4e15127e792a92b9f9cc27e52e59b77f81b2c
  1. audio/
  2. bsd-user/
  3. darwin-user/
  4. fpu/
  5. gdb-xml/
  6. hw/
  7. keymaps/
  8. linux-user/
  9. pc-bios/
  10. slirp/
  11. target-alpha/
  12. target-arm/
  13. target-cris/
  14. target-i386/
  15. target-m68k/
  16. target-mips/
  17. target-ppc/
  18. target-sh4/
  19. target-sparc/
  20. tcg/
  21. tests/
  22. .gitignore
  23. a.out.h
  24. aes.c
  25. aes.h
  26. aio.c
  27. alpha-dis.c
  28. alpha.ld
  29. arm-dis.c
  30. arm-semi.c
  31. arm.ld
  32. balloon.h
  33. block-bochs.c
  34. block-cloop.c
  35. block-cow.c
  36. block-dmg.c
  37. block-nbd.c
  38. block-parallels.c
  39. block-qcow.c
  40. block-qcow2.c
  41. block-raw-posix.c
  42. block-raw-win32.c
  43. block-vmdk.c
  44. block-vpc.c
  45. block-vvfat.c
  46. block.c
  47. block.h
  48. block_int.h
  49. bswap.h
  50. bt-host.c
  51. bt-vhci.c
  52. buffered_file.c
  53. buffered_file.h
  54. cache-utils.c
  55. cache-utils.h
  56. Changelog
  57. cocoa.m
  58. configure
  59. console.c
  60. console.h
  61. COPYING
  62. COPYING.LIB
  63. cpu-all.h
  64. cpu-defs.h
  65. cpu-exec.c
  66. cris-dis.c
  67. curses.c
  68. curses_keys.h
  69. cutils.c
  70. d3des.c
  71. d3des.h
  72. def-helper.h
  73. dis-asm.h
  74. disas.c
  75. disas.h
  76. dyngen-exec.h
  77. elf.h
  78. elf_ops.h
  79. exec-all.h
  80. exec.c
  81. feature_to_c.sh
  82. gdbstub.c
  83. gdbstub.h
  84. gen-icount.h
  85. host-utils.c
  86. host-utils.h
  87. hostregs_helper.h
  88. hpet.h
  89. hppa-dis.c
  90. hppa.ld
  91. i386-dis.c
  92. i386.ld
  93. ia64.ld
  94. keymaps.c
  95. kqemu.c
  96. kqemu.h
  97. kvm-all.c
  98. kvm.h
  99. LICENSE
  100. loader.c
  101. m68k-dis.c
  102. m68k-semi.c
  103. m68k.ld
  104. MAINTAINERS
  105. Makefile
  106. Makefile.target
  107. migration-exec.c
  108. migration-tcp.c
  109. migration.c
  110. migration.h
  111. mips-dis.c
  112. mips.ld
  113. mipsel.ld
  114. monitor.c
  115. nbd.c
  116. nbd.h
  117. net-checksum.c
  118. net.c
  119. net.h
  120. osdep.c
  121. osdep.h
  122. posix-aio-compat.c
  123. posix-aio-compat.h
  124. ppc-dis.c
  125. ppc.ld
  126. ppc64.ld
  127. qemu-aio.h
  128. qemu-binfmt-conf.sh
  129. qemu-char.c
  130. qemu-char.h
  131. qemu-common.h
  132. qemu-doc.texi
  133. qemu-img.c
  134. qemu-img.texi
  135. qemu-lock.h
  136. qemu-log.h
  137. qemu-malloc.c
  138. qemu-nbd.c
  139. qemu-nbd.texi
  140. qemu-sockets.c
  141. qemu-tech.texi
  142. qemu-timer.h
  143. qemu-tool.c
  144. qemu_socket.h
  145. readline.c
  146. README
  147. s390-dis.c
  148. s390.ld
  149. savevm.c
  150. sdl.c
  151. sdl_keysym.h
  152. sh4-dis.c
  153. softmmu-semi.h
  154. softmmu_defs.h
  155. softmmu_exec.h
  156. softmmu_header.h
  157. softmmu_template.h
  158. sparc-dis.c
  159. sparc.ld
  160. sparc64.ld
  161. sys-queue.h
  162. sysemu.h
  163. tap-win32.c
  164. texi2pod.pl
  165. thunk.c
  166. thunk.h
  167. TODO
  168. translate-all.c
  169. uboot_image.h
  170. usb-bsd.c
  171. usb-linux.c
  172. usb-stub.c
  173. VERSION
  174. vgafont.h
  175. vl.c
  176. vnc.c
  177. vnc_keysym.h
  178. vnchextile.h
  179. x86_64.ld
  180. x_keymap.c