Merge "feat(spm_mm): move mm_communication header define to general header" into integration

This commit is contained in:
Manish Pandey 2025-03-06 23:36:19 +01:00 committed by TrustedFirmware Code Review
commit d153bcf427
2 changed files with 11 additions and 10 deletions

View file

@ -91,6 +91,17 @@
#ifndef __ASSEMBLER__
#include <stdint.h>
#include <tools_share/uuid.h>
/*
* MM Communicate information structure. Required to generate MM Communicate
* payload to be shared with Standalone MM.
*/
typedef struct mm_communicate_header {
struct efi_guid header_guid;
size_t message_len;
uint8_t data[1];
} mm_communicate_header_t;
int32_t spm_mm_setup(void);

View file

@ -18,16 +18,6 @@
#define NRD_RAS_INTR_TYPE_SPI 0
#define NRD_RAS_INTR_TYPE_PPI 1
/*
* MM Communicate information structure. Required to generate MM Communicate
* payload to be shared with Standalone MM.
*/
typedef struct mm_communicate_header {
struct efi_guid header_guid;
size_t message_len;
uint8_t data[1];
} mm_communicate_header_t;
/* RAS error info data structure. */
struct nrd_ras_ev_map {
int sdei_ev_num; /* SDEI Event number */