OSDev.org

The Place to Start for Operating System Developers
It is currently Fri Mar 29, 2024 4:54 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: does IDT use virtual addresses or physical ?
PostPosted: Thu Oct 17, 2019 9:51 am 
Offline

Joined: Sun Sep 09, 2018 2:07 am
Posts: 15
i have enabled paging in the higher half of the virtual address but when any interrupt rise, the OS crashes.
my first assumption was that IDT uses physicals address(including address of IDT passed to LIDT), is that right? is it the only thing in CPU that uses physical address after enabling paging ?(I know GDT does)
thank you.


Top
 Profile  
 
 Post subject: Re: does IDT use virtual addresses or physical ?
PostPosted: Thu Oct 17, 2019 11:32 am 
Offline
Member
Member

Joined: Wed Aug 30, 2017 8:24 am
Posts: 1593
Both the IDT pointer and the offsets in the interrupt gate descriptors refer to virtual addresses.

_________________
Carpe diem!


Top
 Profile  
 
 Post subject: Re: does IDT use virtual addresses or physical ?
PostPosted: Thu Oct 17, 2019 6:09 pm 
Offline

Joined: Sun Sep 09, 2018 2:07 am
Posts: 15
nullplan wrote:
Both the IDT pointer and the offsets in the interrupt gate descriptors refer to virtual addresses.

thank you.
GDT uses virtual address too right?


Top
 Profile  
 
 Post subject: Re: does IDT use virtual addresses or physical ?
PostPosted: Thu Oct 17, 2019 11:05 pm 
Offline
Member
Member

Joined: Tue Mar 04, 2014 5:27 am
Posts: 1108
0xCC wrote:
GDT uses virtual address too right?

Yes, virtual/linear.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: DotBot [Bot] and 143 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group