Access byte in GDT - chapter 8

General questions related to the company.

Moderator: Moderators

Access byte in GDT - chapter 8

Postby utsav_popli » Mon Nov 25, 2013 5:43 am

access bit 7 (bit 47 of descriptor ) says: it should be set to 0 if we are not using virtual mode
But we are setting this bit, why ?

db 10011010b ; access
utsav_popli
 
Posts: 7
Joined: Sat Nov 28, 2009 7:39 am
Location: San Jose, CA

Re: Access byte in GDT - chapter 8

Postby halofreak1990 » Tue Nov 26, 2013 8:21 pm

utsav_popli wrote:access bit 7 (bit 47 of descriptor ) says: it should be set to 0 if we are not using virtual mode
But we are setting this bit, why ?

db 10011010b ; access

You basically answered your own question; We're going to run in virtual mode, so the bit needs to be set.
halofreak1990
 
Posts: 92
Joined: Thu May 27, 2010 8:54 pm
Location: Netherlands

Re: Access byte in GDT - chapter 8

Postby utsav_popli » Wed Nov 27, 2013 7:02 am

Ok, Thank You,
Actually tutorial said that since we are not using virtual at this point this bit should be set to 0. Thats y i got confused!!
utsav_popli
 
Posts: 7
Joined: Sat Nov 28, 2009 7:39 am
Location: San Jose, CA


Return to General Questions

Who is online

Users browsing this forum: No registered users and 1 guest

cron