cosmetic change for mem_apis.c

This commit is contained in:
Nguyen Anh Quynh
2016-01-26 22:50:35 +08:00
parent 2341f5dd1a
commit 235bf0950b

View File

@ -142,13 +142,13 @@ static void do_nx_demo(bool cause_fault)
/* /*
bits 32 bits 32
page0: page0: @0
times 4091 inc eax times 4091 inc eax
jmp page2 jmp page2
page1: page1: @1000
times 4095 inc eax times 4095 inc eax (or INC ECX)
hlt hlt
page2: page2: @2000
jmp page1 jmp page1
*/ */
memset(code_buf, 0x40, sizeof(code_buf)); // fill with inc eax memset(code_buf, 0x40, sizeof(code_buf)); // fill with inc eax