pbrook
e2eef1703b
Remove dead and bitrotten "qemu-fast" code.
...
Only build softmmu+MMIO handlers for system emulation.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4695 c046a42c-6fe2-441c-8c8c-71466251a162
2008-06-08 01:09:01 +00:00
pbrook
d597536303
Multithreaded locking fixes.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4692 c046a42c-6fe2-441c-8c8c-71466251a162
2008-06-07 20:50:51 +00:00
pbrook
c8a706fe62
Multithreaded locking for mmap().
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4654 c046a42c-6fe2-441c-8c8c-71466251a162
2008-06-02 16:16:42 +00:00
pbrook
0776590d70
Mark host brk() area as reserved.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4637 c046a42c-6fe2-441c-8c8c-71466251a162
2008-05-31 16:33:53 +00:00
bellard
da260249a4
kqemu API change - allow use of kqemu with 32 bit QEMU on a 64 bit host
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4628 c046a42c-6fe2-441c-8c8c-71466251a162
2008-05-30 20:48:25 +00:00
pbrook
b5fc909e02
Fix rounding error.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4615 c046a42c-6fe2-441c-8c8c-71466251a162
2008-05-29 13:56:10 +00:00
bellard
4369415f1e
keep static code gen buffer for user mode - mark user mode reserved pages after all big allocations
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4611 c046a42c-6fe2-441c-8c8c-71466251a162
2008-05-29 09:35:57 +00:00
bellard
26a5f13b8e
variable dynamic translation buffer size
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4600 c046a42c-6fe2-441c-8c8c-71466251a162
2008-05-28 12:30:31 +00:00
edgar_igl
db097cd313
Dont try to keep the tlb and the jmp cache synchronized.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4557 c046a42c-6fe2-441c-8c8c-71466251a162
2008-05-24 16:00:05 +00:00
pbrook
fab94c0e98
Dynamically allocate tbs. Avoids branch range problems on RISC hosts.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4555 c046a42c-6fe2-441c-8c8c-71466251a162
2008-05-24 13:56:15 +00:00
bellard
ed44146780
removed warning
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4539 c046a42c-6fe2-441c-8c8c-71466251a162
2008-05-23 11:56:45 +00:00
bellard
b67d9a52d4
TCG profiler clean up
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4538 c046a42c-6fe2-441c-8c8c-71466251a162
2008-05-23 09:57:34 +00:00
edgar_igl
7d03f82f81
Add support for the 'k' (kill) and 'D' (detach) packets (Jason Wessel).
...
Implement the 'k' gdbserial packet which kills the qemu instance via
the debugger stub.
Implement the 'D' detach packet for the gdb stub such that you can
disconnect gdb with the "detach" command. This required implementing
a cpu_breakpoint_remove_all() and a cpu_watchpoint_remove_all()
function to cleanup all the breakpoints and watchpoints prior to
leaving the gdb stub else simulation can stop with no debugger
attached.
On a '?' packet remove all the breakpoints and watchpoints. This is
considered more of a safety net in case you force killed gdb or it
crashed and you are reconnecting. The identical behavior exists for
kgdb in the linux kernel.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4478 c046a42c-6fe2-441c-8c8c-71466251a162
2008-05-17 18:58:29 +00:00
bellard
6e01bdaedc
cpu_abort() is really an abort
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4458 c046a42c-6fe2-441c-8c8c-71466251a162
2008-05-15 16:17:07 +00:00
bellard
7cb69cae20
initial global prologue/epilogue implementation
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4407 c046a42c-6fe2-441c-8c8c-71466251a162
2008-05-10 10:55:51 +00:00
edgar_igl
5c751e99c3
Make sure we flush cached blocks from the tb-jmp-cache when we replace valid tlb entries.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4352 c046a42c-6fe2-441c-8c8c-71466251a162
2008-05-06 08:44:21 +00:00
blueswir1
e0b8d65a97
Do not attempt to set page flags for pages outside target address space
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4310 c046a42c-6fe2-441c-8c8c-71466251a162
2008-05-03 17:51:24 +00:00
aurel32
5b2575789b
Fix a typo introduced in revision 4272
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4276 c046a42c-6fe2-441c-8c8c-71466251a162
2008-04-28 08:54:59 +00:00
aurel32
72fb7daa9a
Fix a typo in cpu_physical_memory_rw()
...
(Samuel Thibault)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4272 c046a42c-6fe2-441c-8c8c-71466251a162
2008-04-27 23:53:45 +00:00
aurel32
00f82b8a31
Use correct types to enable > 2G support, based on a patch from
...
Anthony Liguori.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4265 c046a42c-6fe2-441c-8c8c-71466251a162
2008-04-27 21:12:55 +00:00
balrog
7fb4fdcffe
RAM usage information in machine definition.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4246 c046a42c-6fe2-441c-8c8c-71466251a162
2008-04-24 17:59:27 +00:00
aurel32
03875444d9
Revert "Use correct types to enable > 2G support" (r4238), it is
...
not yet ready.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4240 c046a42c-6fe2-441c-8c8c-71466251a162
2008-04-22 20:45:18 +00:00
aurel32
967032c3d5
Use correct types to enable > 2G support, based on a patch from
...
Anthony Liguori.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4238 c046a42c-6fe2-441c-8c8c-71466251a162
2008-04-22 20:37:34 +00:00
aurel32
ca10f86763
Remove osdep.c/qemu-img code duplication
...
(Kevin Wolf)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4191 c046a42c-6fe2-441c-8c8c-71466251a162
2008-04-11 21:35:42 +00:00
pbrook
a208e54a2f
TCG op size estimation fix.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4154 c046a42c-6fe2-441c-8c8c-71466251a162
2008-03-31 17:07:36 +00:00
aurel32
15a5115690
Use spinlock_t for interrupt_lock, lock support for HPPA (Stuart Brady)
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4118 c046a42c-6fe2-441c-8c8c-71466251a162
2008-03-28 22:29:15 +00:00
blueswir1
e01a11572f
Allow op_opt for all targets
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4063 c046a42c-6fe2-441c-8c8c-71466251a162
2008-03-14 17:37:11 +00:00
bellard
57fec1fee9
use the TCG code generator
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3944 c046a42c-6fe2-441c-8c8c-71466251a162
2008-02-01 10:50:11 +00:00
blueswir1
3ee8992257
Fix dynamically changed memory callbacks and passed opaque parameter
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3884 c046a42c-6fe2-441c-8c8c-71466251a162
2008-01-02 19:45:26 +00:00
blueswir1
4254fab8f9
Support for registering address space only for some access widths
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3879 c046a42c-6fe2-441c-8c8c-71466251a162
2008-01-01 16:57:19 +00:00
ths
4fddf62a74
Use WIN32_LEAN_AND_MEAN, by Stefan Weil.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3832 c046a42c-6fe2-441c-8c8c-71466251a162
2007-12-17 04:42:29 +00:00
balrog
50a9569b59
Mark host pages as reserved (Magnus Damm).
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3813 c046a42c-6fe2-441c-8c8c-71466251a162
2007-12-12 01:16:23 +00:00
blueswir1
d07bde88a5
Fix code generation buffer overflow reported by TeLeMan
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3805 c046a42c-6fe2-441c-8c8c-71466251a162
2007-12-11 19:35:45 +00:00
ths
01ba98161f
Handle cpu_model in copy_cpu(), by Kirill A. Shutemov.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3778 c046a42c-6fe2-441c-8c8c-71466251a162
2007-12-09 02:22:57 +00:00
pbrook
493ae1f01c
Fix va_list reuse in cpu_abort.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3722 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-23 16:53:59 +00:00
bellard
dae3270c6e
suppressed page_unprotect_range() - fixed access_ok()
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3641 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-14 10:51:00 +00:00
bellard
579a97f7ff
Linux user memory access API change (initial patch by Thayne Harbaugh)
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3583 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-11 14:26:47 +00:00
bellard
aaed909a49
added cpu_model parameter to cpu_init()
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3562 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-10 15:15:54 +00:00
bellard
ec6338bac3
removed obsolete x86 code copy support
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3551 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-08 14:25:03 +00:00
blueswir1
ab3d1727d1
Fix debug statements
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3525 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-04 07:31:40 +00:00
ths
3d97b40b05
EFAULT - verify pages are in cache and are read/write, by Thayne Harbaugh.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3506 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-02 19:02:07 +00:00
j_mayer
6ebbf39000
Replace is_user variable with mmu_idx in softmmu core,
...
allowing support of more than 2 mmu access modes.
Add backward compatibility is_user variable in targets code when needed.
Implement per target cpu_mmu_index function, avoiding duplicated code
and #ifdef TARGET_xxx in softmmu core functions.
Implement per target mmu modes definitions. As an example, add PowerPC
hypervisor mode definition and Alpha executive and kernel modes definitions.
Optimize PowerPC case, precomputing mmu_idx when MSR register changes
and using the same definition in code translation code.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3384 c046a42c-6fe2-441c-8c8c-71466251a162
2007-10-14 07:07:08 +00:00
ths
f1ccf90477
CRIS support in toplevel, by Edgar E. Iglesias.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3363 c046a42c-6fe2-441c-8c8c-71466251a162
2007-10-08 13:16:14 +00:00
j_mayer
f93732914e
make cpu_abort dump cpu state in logfile, which is useful for debugging.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3260 c046a42c-6fe2-441c-8c8c-71466251a162
2007-09-29 12:18:20 +00:00
ths
0573fbfc3f
SVM Support, by Alexander Graf.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3210 c046a42c-6fe2-441c-8c8c-71466251a162
2007-09-23 15:28:04 +00:00
ths
3b46e62427
find -type f | xargs sed -i 's/[\t ]*$//g' # Yes, again. Note the star in the regex.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3177 c046a42c-6fe2-441c-8c8c-71466251a162
2007-09-17 08:09:54 +00:00
ths
5fafdf24ef
find -type f | xargs sed -i 's/[\t ]$//g' # on most files
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3173 c046a42c-6fe2-441c-8c8c-71466251a162
2007-09-16 21:08:06 +00:00
pbrook
11fcfab4b0
Fix bogus fopen mode.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3038 c046a42c-6fe2-441c-8c8c-71466251a162
2007-07-01 18:21:11 +00:00
pbrook
e735b91cd4
Allow changing log filename.
...
Close logfile when logging is disabled.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3035 c046a42c-6fe2-441c-8c8c-71466251a162
2007-06-30 13:53:24 +00:00
balrog
d79acba420
Fix writes to pages containing watchpoints for the RAM not at 0x0 cases.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3025 c046a42c-6fe2-441c-8c8c-71466251a162
2007-06-26 20:01:13 +00:00