forked from openbmc/libpldm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1050: Master rebase with GHE patches (openbmc#4)
Signed-off-by: Manojkiran Eda <[email protected]> Change-Id: I25ca186037c455837de05c0cf35cf0209760a5f1
- Loading branch information
1 parent
d1a560c
commit 7910629
Showing
18 changed files
with
5,786 additions
and
3,038 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
#ifndef PDR_OEM_IBM_H | ||
#define PDR_OEM_IBM_H | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
#include "pdr_data.h" | ||
#include "platform.h" | ||
#include <assert.h> | ||
#include <stddef.h> | ||
#include <stdint.h> | ||
|
||
/** @brief Find the last local record | ||
* | ||
* @param[in] repo - opaque pointer acting as a PDR repo handle | ||
* | ||
* @return opaque pointer to the PDR record,will be NULL if record was not | ||
* found | ||
*/ | ||
pldm_pdr_record *pldm_pdr_find_last_local_record(const pldm_pdr *repo); | ||
|
||
/** @brief method to check if the record handle is within the HostBoot range | ||
* or not | ||
* | ||
* @param[in] record_handle - record handle of the pdr | ||
*/ | ||
bool isHBRange(const uint32_t record_handle); | ||
|
||
/** @brief find the container ID of the contained entity | ||
* | ||
* @param[in] repo - opaque pointer acting as a PDR repo handle | ||
* @param[in] entityType - entity type | ||
* @param[in] entityInstance - instance of the entity | ||
*/ | ||
uint16_t pldm_find_container_id(const pldm_pdr *repo, uint16_t entityType, | ||
uint16_t entityInstance); | ||
#ifdef __cplusplus | ||
} | ||
#endif | ||
|
||
#endif /* PDR_OEM_IBM_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.