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
balrog
924edcae75
Flush the debug log when qemu Aborts (patch by Herve Poussineau)
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2971 c046a42c-6fe2-441c-8c8c-71466251a162
2007-06-10 14:07:13 +00:00
ths
e91c8a7783
Spelling fixes, by Stefan Weil.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2927 c046a42c-6fe2-441c-8c8c-71466251a162
2007-06-03 13:35:16 +00:00
blueswir1
49e9fba271
Fix the bug introduced by subpage code preventing PC boot
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2898 c046a42c-6fe2-441c-8c8c-71466251a162
2007-05-30 17:25:06 +00:00
blueswir1
db7b5426a4
Implement generic sub-page I/O based on earlier work by J. Mayer.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2868 c046a42c-6fe2-441c-8c8c-71466251a162
2007-05-26 17:36:03 +00:00
blueswir1
5dcb6b914e
Use full 36-bit physical address space on SS10
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2830 c046a42c-6fe2-441c-8c8c-71466251a162
2007-05-19 12:58:30 +00:00
blueswir1
6c36d3fa86
Enable faults for unassigned memory accesses and unimplemented ASIs
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2824 c046a42c-6fe2-441c-8c8c-71466251a162
2007-05-17 19:30:10 +00:00
blueswir1
b4f0a316b5
Report unassigned memory access to CPU (not enabled yet)
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2776 c046a42c-6fe2-441c-8c8c-71466251a162
2007-05-06 17:59:24 +00:00
j_mayer
9b3c35e0e6
cpu_get_phys_page_debug should return target_phys_addr_t
...
instead of target_ulong to be consistent.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2633 c046a42c-6fe2-441c-8c8c-71466251a162
2007-04-07 11:21:28 +00:00
j_mayer
bedb69ea04
Temporary hack for alpha user-mode emulation.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2606 c046a42c-6fe2-441c-8c8c-71466251a162
2007-04-05 20:08:21 +00:00
j_mayer
6fa4cea9e8
Infrastructure to support more than 2 MMU modes.
...
Add example for Alpha and PowerPC hypervisor mode.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2596 c046a42c-6fe2-441c-8c8c-71466251a162
2007-04-05 06:43:27 +00:00
j_mayer
bc98a7efa4
Add missing 64 bits memory accessors.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2592 c046a42c-6fe2-441c-8c8c-71466251a162
2007-04-04 07:55:12 +00:00
ths
1196be3713
Better ioport debugging output.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2487 c046a42c-6fe2-441c-8c8c-71466251a162
2007-03-17 15:17:58 +00:00
pbrook
6658ffb81e
Watchpoint support (previous commit got eaten by Savannah server crash).
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2479 c046a42c-6fe2-441c-8c8c-71466251a162
2007-03-16 23:58:11 +00:00
ths
c5be9f0898
Fix CPU chaining in linux-user emulation, by Gwenole Beauchesne.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2459 c046a42c-6fe2-441c-8c8c-71466251a162
2007-02-28 20:20:53 +00:00
bellard
e9a1ab19d1
ram allocation functions
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2404 c046a42c-6fe2-441c-8c8c-71466251a162
2007-02-08 23:08:38 +00:00
pbrook
67d3b957e6
Add unassigned memory debugging code.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2248 c046a42c-6fe2-441c-8c8c-71466251a162
2006-12-18 05:03:52 +00:00
pbrook
b362e5e067
Speed up tlb_flush_page (Daniel Jacobowitz).
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2210 c046a42c-6fe2-441c-8c8c-71466251a162
2006-11-12 20:40:55 +00:00
bellard
ba86345802
added cpu_get_physical_page_desc()
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2168 c046a42c-6fe2-441c-8c8c-71466251a162
2006-09-24 18:41:10 +00:00
bellard
856074ec70
fix for IO_MEM_ROMD support
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2034 c046a42c-6fe2-441c-8c8c-71466251a162
2006-07-04 09:47:34 +00:00
bellard
9d42037b1d
support for dynamic address space changes
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2021 c046a42c-6fe2-441c-8c8c-71466251a162
2006-06-25 22:25:22 +00:00
bellard
2a4188a38f
low level support for memory mapped flash devices (initial patch by Jocelyn Mayer)
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2020 c046a42c-6fe2-441c-8c8c-71466251a162
2006-06-25 21:54:59 +00:00
bellard
d0ecd2aaf9
added cpu_physical_memory_write_rom()
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1833 c046a42c-6fe2-441c-8c8c-71466251a162
2006-04-23 17:14:48 +00:00
pbrook
99773bd4b4
Fix DEBUG_TB_CHECK build failure (balrog).
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1820 c046a42c-6fe2-441c-8c8c-71466251a162
2006-04-16 15:14:59 +00:00
pbrook
e3f4e2a4b0
Initialize physical memory space to IO_MEM_UNASSIGNED.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1801 c046a42c-6fe2-441c-8c8c-71466251a162
2006-04-08 20:02:06 +00:00
pbrook
706cd4b547
Fix typo in previous patch.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1800 c046a42c-6fe2-441c-8c8c-71466251a162
2006-04-08 17:36:21 +00:00
pbrook
c2f07f81a2
Fix breakpoint TLB invalidation.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1799 c046a42c-6fe2-441c-8c8c-71466251a162
2006-04-08 17:14:56 +00:00
pbrook
53a5960aad
Avoid accessing guest memory directly in usermode emulation.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1790 c046a42c-6fe2-441c-8c8c-71466251a162
2006-03-25 19:31:22 +00:00
bellard
f32fc64851
optional support for kernel code virtualization
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1753 c046a42c-6fe2-441c-8c8c-71466251a162
2006-02-08 22:43:39 +00:00
bellard
84b7b8e778
PAGE_EXEC support in TLBs
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1676 c046a42c-6fe2-441c-8c8c-71466251a162
2005-11-28 21:19:04 +00:00
bellard
6f5a9f7e56
fixed async signal support for tb_phys_invalidate()
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1670 c046a42c-6fe2-441c-8c8c-71466251a162
2005-11-26 20:12:28 +00:00
bellard
b5ff1b3127
ARM system emulation (Paul Brook)
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1661 c046a42c-6fe2-441c-8c8c-71466251a162
2005-11-26 10:38:39 +00:00
bellard
6a00d60127
SMP support
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1640 c046a42c-6fe2-441c-8c8c-71466251a162
2005-11-21 23:25:50 +00:00
bellard
8a40a180d3
make the TB cache independent of MMU mappings (faster MMU context switches and needed for SMP support)
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1632 c046a42c-6fe2-441c-8c8c-71466251a162
2005-11-20 10:35:40 +00:00
bellard
24741ef3de
avoid using physical accesses in user emulation
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1592 c046a42c-6fe2-441c-8c8c-71466251a162
2005-10-30 21:23:39 +00:00
bellard
aab3309407
more physical memory access functions
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1587 c046a42c-6fe2-441c-8c8c-71466251a162
2005-10-30 20:48:42 +00:00
bellard
1c213d1976
comments
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1563 c046a42c-6fe2-441c-8c8c-71466251a162
2005-09-03 10:49:04 +00:00