énumération NVME_CSTS_SHST_SHUTDOWN_STATUS (nvme.h)

Contient des valeurs qui indiquent la status du traitement d’arrêt lancé par l’hôte définissant le champ SHN dans la structure NVME_CONTROLLER_CONFIGURATION.

Syntax

typedef enum {
  NVME_CSTS_SHST_NO_SHUTDOWN,
  NVME_CSTS_SHST_SHUTDOWN_IN_PROCESS,
  NVME_CSTS_SHST_SHUTDOWN_COMPLETED
} NVME_CSTS_SHST_SHUTDOWN_STATUS;

Constantes

 
NVME_CSTS_SHST_NO_SHUTDOWN
Fonctionnement normal (aucun arrêt n’a été demandé).
NVME_CSTS_SHST_SHUTDOWN_IN_PROCESS
Le traitement de l’arrêt se produit.
NVME_CSTS_SHST_SHUTDOWN_COMPLETED
Le traitement de l’arrêt est terminé.

Remarques

Pour commencer à exécuter des commandes sur le contrôleur après une opération d’arrêt, (lorsque le champ SHST du NVME_CONTROLLER_STATUS structure est défini 10bsur , une réinitialisation du contrôleur (définissant le champ EN dans NVME_CONTROLLER_CONFIGURATION sur 0) est requise. Si le logiciel hôte envoie des commandes au contrôleur sans émettre de réinitialisation, le comportement n’est pas défini.

Configuration requise

Condition requise Valeur
Client minimal pris en charge Windows 10
En-tête nvme.h

Voir aussi

NVME_CONTROLLER_CONFIGURATION NVME_CONTROLLER_STATUS