File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
src/hyperlight_common/src Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -20,24 +20,28 @@ pub const PAGE_SHIFT: u64 = 12;
2020pub const PAGE_SIZE : u64 = 1 << 12 ;
2121pub const PAGE_SIZE_USIZE : usize = 1 << 12 ;
2222
23+ #[ derive( Debug , Clone , Copy ) ]
2324#[ repr( C ) ]
2425pub struct InputData {
2526 pub inputDataSize : u64 ,
2627 pub inputDataBuffer : u64 ,
2728}
2829
30+ #[ derive( Debug , Clone , Copy ) ]
2931#[ repr( C ) ]
3032pub struct OutputData {
3133 pub outputDataSize : u64 ,
3234 pub outputDataBuffer : u64 ,
3335}
3436
37+ #[ derive( Debug , Clone , Copy ) ]
3538#[ repr( C ) ]
3639pub struct GuestHeapData {
3740 pub guestHeapSize : u64 ,
3841 pub guestHeapBuffer : u64 ,
3942}
4043
44+ #[ derive( Debug , Clone , Copy ) ]
4145#[ repr( C ) ]
4246pub struct GuestStackData {
4347 /// This is the top of the user stack
@@ -46,6 +50,7 @@ pub struct GuestStackData {
4650 pub userStackAddress : u64 ,
4751}
4852
53+ #[ derive( Debug , Clone , Copy ) ]
4954#[ repr( C ) ]
5055pub struct HyperlightPEB {
5156 pub security_cookie_seed : u64 ,
You can’t perform that action at this time.
0 commit comments