Skip to content

Commit

Permalink
Merge pull request #9 from wattwisegames/ckw
Browse files Browse the repository at this point in the history
fix AMD CPU detection
  • Loading branch information
Vic063 authored Feb 28, 2024
2 parents bc12fec + a472cf3 commit 7ab6ee1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions ScaphandreDrv/Driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
#pragma alloc_text (INIT, DriverEntry)
#endif

e_machine_type machine_type;

NTSTATUS DriverEntry(PDRIVER_OBJECT DriverObject,
PUNICODE_STRING RegistryPath)
{
Expand Down
2 changes: 1 addition & 1 deletion ScaphandreDrv/msr.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ typedef enum {
}e_machine_type;


static e_machine_type machine_type;
extern e_machine_type machine_type;
static unsigned long max_processors;

int validate_msr_lookup(unsigned __int64 msrRegister);
Expand Down

0 comments on commit 7ab6ee1

Please sign in to comment.