flat assembler
Message board for the users of flat assembler.
Index
> OS Construction > Make assembly SSD driver |
Author |
|
Fulgurance 27 Feb 2019, 21:44
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 ? |
|||
27 Feb 2019, 21:44 |
|
BAiC 27 Feb 2019, 22:13
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, |
|||
27 Feb 2019, 22:13 |
|
Fulgurance 15 Mar 2019, 20:51
Okay, and when i use AHCI, how i see if sata disk is an SSD ?
|
|||
15 Mar 2019, 20:51 |
|
BAiC 16 Mar 2019, 15:12
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. |
|||
16 Mar 2019, 15:12 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.