diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2019-03-14 20:01:42 -0700 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2019-05-22 12:38:54 -0400 |
commit | 369fd5ca66810b2ddb16e23a497eabe59385eceb (patch) | |
tree | 1fb3bf56e7df2e7f8ef9ccf2d16cf891665efd6d /target/i386/helper.h | |
parent | 3f74b6322cec37d23351df8caccfdfd85dceff9b (diff) | |
download | qemu-369fd5ca66810b2ddb16e23a497eabe59385eceb.zip qemu-369fd5ca66810b2ddb16e23a497eabe59385eceb.tar.gz qemu-369fd5ca66810b2ddb16e23a497eabe59385eceb.tar.bz2 |
target/i386: Implement CPUID_EXT_RDRAND
We now have an interface for guest visible random numbers.
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/i386/helper.h')
-rw-r--r-- | target/i386/helper.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/target/i386/helper.h b/target/i386/helper.h index 6fb8fb9..8f9e190 100644 --- a/target/i386/helper.h +++ b/target/i386/helper.h @@ -226,3 +226,5 @@ DEF_HELPER_3(rcrl, tl, env, tl, tl) DEF_HELPER_3(rclq, tl, env, tl, tl) DEF_HELPER_3(rcrq, tl, env, tl, tl) #endif + +DEF_HELPER_1(rdrand, tl, env) |