OpenBIC
OpenSource Bridge-IC
plat_pldm_oem.h
Go to the documentation of this file.
1/*
2 * Copyright (c) Meta Platforms, Inc. and affiliates.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17#ifndef PLAT_PLDM_OEM_H
18#define PLAT_PLDM_OEM_H
19
20#include "pldm_oem.h"
21
26};
27
29 uint8_t iana[IANA_LEN];
31 uint8_t cxl_comp_id;
32 uint32_t data_offset;
33 uint16_t data_len;
34} __attribute__((packed));
35
38 uint8_t iana[IANA_LEN];
39 uint16_t data_len;
40 uint8_t data[];
41} __attribute__((packed));
42
43uint8_t read_flash_data_cmd(void *mctp_inst, uint8_t *req_buf, uint16_t req_len,
44 uint8_t instance_id, uint8_t *resp_buf, uint16_t *resp_len,
45 void *ext_params);
46
47#endif
uint8_t read_flash_data_cmd(void *mctp_inst, uint8_t *req_buf, uint16_t req_len, uint8_t instance_id, uint8_t *resp_buf, uint16_t *resp_len, void *ext_params)
Definition: pldm_oem.c:46
CXL_COREDUMP_CMD_TYPE
Definition: plat_pldm_oem.h:22
@ READ_CXL_FLASH_DATA
Definition: plat_pldm_oem.h:24
@ READ_CXL_FLASH_END
Definition: plat_pldm_oem.h:25
@ READ_CXL_FLASH_START
Definition: plat_pldm_oem.h:23
struct _cxl_read_flash_req __attribute__((packed))
Definition: cci.h:57
#define IANA_LEN
Definition: pldm_oem.h:27
Definition: plat_pldm_oem.h:28
uint32_t data_offset
Definition: plat_pldm_oem.h:32
uint8_t cxl_comp_id
Definition: plat_pldm_oem.h:31
uint8_t iana[IANA_LEN]
Definition: plat_pldm_oem.h:29
uint8_t transfer_flag
Definition: plat_pldm_oem.h:30
uint16_t data_len
Definition: plat_pldm_oem.h:33
Definition: plat_pldm_oem.h:36
uint16_t data_len
Definition: plat_pldm_oem.h:39
uint8_t data[]
Definition: plat_pldm_oem.h:40
uint8_t iana[IANA_LEN]
Definition: plat_pldm_oem.h:38
uint8_t completion_code
Definition: plat_pldm_oem.h:37