mirror of
https://github.com/Alvin-Zilverstand/bob16.git
synced 2026-11-26 13:52:59 +01:00
e
This commit is contained in:
1 parent
78dd619293
commit
6dc841f956
109 files changed
+18192
-1907
No files matched your search
+20
@@ -0,0 +1,20 @@
|
||||
#ifndef BOB64_CPU_H
|
||||
#define BOB64_CPU_H
|
||||
|
||||
#include "types.h"
|
||||
|
||||
typedef struct {
|
||||
u8 PAE;
|
||||
u8 LongMode;
|
||||
u8 NX;
|
||||
u8 PhysicalAddressBits;
|
||||
} BOB64_CPU_FEATURES;
|
||||
|
||||
int bob64_cpu_decode_features(u32 max_basic_leaf,u32 max_extended_leaf,
|
||||
u32 basic_leaf1_edx,u32 extended_leaf1_edx,
|
||||
u32 extended_leaf8_eax,BOB64_CPU_FEATURES *features);
|
||||
int bob64_cpu_detect(BOB64_CPU_FEATURES *features);
|
||||
int bob64_cpu_long_mode_active(const BOB64_CPU_FEATURES *features);
|
||||
int bob64_cpu_four_level_paging_active(void);
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user