x86: Add NULL check to lsl (Jan Kiszka)
commitdc1ded53b8cd9198da193e44b25815cdd2ddb6f5
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Fri, 20 Mar 2009 16:13:41 +0000 (20 16:13 +0000)
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Fri, 20 Mar 2009 16:13:41 +0000 (20 16:13 +0000)
treeaf2ce0f0535819cc1cda8292a685a3b46a146464
parentc522d0e2dee3774884a731691a702126901a1a88
x86: Add NULL check to lsl (Jan Kiszka)

According to the Intel specs, lsl performs a check against NULL for the
provided selector, just like lar does. helper_lar() includes the
corresponding code, helper_lsl() was lacking it so far.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6863 c046a42c-6fe2-441c-8c8c-71466251a162
target-i386/op_helper.c