OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 8:13 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: PCI native mode ATA in QEMU or bochs
PostPosted: Wed Mar 22, 2023 10:13 am 
Offline
User avatar

Joined: Fri May 20, 2022 5:10 am
Posts: 2
I'm trying to write an example program for driving a native-mode ATA/IDE controller. Since it's for other people to use, I would like it to run specifically in bochs and/or QEMU. But, the ATA devices in those emulators are always in compatibility mode, and the mode cannot be changed (the low four bits of the PROG IF byte in the PCI configuration space are clear). I've tried to configure each of bochs and QEMU to allow running a PCI native mode IDE driver, but I can't figure it out for either of them - is it possible to do this?


Top
 Profile  
 
 Post subject: Re: PCI native mode ATA in QEMU or bochs
PostPosted: Mon Apr 03, 2023 6:59 pm 
Offline
Member
Member

Joined: Mon Mar 25, 2013 7:01 pm
Posts: 5099
It doesn't seem to be possible.

Bochs does not emulate any PCI IDE controllers with native mode.

QEMU does emulate some PCI IDE controllers with native mode, but it seems like they only work in non-x86 machines. In x86 machines, you're stuck with compatibility mode.


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

All times are UTC - 6 hours


Who is online

Users browsing this forum: Bing [Bot] and 67 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