Reduce self modifying code granularity from 64 bytes to 16.
This commit is contained in:
parent
03a63ecb88
commit
3a7c4687d6
6 changed files with 95 additions and 78 deletions
|
|
@ -112,12 +112,12 @@ typedef struct page_t
|
|||
|
||||
uint8_t *mem;
|
||||
|
||||
struct codeblock_t *block, *block_2;
|
||||
struct codeblock_t *block[4], *block_2[4];
|
||||
|
||||
/*Head of codeblock tree associated with this page*/
|
||||
struct codeblock_t *head;
|
||||
|
||||
uint64_t code_present_mask, dirty_mask;
|
||||
uint64_t code_present_mask[4], dirty_mask[4];
|
||||
} page_t;
|
||||
|
||||
extern page_t *pages;
|
||||
|
|
|
|||
Loading…
Reference in a new issue