-
-
Notifications
You must be signed in to change notification settings - Fork 39
/
cpuspeed_ndis_patch_v1.h
40 lines (33 loc) · 2.06 KB
/
cpuspeed_ndis_patch_v1.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/****** Generated by vmm/makepatch.c ******/
/****** changes may be lost ******/
#ifndef __CPUSPEED_NDIS_PATCH_V1_H__INCLUDED__
#define __CPUSPEED_NDIS_PATCH_V1_H__INCLUDED__
/* original data for search */
const uint8_t cpuspeed_ndis_patch_v1_orig[] = {
0x29, 0xC9, 0xCD, 0x20, 0x3F, 0x00, 0x01, 0x00, 0x89, 0xC2, 0x81, 0xC2, 0x80, 0x00, 0x00, 0x00,
0x41, 0xCD, 0x20, 0x3F, 0x00, 0x01, 0x00, 0x39, 0xC2, 0x77, 0xF5, 0x89, 0x0D, 0x00, 0x00, 0x00,
0x00, 0xE4, 0x21, 0xEB, 0x00, 0x50, 0xB0, 0xFE, 0xE6, 0x21, 0xCD, 0x20, 0x3F, 0x00, 0x01, 0x00,
0x89, 0xC2, 0xCD, 0x20, 0x3F, 0x00, 0x01, 0x00, 0x39, 0xC2, 0x74, 0xF6, 0x89, 0xC2, 0xB9, 0x00,
0x00, 0x10, 0x00, 0x90, 0xE2, 0xFE, 0xCD, 0x20, 0x3F, 0x00, 0x01, 0x00, 0x29, 0xD0, 0xB9, 0xE8,
0x03, 0x00, 0x00, 0xF7, 0xE1, 0xA3, 0x00, 0x00, 0x00, 0x00, 0x89, 0xC1, 0xB8, 0x00, 0x00, 0x10,
0x00, 0x29, 0xD2, 0xF7, 0xF1, 0x40, 0xA3, 0x00, 0x00, 0x00, 0x00, 0x58, 0xE6, 0x21, 0xFC, 0xC3,
};
/* bitmap of bytes to check */
const uint8_t cpuspeed_ndis_patch_v1_orig_check[] = {
0x7F, 0x3F, 0xFE, 0x78, 0x7F, 0xFF, 0x3F, 0x33, 0xFF, 0xF3, 0xFC, 0x0F, 0xBE, 0x1F,
};
/* new data to replace */
const uint8_t cpuspeed_ndis_patch_v1[] = {
0x29, 0xC9, 0xCD, 0x20, 0x3F, 0x00, 0x01, 0x00, 0x89, 0xC2, 0x81, 0xC2, 0x80, 0x00, 0x00, 0x00,
0x41, 0xCD, 0x20, 0x3F, 0x00, 0x01, 0x00, 0x39, 0xC2, 0x77, 0xF5, 0x89, 0x0D, 0x00, 0x00, 0x00,
0x00, 0xE4, 0x21, 0xEB, 0x00, 0x50, 0xB0, 0xFE, 0xE6, 0x21, 0xCD, 0x20, 0x3F, 0x00, 0x01, 0x00,
0x89, 0xC2, 0xCD, 0x20, 0x3F, 0x00, 0x01, 0x00, 0x39, 0xC2, 0x74, 0xF6, 0x89, 0xC2, 0xB9, 0x00,
0x00, 0x40, 0x06, 0xE2, 0xFE, 0xCD, 0x20, 0x3F, 0x00, 0x01, 0x00, 0x29, 0xD0, 0x75, 0x01, 0x40,
0x6A, 0x0A, 0x59, 0xF7, 0xE1, 0xA3, 0x00, 0x00, 0x00, 0x00, 0x89, 0xC1, 0xB8, 0x00, 0x00, 0x10,
0x00, 0x29, 0xD2, 0xF7, 0xF1, 0x40, 0xA3, 0x00, 0x00, 0x00, 0x00, 0x58, 0xE6, 0x21, 0xFC, 0xC3,
};
/* bitmap of modify bytes */
const uint8_t cpuspeed_ndis_patch_v1_modif[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7F, 0xFF, 0xE0, 0x00, 0x00, 0x00,
};
#endif /* __CPUSPEED_NDIS_PATCH_V1_H__INCLUDED__ */