Re: INVLPG
From: Spike (im_a_user_at_hotmail.com)
Date: 02/01/04
- Next message: Frank Kotler: "Re: what is wrong with this little piece of code?"
- Previous message: Dick Wesseling: "Re: INVLPG"
- In reply to: Dick Wesseling: "Re: INVLPG"
- Next in thread: Matt Taylor: "Re: INVLPG"
- Reply: Matt Taylor: "Re: INVLPG"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 1 Feb 2004 00:21:39 +0000 (UTC)
Do I use SM-code if I want to invalide pagetable X:
mov dword[INVLPG_+3],X ;X = Address
INVLPG_: db 0fh,01h,3dh
dd 0h
Like this?
//Spike
"Dick Wesseling" <free@securityaudit.val.newsbank.net> skrev i meddelandet
news:101oe5j87e830ef@corp.supernews.com...
> In article <IMVSb.81014$dP1.207784@newsc.telia.net>,
> "Spike" <im_a_user@hotmail.com> writes:
> >
> > So for example if my PageTable is located at 10000h and I want to flush
the
> > first page (mem addr: 0h - 1000h) wouldn't "invlpg 10000h" do the job?
or
> > would I have to use "invlpg 1000h"?
> >
>
> Neither. You have to supply a virtual adres in the first page. So
> invlpg 0 .. invlpg 0FFFh would work. Virtual address 1000h is
> in the second page.
>
- Next message: Frank Kotler: "Re: what is wrong with this little piece of code?"
- Previous message: Dick Wesseling: "Re: INVLPG"
- In reply to: Dick Wesseling: "Re: INVLPG"
- Next in thread: Matt Taylor: "Re: INVLPG"
- Reply: Matt Taylor: "Re: INVLPG"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]