File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/hyperlight_host/src/hypervisor Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ pub trait DbgMemAccessHandlerCaller: Send {
121
121
/// are passed as parameters to functions
122
122
///
123
123
/// Note: This needs to be wrapped in a Mutex to be able to grab a mutable
124
- /// reference to the underlying data
124
+ /// reference to the underlying data
125
125
pub type DbgMemAccessHandlerWrapper = Arc < Mutex < dyn DbgMemAccessHandlerCaller > > ;
126
126
127
127
pub ( crate ) type DbgReadMemAccessHandlerFunction =
@@ -130,12 +130,12 @@ pub(crate) type DbgWriteMemAccessHandlerFunction =
130
130
Box < dyn FnMut ( usize , & [ u8 ] ) -> Result < ( ) > + Send > ;
131
131
pub ( crate ) type DbgGetCodeAddrHandlerFunction = Box < dyn FnMut ( ) -> Result < usize > + Send > ;
132
132
133
- /// A `DbgMemAccessHandler` implementation using
133
+ /// A `DbgMemAccessHandler` implementation using
134
134
/// (`DbgReadMemAccessHandlerFunction`, `DbgWriteMemAccessHandlerFunction `, `DbgGetCodeAddrHandlerFunction `).
135
135
///
136
136
/// Note: This handler must live for as long as its Sandbox or for
137
137
/// static in the case of its C API usage.
138
- pub ( crate ) struct DbgMemAccessHandler (
138
+ pub ( crate ) struct DbgMemAccessHandler (
139
139
Arc < Mutex < DbgReadMemAccessHandlerFunction > > ,
140
140
Arc < Mutex < DbgWriteMemAccessHandlerFunction > > ,
141
141
Arc < Mutex < DbgGetCodeAddrHandlerFunction > > ,
You can’t perform that action at this time.
0 commit comments