]> git.proxmox.com Git - qemu.git/commit
SPARC64: implement addtional MMU faults related to nonfaulting load
authorTsuneo Saito <tsnsaito@gmail.com>
Thu, 21 Jul 2011 15:16:33 +0000 (00:16 +0900)
committerBlue Swirl <blauwirbel@gmail.com>
Thu, 21 Jul 2011 20:02:22 +0000 (20:02 +0000)
commitd1afc48b7cfdb4490f322d5d82a2aae6d545ec06
tree02865832c18da733cf4f094f700bf81b66547ae2
parentb7785d2072164fa8576767853af9ed517508ee57
SPARC64: implement addtional MMU faults related to nonfaulting load

This patch implements MMU faults caused by TTE.NFO and TTE.E:
- access other than nonfaulting load to a page marked NFO should
  raise data_access_exception
- nonfaulting load to a page marked with E bit should raise
  data_access_exception

To distinguish nonfaulting loads, this patch extends (abuses?) the rw
argument of get_physical_address_data().  rw is set to 4 on nonfaulting
loads.

Signed-off-by: Tsuneo Saito <tsnsaito@gmail.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
target-sparc/cpu.h
target-sparc/helper.c