Re: [Qemu-devel] [PATCH v7 03/11] target-arm: Drop CPUARMState* argument from bank_number()

2013-03-04 Thread Andreas Färber
Am 26.02.2013 18:40, schrieb Peter Maydell: > Drop the CPUARMState* argument from bank_number(), since we only > use it for passing to cpu_abort(). Use hw_error() instead. > This avoids propagating further interfaces using env pointers. > > In the long term this function's callers need auditing to

[Qemu-devel] [PATCH v7 03/11] target-arm: Drop CPUARMState* argument from bank_number()

2013-02-26 Thread Peter Maydell
Drop the CPUARMState* argument from bank_number(), since we only use it for passing to cpu_abort(). Use hw_error() instead. This avoids propagating further interfaces using env pointers. In the long term this function's callers need auditing to fix problems where badly behaved guests can pass inva