|
| From: | Philippe Mathieu-Daudé |
| Subject: | Re: [PATCH 33/33] include/exec: Change cpu_mmu_index argument to CPUState |
| Date: | Tue, 30 Jan 2024 12:29:19 +0100 |
| User-agent: | Mozilla Thunderbird |
On 30/1/24 12:05, Richard Henderson wrote:
On 1/30/24 18:26, Philippe Mathieu-Daudé wrote:What is the rationale here? (I'm trying to generically understand in which case one is better than another).Didn't you ask Anton why a generic cpu_* function was using CPUArchState?Anyway, I think we've generally used CPUState more often with generic functions, and this should follow.
Yes I concur. I thought maybe you figured another benefit I didn't noticed yet, that would be useful to document elsewhere.
| [Prev in Thread] | Current Thread | [Next in Thread] |