OSDev.org

The Place to Start for Operating System Developers
It is currently Fri Apr 19, 2019 4:34 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: AHCI
PostPosted: Sat Jan 26, 2019 5:44 am 
Offline

Joined: Thu Mar 01, 2018 10:09 am
Posts: 12
Hello,

I do not have any problems. And without paging read perfectly. And with virtual addressing, the disk is read without ceasing, you can understand it by a light bulb and sounds. Writing the AHCi driver according to the instructions from osdev. https://wiki.osdev.org/AHCI. The reading code is taken from there. In the final stage.

Thanks in advance for your help!


Top
 Profile  
 
 Post subject: Re: AHCI
PostPosted: Sat Jan 26, 2019 8:30 am 
Offline
Member
Member

Joined: Thu May 17, 2007 1:27 pm
Posts: 563
This seems to be the wrong forum; OSdev would be more appropriate.

Anyway: do you realize that the AHCI (and in general all devices) expect physical addresses? If need to probably allocate buffers and DMA structures in physical memory and pass their physical addresses to the device. Specifically, the device cannot "see" the page translation; it just sees plain physical RAM.

_________________
managarm: A microkernel-based OS that is capable of running a Wayland desktop


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], CHOSTeam, StudlyCaps and 9 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