]> git.ipfire.org Git - thirdparty/vectorscan.git/commit
Move cpuid checks inline.
authorMatthew Barr <matthew.barr@intel.com>
Mon, 11 Dec 2017 05:02:26 +0000 (16:02 +1100)
committerXiang Wang <xiang.w.wang@intel.com>
Fri, 19 Jan 2018 11:32:18 +0000 (06:32 -0500)
commit50ea83cb26cb31c5ed2c2fae9b9cf049dca3039f
treede293259278ee1edb96d9aa66f6fdbca80de0f4d
parent3da5fc7cf334330e17f346bdb32a13a17cd81588
Move cpuid checks inline.

During fat runtime function resolution there was a chance that the PLT
might not be initialised in time for us to call the cpuid check
functions. Moving them inline means there is no PLT to worry about.

Fixes #78
src/dispatcher.c
src/hs.cpp
src/hs_valid_platform.c
src/util/cpuid_flags.c
src/util/cpuid_flags.h
src/util/cpuid_inline.h [new file with mode: 0644]