]> git.proxmox.com Git - mirror_qemu.git/commit
target-alpha: Tidy exception constants.
authorRichard Henderson <rth@twiddle.net>
Fri, 20 May 2011 21:04:57 +0000 (14:04 -0700)
committerRichard Henderson <rth@anchor.twiddle.net>
Tue, 31 May 2011 17:18:05 +0000 (10:18 -0700)
commit07b6c13b09d2e00a95e83fa76630d7c0d16c10b3
tree06ad245067f6dcf104d0b59a7f1ceb2b8695123b
parentb758aca1f6cdb175634812b79f5560c36c902d00
target-alpha: Tidy exception constants.

There's no need to attempt to match EXCP_* values with PALcode entry
point offsets.  Instead, compress all the values to make for more
efficient switch statements within QEMU.

We will be doing TLB fill within QEMU proper, not within the PALcode,
so all of the ITB/DTB miss, double fault, and access exceptions can
be compressed to EXCP_MMFAULT.

Compress all of the EXCP_CALL_PAL exceptions into one.
Use env->error_code to store the specific entry point.

Signed-off-by: Richard Henderson <rth@twiddle.net>
linux-user/main.c
target-alpha/cpu.h
target-alpha/helper.c
target-alpha/translate.c