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
1 changed files with 4 additions and 4 deletions

View File

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