Function report |
Source Code:arch\x86\include\asm\virtext.h |
Create Date:2022-07-28 08:18:19 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Check if the CPU has SVM support* You can use the 'msg' arg to get a message describing the problem,* if the function returns zero. Simply pass NULL if you are not interested* on the messages; gcc should take care of not generating code for
Proto:static inline int cpu_has_svm(const char **msg)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const char ** | msg |
| 84 | If CPU vendor != X86_VENDOR_AMD && CPU vendor != X86_VENDOR_HYGON Then |
| 91 | If Max extended CPUID function supported: < SVM_CPUID_FUNC Then |
| 97 | If Not boot_cpu_has(Secure Virtual Machine ) Then |
| 102 | Return 1 |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |