Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a general debuglib for both teeio_debug and spdm_debug #61

Merged
merged 2 commits into from
May 17, 2024

Conversation

mxu9
Copy link
Contributor

@mxu9 mxu9 commented May 16, 2024

Fix #57

teeio-validator/library/debuglib is designed for both teeio-validator and libspdm.

  1. teeio_debug.c is for TEEIO_DEBUG/TEEIO_PRINT/TEEIO_ASSERT
  2. spdm_debug is for LIBSPDM_DEBUG/LIBSPDM_ASSERT

teeio_debug.c is copied from teeio_validator/teeio_debug.c.

spdm_debug is controlled by libspdm_log field in [Main] section.

@mxu9 mxu9 requested a review from jyao1 May 16, 2024 11:14
debuglib contains 2 kinds of debug/assert:
1. teeio_debug.c is for TEEIO_DEBUG/TEEIO_PRINT/TEEIO_ASSERT
2. spdm_debug is for LIBSPDM_DEBUG/LIBSPDM_ASSERT

teeio_debug.c is copied from teeio_validator/teeio_debug.c.

spdm_debug is controlled by libspdm_log field in [Main] section.

Signed-off-by: Min Xu <min.m.xu@intel.com>
@mxu9 mxu9 marked this pull request as draft May 17, 2024 00:24
Signed-off-by: Min Xu <min.m.xu@intel.com>
@mxu9 mxu9 marked this pull request as ready for review May 17, 2024 00:41
@jyao1 jyao1 merged commit fb29f3e into intel:main May 17, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature Request : SPDM flow log prints
2 participants