qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v1] sparc64 replace tsptr with helper routine


From: Igor Kovalenko
Subject: [Qemu-devel] [PATCH v1] sparc64 replace tsptr with helper routine
Date: Mon, 3 Aug 2009 23:15:02 +0400

tl and tsptr of members sparc64 cpu state must be changed
simultaneously to keep trap state window in sync with current
trap level. Currently translation of store to tl does not change
tsptr, which leads to corrupt trap state on corresponding
trap level.

This patch removes tsptr from sparc64 cpu state and replaces
all uses with call to helper routine.

Changes v0->v1:
- reimplemented helper routine with tcg generator
- on cpu reset trap type and pstate are populated with power-on reset
values, including tl=maxtl

Signed-off-by: address@hidden

-- 
Kind regards,
Igor V. Kovalenko

Attachment: sparc64-tsptr-tl
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]