summaryrefslogtreecommitdiff
path: root/DynamicTablesPkg/Include/Library/SmbiosSmcLib.h
blob: bfd0bf7b91a7c67b10203a20ac1c20a4963b7d18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/** @file
*
*  Copyright (c) 2025 - 2026, ARM Limited. All rights reserved.
*
*  SPDX-License-Identifier: BSD-2-Clause-Patent
*
**/

#pragma once

/**
  Return the SoC ID formatted for the SMBIOS Type 4 Processor ID field.

  @param[out] ProcessorId  Pointer to the SMBIOS Processor ID.

  @retval EFI_SUCCESS            The Processor ID was returned successfully.
  @retval EFI_INVALID_PARAMETER  ProcessorId is NULL.
  @retval EFI_UNSUPPORTED        The SMCCC Architecture SoC ID interface is
                                 unsupported or an SoC ID call failed.
**/
EFI_STATUS
SmbiosSmcGetSocId (
  OUT UINT64  *ProcessorId
  );