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

Re: [Xen-devel] [PATCH] x86/traps: Drop use_error_code parameter from do_{, guest_}trap()



>>> On 08.08.16 at 11:51, <andrew.cooper3@xxxxxxxxxx> wrote:
> Whether or not an error code is needed can be determinted entirely from the
> trapnr paramter, as error codes are architecturally specified.
> 
> Introduce TRAP_HAVE_EC as a bitmap of reserved vectors which have error codes,
> and drop the use_error_code from all callsites.
> 
> As a result, the DO_ERROR{,_NOCODE}() macros become entirely superflouous and
> can be dropped.  Update the exception_table to point straight at do_trap().
> 
> Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>

Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.