Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

Commit

Permalink
change design of TDISP library to no context.
Browse files Browse the repository at this point in the history
Signed-off-by: Yang, Longlong <[email protected]>
  • Loading branch information
longlongyang committed Nov 5, 2023
1 parent 161f9e0 commit 073fe7c
Show file tree
Hide file tree
Showing 37 changed files with 3,888 additions and 3,328 deletions.
11 changes: 11 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ members = [
"executor",
"sys_time",
"idekm",
"tdisp",
"test/spdm-requester-emu",
"test/spdm-responder-emu",
"test/spdmlib-test",
Expand Down Expand Up @@ -65,7 +66,6 @@ exclude = [
"external/ring",
"external/webpki",
"fuzz-target/",
"tdisp"
]

resolver = "2"
Expand Down
46 changes: 23 additions & 23 deletions tdisp/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
[package]
name = "tdisp"
license = "BSD-2-Clause-Patent"
version = "0.1.0"
authors = [
"Jiewen Yao <[email protected]>",
"Xiaoyu Lu <[email protected]>",
"Longlong Yang <[email protected]>"
]
edition = "2018"

[dev-dependencies]

[build-dependencies]

[dependencies]
codec = { path = "../codec" }
bitflags = "1.2.1"
zeroize = { version = "1.5.0", features = ["zeroize_derive"]}
spdmlib = { path = "../spdmlib", default-features = false, features = ["spdm-ring"]}


[features]
[package]
name = "tdisp"
license = "BSD-2-Clause-Patent"
version = "0.2.0"
authors = [
"Jiewen Yao <[email protected]>",
"Xiaoyu Lu <[email protected]>",
"Longlong Yang <[email protected]>"
]
edition = "2018"

[dev-dependencies]

[build-dependencies]

[dependencies]
codec = { path = "../codec" }
bitflags = "1.2.1"
spdmlib = { path = "../spdmlib", default-features = false, features = ["spdm-ring"]}
conquer-once = { version = "0.3.2", default-features = false }
spin = { version = "0.9.8" }

[features]
24 changes: 0 additions & 24 deletions tdisp/src/common.rs

This file was deleted.

12 changes: 0 additions & 12 deletions tdisp/src/config.rs

This file was deleted.

110 changes: 0 additions & 110 deletions tdisp/src/context.rs

This file was deleted.

18 changes: 0 additions & 18 deletions tdisp/src/device.rs

This file was deleted.

29 changes: 13 additions & 16 deletions tdisp/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
// Copyright (c) 2022 Intel Corporation
//
// SPDX-License-Identifier: Apache-2.0 or MIT

#[macro_use]
extern crate bitflags;

pub mod common;
pub mod config;
pub mod context;
pub mod device;
pub mod pci_tdisp;
pub mod state_machine;
pub mod tdisp_codec;
pub mod pci_tdisp_requester;
pub mod pci_tdisp_responder;
// Copyright (c) 2023 Intel Corporation
//
// SPDX-License-Identifier: Apache-2.0 or MIT

#![forbid(unsafe_code)]
#![cfg_attr(not(feature = "std"), no_std)]

#[macro_use]
extern crate bitflags;

pub mod pci_tdisp;
pub mod pci_tdisp_requester;
pub mod pci_tdisp_responder;
Loading

0 comments on commit 073fe7c

Please sign in to comment.