-
-
Notifications
You must be signed in to change notification settings - Fork 38
/
cpuspeed_patch_v7.h
36 lines (29 loc) · 1.45 KB
/
cpuspeed_patch_v7.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
/****** Generated by vmm/makepatch.c ******/
/****** changes may be lost ******/
#ifndef __CPUSPEED_PATCH_V7_H__INCLUDED__
#define __CPUSPEED_PATCH_V7_H__INCLUDED__
/* original data for search */
const uint8_t cpuspeed_patch_v7_orig[] = {
0xC8, 0x04, 0x00, 0x00, 0x50, 0x51, 0x52, 0xB9, 0x80, 0x96, 0x98, 0x00, 0xCD, 0x20, 0x3F, 0x00,
0x01, 0x00, 0x89, 0x45, 0xFC, 0xE2, 0xFE, 0xCD, 0x20, 0x3F, 0x00, 0x01, 0x00, 0x2B, 0x45, 0xFC,
0x50, 0xB8, 0x4F, 0xFF, 0x00, 0x00, 0x29, 0xD2, 0xB9, 0x10, 0x27, 0x00, 0x00, 0xF7, 0xE1, 0x59,
0xF7, 0xF1, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0xA3, 0x04, 0x1D, 0x00, 0x00,
0x5A, 0x59, 0x58, 0xC9, 0xC3,
};
/* bitmap of bytes to check */
const uint8_t cpuspeed_patch_v7_orig_check[] = {
0xFF, 0xFF, 0xFF, 0xFF, 0xFD, 0xFF, 0xFF, 0xF0, 0xFF,
};
/* new data to replace */
const uint8_t cpuspeed_patch_v7[] = {
0xC8, 0x04, 0x00, 0x00, 0x50, 0x51, 0x52, 0xB9, 0x00, 0xB4, 0xC4, 0x04, 0xCD, 0x20, 0x3F, 0x00,
0x01, 0x00, 0x89, 0x45, 0xFC, 0xE2, 0xFE, 0xCD, 0x20, 0x3F, 0x00, 0x01, 0x00, 0x2B, 0x45, 0xFC,
0x75, 0x01, 0x40, 0x50, 0xB8, 0x78, 0xFA, 0x07, 0x00, 0x29, 0xD2, 0xB9, 0x10, 0x27, 0x00, 0x00,
0xF7, 0xE1, 0x59, 0xF7, 0xF1, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0xA3, 0x04, 0x1D, 0x00, 0x00,
0x5A, 0x59, 0x58, 0xC9, 0xC3,
};
/* bitmap of modify bytes */
const uint8_t cpuspeed_patch_v7_modif[] = {
0x00, 0xF0, 0x00, 0x00, 0xFF, 0xFF, 0x78, 0x00, 0x00,
};
#endif /* __CPUSPEED_PATCH_V7_H__INCLUDED__ */