diff --git a/tdisp/src/lib.rs b/tdisp/src/lib.rs index a46361a9..0f20308a 100644 --- a/tdisp/src/lib.rs +++ b/tdisp/src/lib.rs @@ -9,8 +9,8 @@ pub mod common; pub mod config; pub mod context; pub mod device; -pub mod message; +pub mod pci_tdisp; pub mod state_machine; pub mod tdisp_codec; -pub mod tdisp_requester; -pub mod tdisp_responder; +pub mod pci_tdisp_requester; +pub mod pci_tdisp_responder; diff --git a/tdisp/src/message.rs b/tdisp/src/pci_tdisp.rs similarity index 100% rename from tdisp/src/message.rs rename to tdisp/src/pci_tdisp.rs diff --git a/tdisp/src/tdisp_requester/mod.rs b/tdisp/src/pci_tdisp_requester/mod.rs similarity index 56% rename from tdisp/src/tdisp_requester/mod.rs rename to tdisp/src/pci_tdisp_requester/mod.rs index 8b8d9c02..9dce49d9 100644 --- a/tdisp/src/tdisp_requester/mod.rs +++ b/tdisp/src/pci_tdisp_requester/mod.rs @@ -27,14 +27,14 @@ impl<'a> TdispRequester<'a> { } } -pub mod bind_p2p_stream_request_req; -pub mod get_device_interface_report_req; -pub mod get_device_interface_state_req; -pub mod get_tdisp_capabilities_req; -pub mod get_tdisp_version_req; -pub mod lock_interface_request_req; -pub mod set_mmio_attribute_request_req; -pub mod start_interface_request_req; -pub mod stop_interface_request_req; -pub mod unbind_p2p_stream_request_req; -pub mod vdm_request; +pub mod pci_tdisp_req_bind_p2p_stream_request; +pub mod pci_tdisp_req_get_device_interface_report; +pub mod pci_tdisp_req_get_device_interface_state; +pub mod pci_tdisp_req_get_tdisp_capabilities; +pub mod pci_tdisp_req_get_tdisp_version; +pub mod pci_tdisp_req_lock_interface_request; +pub mod pci_tdisp_req_set_mmio_attribute_request; +pub mod pci_tdisp_req_start_interface_request; +pub mod pci_tdisp_req_stop_interface_request; +pub mod pci_tdisp_req_unbind_p2p_stream_request; +pub mod pci_tdisp_req_vdm_request; diff --git a/tdisp/src/tdisp_requester/bind_p2p_stream_request_req.rs b/tdisp/src/pci_tdisp_requester/pci_tdisp_req_bind_p2p_stream_request.rs similarity index 98% rename from tdisp/src/tdisp_requester/bind_p2p_stream_request_req.rs rename to tdisp/src/pci_tdisp_requester/pci_tdisp_req_bind_p2p_stream_request.rs index 46396f91..951dd150 100644 --- a/tdisp/src/tdisp_requester/bind_p2p_stream_request_req.rs +++ b/tdisp/src/pci_tdisp_requester/pci_tdisp_req_bind_p2p_stream_request.rs @@ -20,7 +20,7 @@ use crate::{ use super::*; impl<'a> TdispRequester<'a> { - pub fn send_receive_bind_p2p_stream( + pub fn pci_tdisp_req_bind_p2p_stream_request( &mut self, spdm_requester: &mut RequesterContext, ) -> TdispResult { diff --git a/tdisp/src/tdisp_requester/get_device_interface_report_req.rs b/tdisp/src/pci_tdisp_requester/pci_tdisp_req_get_device_interface_report.rs similarity index 98% rename from tdisp/src/tdisp_requester/get_device_interface_report_req.rs rename to tdisp/src/pci_tdisp_requester/pci_tdisp_req_get_device_interface_report.rs index b2af6ad0..99d94ed1 100644 --- a/tdisp/src/tdisp_requester/get_device_interface_report_req.rs +++ b/tdisp/src/pci_tdisp_requester/pci_tdisp_req_get_device_interface_report.rs @@ -22,7 +22,7 @@ use crate::{ use super::*; impl<'a> TdispRequester<'a> { - pub fn send_receive_get_device_interface_report( + pub fn pci_tdisp_req_get_device_interface_report( &mut self, spdm_requester: &mut RequesterContext, ) -> TdispResult { diff --git a/tdisp/src/tdisp_requester/get_device_interface_state_req.rs b/tdisp/src/pci_tdisp_requester/pci_tdisp_req_get_device_interface_state.rs similarity index 98% rename from tdisp/src/tdisp_requester/get_device_interface_state_req.rs rename to tdisp/src/pci_tdisp_requester/pci_tdisp_req_get_device_interface_state.rs index 89620fb1..12f1afe6 100644 --- a/tdisp/src/tdisp_requester/get_device_interface_state_req.rs +++ b/tdisp/src/pci_tdisp_requester/pci_tdisp_req_get_device_interface_state.rs @@ -22,7 +22,7 @@ use crate::{ use super::*; impl<'a> TdispRequester<'a> { - pub fn send_receive_get_device_interface_state( + pub fn pci_tdisp_req_get_device_interface_state( &mut self, spdm_requester: &mut RequesterContext, ) -> TdispResult { diff --git a/tdisp/src/tdisp_requester/get_tdisp_capabilities_req.rs b/tdisp/src/pci_tdisp_requester/pci_tdisp_req_get_tdisp_capabilities.rs similarity index 98% rename from tdisp/src/tdisp_requester/get_tdisp_capabilities_req.rs rename to tdisp/src/pci_tdisp_requester/pci_tdisp_req_get_tdisp_capabilities.rs index 2f88dc89..25e5de1c 100644 --- a/tdisp/src/tdisp_requester/get_tdisp_capabilities_req.rs +++ b/tdisp/src/pci_tdisp_requester/pci_tdisp_req_get_tdisp_capabilities.rs @@ -20,7 +20,7 @@ use crate::{ use super::*; impl<'a> TdispRequester<'a> { - pub fn send_receive_get_tdisp_capabilities( + pub fn pci_tdisp_req_get_tdisp_capabilities( &mut self, spdm_requester: &mut RequesterContext, ) -> TdispResult { diff --git a/tdisp/src/tdisp_requester/get_tdisp_version_req.rs b/tdisp/src/pci_tdisp_requester/pci_tdisp_req_get_tdisp_version.rs similarity index 98% rename from tdisp/src/tdisp_requester/get_tdisp_version_req.rs rename to tdisp/src/pci_tdisp_requester/pci_tdisp_req_get_tdisp_version.rs index c05b714d..829e642a 100644 --- a/tdisp/src/tdisp_requester/get_tdisp_version_req.rs +++ b/tdisp/src/pci_tdisp_requester/pci_tdisp_req_get_tdisp_version.rs @@ -20,7 +20,7 @@ use crate::{ use super::*; impl<'a> TdispRequester<'a> { - pub fn send_receive_get_tdisp_version( + pub fn pci_tdisp_req_get_tdisp_version( &mut self, spdm_requester: &mut RequesterContext, ) -> TdispResult { diff --git a/tdisp/src/tdisp_requester/lock_interface_request_req.rs b/tdisp/src/pci_tdisp_requester/pci_tdisp_req_lock_interface_request.rs similarity index 98% rename from tdisp/src/tdisp_requester/lock_interface_request_req.rs rename to tdisp/src/pci_tdisp_requester/pci_tdisp_req_lock_interface_request.rs index 1c0f26b1..535a404c 100644 --- a/tdisp/src/tdisp_requester/lock_interface_request_req.rs +++ b/tdisp/src/pci_tdisp_requester/pci_tdisp_req_lock_interface_request.rs @@ -20,7 +20,7 @@ use crate::{ use super::*; impl<'a> TdispRequester<'a> { - pub fn send_receive_lock_interface_request( + pub fn pci_tdisp_req_lock_interface_request( &mut self, spdm_requester: &mut RequesterContext, ) -> TdispResult { diff --git a/tdisp/src/tdisp_requester/set_mmio_attribute_request_req.rs b/tdisp/src/pci_tdisp_requester/pci_tdisp_req_set_mmio_attribute_request.rs similarity index 98% rename from tdisp/src/tdisp_requester/set_mmio_attribute_request_req.rs rename to tdisp/src/pci_tdisp_requester/pci_tdisp_req_set_mmio_attribute_request.rs index 8f0e27cc..8115afa2 100644 --- a/tdisp/src/tdisp_requester/set_mmio_attribute_request_req.rs +++ b/tdisp/src/pci_tdisp_requester/pci_tdisp_req_set_mmio_attribute_request.rs @@ -20,7 +20,7 @@ use crate::{ use super::*; impl<'a> TdispRequester<'a> { - pub fn send_receive_set_mmio_attribute( + pub fn pci_tdisp_req_set_mmio_attribute_request( &mut self, spdm_requester: &mut RequesterContext, ) -> TdispResult { diff --git a/tdisp/src/tdisp_requester/start_interface_request_req.rs b/tdisp/src/pci_tdisp_requester/pci_tdisp_req_start_interface_request.rs similarity index 98% rename from tdisp/src/tdisp_requester/start_interface_request_req.rs rename to tdisp/src/pci_tdisp_requester/pci_tdisp_req_start_interface_request.rs index bbad7361..f4bb0748 100644 --- a/tdisp/src/tdisp_requester/start_interface_request_req.rs +++ b/tdisp/src/pci_tdisp_requester/pci_tdisp_req_start_interface_request.rs @@ -20,7 +20,7 @@ use crate::{ use super::*; impl<'a> TdispRequester<'a> { - pub fn send_receive_start_interface( + pub fn pci_tdisp_req_start_interface_request( &mut self, spdm_requester: &mut RequesterContext, ) -> TdispResult { diff --git a/tdisp/src/tdisp_requester/stop_interface_request_req.rs b/tdisp/src/pci_tdisp_requester/pci_tdisp_req_stop_interface_request.rs similarity index 98% rename from tdisp/src/tdisp_requester/stop_interface_request_req.rs rename to tdisp/src/pci_tdisp_requester/pci_tdisp_req_stop_interface_request.rs index d1c3aad9..671fa743 100644 --- a/tdisp/src/tdisp_requester/stop_interface_request_req.rs +++ b/tdisp/src/pci_tdisp_requester/pci_tdisp_req_stop_interface_request.rs @@ -20,7 +20,7 @@ use crate::{ use super::*; impl<'a> TdispRequester<'a> { - pub fn send_receive_stop_interface( + pub fn pci_tdisp_req_stop_interface_request( &mut self, spdm_requester: &mut RequesterContext, ) -> TdispResult { diff --git a/tdisp/src/tdisp_requester/unbind_p2p_stream_request_req.rs b/tdisp/src/pci_tdisp_requester/pci_tdisp_req_unbind_p2p_stream_request.rs similarity index 98% rename from tdisp/src/tdisp_requester/unbind_p2p_stream_request_req.rs rename to tdisp/src/pci_tdisp_requester/pci_tdisp_req_unbind_p2p_stream_request.rs index 235cd037..e4a4150e 100644 --- a/tdisp/src/tdisp_requester/unbind_p2p_stream_request_req.rs +++ b/tdisp/src/pci_tdisp_requester/pci_tdisp_req_unbind_p2p_stream_request.rs @@ -20,7 +20,7 @@ use crate::{ use super::*; impl<'a> TdispRequester<'a> { - pub fn send_receive_unbind_p2p_stream( + pub fn pci_tdisp_req_unbind_p2p_stream_request( &mut self, spdm_requester: &mut RequesterContext, ) -> TdispResult { diff --git a/tdisp/src/tdisp_requester/vdm_request.rs b/tdisp/src/pci_tdisp_requester/pci_tdisp_req_vdm_request.rs similarity index 98% rename from tdisp/src/tdisp_requester/vdm_request.rs rename to tdisp/src/pci_tdisp_requester/pci_tdisp_req_vdm_request.rs index 46c6c53c..fb5362fc 100644 --- a/tdisp/src/tdisp_requester/vdm_request.rs +++ b/tdisp/src/pci_tdisp_requester/pci_tdisp_req_vdm_request.rs @@ -20,7 +20,7 @@ use crate::{ use super::*; impl<'a> TdispRequester<'a> { - pub fn send_receive_vdm_request( + pub fn pci_tdisp_req_vdm_request( &mut self, spdm_requester: &mut RequesterContext, ) -> TdispResult { diff --git a/tdisp/src/tdisp_responder/mod.rs b/tdisp/src/pci_tdisp_responder/mod.rs similarity index 94% rename from tdisp/src/tdisp_responder/mod.rs rename to tdisp/src/pci_tdisp_responder/mod.rs index b37fafd2..5b5ad984 100644 --- a/tdisp/src/tdisp_responder/mod.rs +++ b/tdisp/src/pci_tdisp_responder/mod.rs @@ -21,18 +21,18 @@ use self::context::{ ExtendedErrorData, GenericErrorResponseCode, InterfaceId, MessagePayloadResponseTdispError, }; -pub mod bind_p2p_stream_request_rsp; -pub mod device_interface_report_rsp; -pub mod device_interface_state_rsp; -pub mod lock_interface_request_rsp; -pub mod set_mmio_attribute_request_rsp; -pub mod start_interface_request_rsp; -pub mod stop_interface_request_rsp; -pub mod tdisp_capabilities_rsp; -pub mod tdisp_error_rsp; -pub mod tdisp_version_rsp; -pub mod unbind_p2p_stream_request_rsp; -pub mod vdm_response; +pub mod pci_tdisp_rsp_bind_p2p_stream_request; +pub mod pci_tdisp_rsp_device_interface_report; +pub mod pci_tdisp_rsp_device_interface_state; +pub mod pci_tdisp_rsp_lock_interface_request; +pub mod pci_tdisp_rsp_set_mmio_attribute_request; +pub mod pci_tdisp_rsp_start_interface_request; +pub mod pci_tdisp_rsp_stop_interface_request; +pub mod pci_tdisp_rsp_tdisp_capabilities; +pub mod pci_tdisp_rsp_tdisp_error; +pub mod pci_tdisp_rsp_tdisp_version; +pub mod pci_tdisp_rsp_unbind_p2p_stream_request; +pub mod pci_tdisp_rsp_vdm_response; pub static mut TDISP_RESPONDER: Option = None; diff --git a/tdisp/src/tdisp_responder/bind_p2p_stream_request_rsp.rs b/tdisp/src/pci_tdisp_responder/pci_tdisp_rsp_bind_p2p_stream_request.rs similarity index 98% rename from tdisp/src/tdisp_responder/bind_p2p_stream_request_rsp.rs rename to tdisp/src/pci_tdisp_responder/pci_tdisp_rsp_bind_p2p_stream_request.rs index 9653c073..b9463940 100644 --- a/tdisp/src/tdisp_responder/bind_p2p_stream_request_rsp.rs +++ b/tdisp/src/pci_tdisp_responder/pci_tdisp_rsp_bind_p2p_stream_request.rs @@ -21,7 +21,7 @@ use super::*; // IDE configuration register for this stream is configured as the default stream // Address and/or RID association registers of this streams IDE configuration registers overlap with other IDE configuration registers impl<'a> TdispResponder<'a> { - pub fn handle_bind_p2p_stream_request( + pub fn pci_tdisp_rsp_bind_p2p_stream_request( &mut self, vendor_defined_req_payload_struct: &VendorDefinedReqPayloadStruct, ) -> SpdmResult { diff --git a/tdisp/src/tdisp_responder/device_interface_report_rsp.rs b/tdisp/src/pci_tdisp_responder/pci_tdisp_rsp_device_interface_report.rs similarity index 98% rename from tdisp/src/tdisp_responder/device_interface_report_rsp.rs rename to tdisp/src/pci_tdisp_responder/pci_tdisp_rsp_device_interface_report.rs index acd58f1f..4a86297d 100644 --- a/tdisp/src/tdisp_responder/device_interface_report_rsp.rs +++ b/tdisp/src/pci_tdisp_responder/pci_tdisp_rsp_device_interface_report.rs @@ -19,7 +19,7 @@ use super::*; // Invalid offset specified impl<'a> TdispResponder<'a> { - pub fn handle_device_interface_report( + pub fn pci_tdisp_rsp_device_interface_report( &mut self, vendor_defined_req_payload_struct: &VendorDefinedReqPayloadStruct, ) -> SpdmResult { diff --git a/tdisp/src/tdisp_responder/device_interface_state_rsp.rs b/tdisp/src/pci_tdisp_responder/pci_tdisp_rsp_device_interface_state.rs similarity index 97% rename from tdisp/src/tdisp_responder/device_interface_state_rsp.rs rename to tdisp/src/pci_tdisp_responder/pci_tdisp_rsp_device_interface_state.rs index a2443be9..5578151b 100644 --- a/tdisp/src/tdisp_responder/device_interface_state_rsp.rs +++ b/tdisp/src/pci_tdisp_responder/pci_tdisp_rsp_device_interface_state.rs @@ -17,7 +17,7 @@ use super::*; // Interface ID in the request is not hosted by the device. impl<'a> TdispResponder<'a> { - pub fn handle_device_interface_state( + pub fn pci_tdisp_rsp_device_interface_state( &mut self, vendor_defined_req_payload_struct: &VendorDefinedReqPayloadStruct, ) -> SpdmResult { diff --git a/tdisp/src/tdisp_responder/lock_interface_request_rsp.rs b/tdisp/src/pci_tdisp_responder/pci_tdisp_rsp_lock_interface_request.rs similarity index 99% rename from tdisp/src/tdisp_responder/lock_interface_request_rsp.rs rename to tdisp/src/pci_tdisp_responder/pci_tdisp_rsp_lock_interface_request.rs index 849993bb..b94b6980 100644 --- a/tdisp/src/tdisp_responder/lock_interface_request_rsp.rs +++ b/tdisp/src/pci_tdisp_responder/pci_tdisp_rsp_lock_interface_request.rs @@ -38,7 +38,7 @@ use super::*; // BIND_P2P // ALL_REQUEST_REDIRECT impl<'a> TdispResponder<'a> { - pub fn handle_lock_interface_request( + pub fn pci_tdisp_rsp_lock_interface_request( &mut self, vendor_defined_req_payload_struct: &VendorDefinedReqPayloadStruct, ) -> SpdmResult { diff --git a/tdisp/src/tdisp_responder/set_mmio_attribute_request_rsp.rs b/tdisp/src/pci_tdisp_responder/pci_tdisp_rsp_set_mmio_attribute_request.rs similarity index 98% rename from tdisp/src/tdisp_responder/set_mmio_attribute_request_rsp.rs rename to tdisp/src/pci_tdisp_responder/pci_tdisp_rsp_set_mmio_attribute_request.rs index 30b7cf68..495e8670 100644 --- a/tdisp/src/tdisp_responder/set_mmio_attribute_request_rsp.rs +++ b/tdisp/src/pci_tdisp_responder/pci_tdisp_rsp_set_mmio_attribute_request.rs @@ -21,7 +21,7 @@ use super::*; // The MMIO range specified in the request is not associated with TDI impl<'a> TdispResponder<'a> { - pub fn handle_set_mmio_attribute_request( + pub fn pci_tdisp_rsp_set_mmio_attribute_request( &mut self, vendor_defined_req_payload_struct: &VendorDefinedReqPayloadStruct, ) -> SpdmResult { diff --git a/tdisp/src/tdisp_responder/start_interface_request_rsp.rs b/tdisp/src/pci_tdisp_responder/pci_tdisp_rsp_start_interface_request.rs similarity index 98% rename from tdisp/src/tdisp_responder/start_interface_request_rsp.rs rename to tdisp/src/pci_tdisp_responder/pci_tdisp_rsp_start_interface_request.rs index 32d69e30..d278a610 100644 --- a/tdisp/src/tdisp_responder/start_interface_request_rsp.rs +++ b/tdisp/src/pci_tdisp_responder/pci_tdisp_rsp_start_interface_request.rs @@ -16,7 +16,7 @@ use super::*; // DONE - TDI is not in CONFIG_LOCKED. impl<'a> TdispResponder<'a> { - pub fn handle_start_interface_request( + pub fn pci_tdisp_rsp_start_interface_request( &mut self, vendor_defined_req_payload_struct: &VendorDefinedReqPayloadStruct, ) -> SpdmResult { diff --git a/tdisp/src/tdisp_responder/stop_interface_request_rsp.rs b/tdisp/src/pci_tdisp_responder/pci_tdisp_rsp_stop_interface_request.rs similarity index 98% rename from tdisp/src/tdisp_responder/stop_interface_request_rsp.rs rename to tdisp/src/pci_tdisp_responder/pci_tdisp_rsp_stop_interface_request.rs index 0485b5fc..866fa197 100644 --- a/tdisp/src/tdisp_responder/stop_interface_request_rsp.rs +++ b/tdisp/src/pci_tdisp_responder/pci_tdisp_rsp_stop_interface_request.rs @@ -21,7 +21,7 @@ use super::*; // Reclaim and scrub private resources (e.g., memory encryption keys for device attached memories, etc.) assigned to the TDI impl<'a> TdispResponder<'a> { - pub fn handle_stop_interface_request( + pub fn pci_tdisp_rsp_stop_interface_request( &mut self, vendor_defined_req_payload_struct: &VendorDefinedReqPayloadStruct, ) -> SpdmResult { diff --git a/tdisp/src/tdisp_responder/tdisp_capabilities_rsp.rs b/tdisp/src/pci_tdisp_responder/pci_tdisp_rsp_tdisp_capabilities.rs similarity index 98% rename from tdisp/src/tdisp_responder/tdisp_capabilities_rsp.rs rename to tdisp/src/pci_tdisp_responder/pci_tdisp_rsp_tdisp_capabilities.rs index 5750ac36..34834528 100644 --- a/tdisp/src/tdisp_responder/tdisp_capabilities_rsp.rs +++ b/tdisp/src/pci_tdisp_responder/pci_tdisp_rsp_tdisp_capabilities.rs @@ -9,7 +9,7 @@ use crate::context::{MessagePayloadRequestGetCapabilities, MessagePayloadRespons use super::*; impl<'a> TdispResponder<'a> { - pub fn handle_tdisp_capabilities( + pub fn pci_tdisp_rsp_tdisp_capabilities( &mut self, vendor_defined_req_payload_struct: &VendorDefinedReqPayloadStruct, ) -> SpdmResult { diff --git a/tdisp/src/tdisp_responder/tdisp_error_rsp.rs b/tdisp/src/pci_tdisp_responder/pci_tdisp_rsp_tdisp_error.rs similarity index 98% rename from tdisp/src/tdisp_responder/tdisp_error_rsp.rs rename to tdisp/src/pci_tdisp_responder/pci_tdisp_rsp_tdisp_error.rs index 60ef96e7..4397ae0e 100644 --- a/tdisp/src/tdisp_responder/tdisp_error_rsp.rs +++ b/tdisp/src/pci_tdisp_responder/pci_tdisp_rsp_tdisp_error.rs @@ -9,7 +9,7 @@ use crate::{context::MessagePayloadResponseTdispError, tdisp_codec::TdispCodec}; use super::*; impl<'a> TdispResponder<'a> { - pub fn handle_tdisp_error( + pub fn pci_tdisp_rsp_tdisp_error( &mut self, vendor_defined_req_payload_struct: &VendorDefinedReqPayloadStruct, message_payload_response_tdisp_error: MessagePayloadResponseTdispError, diff --git a/tdisp/src/tdisp_responder/tdisp_version_rsp.rs b/tdisp/src/pci_tdisp_responder/pci_tdisp_rsp_tdisp_version.rs similarity index 98% rename from tdisp/src/tdisp_responder/tdisp_version_rsp.rs rename to tdisp/src/pci_tdisp_responder/pci_tdisp_rsp_tdisp_version.rs index 12933f21..0a5f9b0d 100644 --- a/tdisp/src/tdisp_responder/tdisp_version_rsp.rs +++ b/tdisp/src/pci_tdisp_responder/pci_tdisp_rsp_tdisp_version.rs @@ -13,7 +13,7 @@ use crate::{ use super::*; impl<'a> TdispResponder<'a> { - pub fn handle_tdisp_version( + pub fn pci_tdisp_rsp_tdisp_version( &mut self, vendor_defined_req_payload_struct: &VendorDefinedReqPayloadStruct, ) -> SpdmResult { diff --git a/tdisp/src/tdisp_responder/unbind_p2p_stream_request_rsp.rs b/tdisp/src/pci_tdisp_responder/pci_tdisp_rsp_unbind_p2p_stream_request.rs similarity index 98% rename from tdisp/src/tdisp_responder/unbind_p2p_stream_request_rsp.rs rename to tdisp/src/pci_tdisp_responder/pci_tdisp_rsp_unbind_p2p_stream_request.rs index 2dbf5b66..b8b63648 100644 --- a/tdisp/src/tdisp_responder/unbind_p2p_stream_request_rsp.rs +++ b/tdisp/src/pci_tdisp_responder/pci_tdisp_rsp_unbind_p2p_stream_request.rs @@ -18,7 +18,7 @@ use super::*; // Stream ID specified was not previously bound to this TDI impl<'a> TdispResponder<'a> { - pub fn handle_unbind_p2p_stream_request( + pub fn pci_tdisp_rsp_unbind_p2p_stream_request( &mut self, vendor_defined_req_payload_struct: &VendorDefinedReqPayloadStruct, ) -> SpdmResult { diff --git a/tdisp/src/tdisp_responder/vdm_response.rs b/tdisp/src/pci_tdisp_responder/pci_tdisp_rsp_vdm_response.rs similarity index 98% rename from tdisp/src/tdisp_responder/vdm_response.rs rename to tdisp/src/pci_tdisp_responder/pci_tdisp_rsp_vdm_response.rs index ab714bfd..84ba19a2 100644 --- a/tdisp/src/tdisp_responder/vdm_response.rs +++ b/tdisp/src/pci_tdisp_responder/pci_tdisp_rsp_vdm_response.rs @@ -9,7 +9,7 @@ use crate::context::{MessagePayloadRequestVDM, MessagePayloadResponseVDM}; use super::*; impl<'a> TdispResponder<'a> { - pub fn handle_vdm_request( + pub fn pci_tdisp_rsp_vdm_response( &mut self, vendor_defined_req_payload_struct: &VendorDefinedReqPayloadStruct, ) -> SpdmResult {