flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
Fulgurance
Hello, when i search on OsDev website, i don't found any page about SSD driver.
Do you know any article about how to make SSD driver ? |
|||
![]() |
|
BAiC
as revolution pointed out SSDs can be encased behind a SATA interface however there is also something more recent known as NVMe which is an SSD over PCIe
https://en.wikipedia.org/wiki/NVM_Express the technical papers are available here: https://nvmexpress.org the documentation is quite complicated. that said; it's A LOT better than the native SATA spec. I still haven't written an SATA driver but I am considering an NVMe driver, |
|||
![]() |
|
Fulgurance
Okay, and when i use AHCI, how i see if sata disk is an SSD ?
|
|||
![]() |
|
BAiC
AHCI is a controller for SATA compliant devices. it wouldn't specify whether the device is an SSD or HDD. since SATA is an extension of the ATA specification you'd have to read the "IDENTIFY DEVICE" data structure to find information about the device. I read the ATA spec out of curiosity and found the "Nominal media rotation rate" field which states the device is a solid state device when the field is 0x0001.
_________________ byte me. |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.