Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Linux/drivers/gpu/drm/nouveau/include/nvfw/   (Open Source Betriebssystem Version 6.17.9©)  Datei vom 24.10.2025 mit Größe 2 kB image not shown  

Quelle  sec2.h   Sprache: C

 
#ifndef __NVFW_SEC2_H__
#define __NVFW_SEC2_H__

struct nv_sec2_args {
 u32 freq_hz;
 u32 falc_trace_size;
 u32 falc_trace_dma_base;
 u32 falc_trace_dma_idx;
 bool secure_mode;
};

#define NV_SEC2_UNIT_INIT                                                  0x01
#define NV_SEC2_UNIT_UNLOAD                                                0x06
#define NV_SEC2_UNIT_ACR                                                   0x08

struct nv_sec2_init_msg {
 struct nvfw_falcon_msg hdr;
#define NV_SEC2_INIT_MSG_INIT                                              0x00
 u8 msg_type;

 u8 num_queues;
 u16 os_debug_entry_point;

 struct {
  u32 offset;
  u16 size;
  u8 index;
#define NV_SEC2_INIT_MSG_QUEUE_ID_CMDQ                                     0x00
#define NV_SEC2_INIT_MSG_QUEUE_ID_MSGQ                                     0x01
  u8 id;
 } queue_info[2];

 u32 sw_managed_area_offset;
 u16 sw_managed_area_size;
};

struct nv_sec2_init_msg_v1 {
 struct nvfw_falcon_msg hdr;
#define NV_SEC2_INIT_MSG_INIT                                              0x00
 u8 msg_type;

 u8 num_queues;
 u16 os_debug_entry_point;

 struct {
  u32 offset;
  u16 size;
  u8 index;
#define NV_SEC2_INIT_MSG_QUEUE_ID_CMDQ                                     0x00
#define NV_SEC2_INIT_MSG_QUEUE_ID_MSGQ                                     0x01
  u8 id;
 } queue_info[2];

 u32 sw_managed_area_offset;
 u16 sw_managed_area_size;

 u32 unkn[8];
};

struct nv_sec2_acr_cmd {
 struct nvfw_falcon_cmd hdr;
#define NV_SEC2_ACR_CMD_BOOTSTRAP_FALCON                                   0x00
 u8 cmd_type;
};

struct nv_sec2_acr_msg {
 struct nvfw_falcon_cmd hdr;
 u8 msg_type;
};

struct nv_sec2_acr_bootstrap_falcon_cmd {
 struct nv_sec2_acr_cmd cmd;
#define NV_SEC2_ACR_BOOTSTRAP_FALCON_FLAGS_RESET_YES                 0x00000000
#define NV_SEC2_ACR_BOOTSTRAP_FALCON_FLAGS_RESET_NO                  0x00000001
 u32 flags;
 u32 falcon_id;
};

struct nv_sec2_acr_bootstrap_falcon_msg {
 struct nv_sec2_acr_msg msg;
 u32 error_code;
 u32 falcon_id;
};

#define NV_SEC2_UNIT_V2_INIT   0x01
#define NV_SEC2_UNIT_V2_UNLOAD 0x05
#define NV_SEC2_UNIT_V2_ACR    0x07

struct nv_sec2_acr_bootstrap_falcon_cmd_v1 {
 struct nv_sec2_acr_cmd cmd;
#define NV_SEC2_ACR_BOOTSTRAP_FALCON_FLAGS_RESET_YES                 0x00000000
#define NV_SEC2_ACR_BOOTSTRAP_FALCON_FLAGS_RESET_NO                  0x00000001
 u32 flags;
 u32 falcon_id;
 u32 unkn08;
 u32 unkn0c;
};

struct nv_sec2_acr_bootstrap_falcon_msg_v1 {
 struct nv_sec2_acr_msg msg;
 u32 error_code;
 u32 falcon_id;
 u32 unkn08;
};
#endif

Messung V0.5
C=96 H=91 G=93

¤ Dauer der Verarbeitung: 0.3 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.