summaryrefslogtreecommitdiff
path: root/MdePkg/Include/Library/JedecJep106Lib.h
blob: d27446b401e346cd6ff9fe985025335a2e785df5 (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
25
26
/** @file
  Provides JEDEC JEP-106 Manufacturer functions.

  Copyright (c) 2022, Qualcomm Innovation Center, Inc. All rights reserved.<BR>
  SPDX-License-Identifier: BSD-2-Clause-Patent

**/

#pragma once

/**
  Looks up the JEP-106 manufacturer.

  @param Code              Last non-zero byte of the manufacturer's ID code.
  @param ContinuationBytes Number of continuation bytes indicated in JEP-106.

  @return The manufacturer string, or NULL if an error occurred or the
          combination of Code and ContinuationBytes are not valid.

**/
CONST CHAR8 *
EFIAPI
Jep106GetManufacturerName (
  IN UINT8  Code,
  IN UINT8  ContinuationBytes
  );