File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed
Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -119,36 +119,19 @@ impl Aarch64VCpu {
119119 self . vmexit_handler ( trap_kind)
120120 }
121121
122- pub fn bind ( & mut self ) -> AxResult {
123- Ok ( ( ) )
124- }
125-
126- pub fn unbind ( & mut self ) -> AxResult {
127- Ok ( ( ) )
128- }
129-
130122 pub fn set_gpr ( & mut self , idx : usize , val : usize ) {
131123 self . ctx . set_gpr ( idx, val) ;
132124 }
133125
134126 pub fn inject_interrupt ( & mut self , vector : usize ) -> AxResult {
135127 inject_interrupt ( vector) ;
136- // axvisor_api::arch::hardware_inject_virtual_interrupt(vector as u8);
137128 Ok ( ( ) )
138129 }
139130
140131 pub fn set_return_value ( & mut self , val : usize ) {
141132 // Return value is stored in x0.
142133 self . ctx . set_argument ( val) ;
143134 }
144-
145- pub fn ctx ( & self ) -> & TrapFrame {
146- & self . ctx
147- }
148-
149- pub fn ctx_mut ( & mut self ) -> & mut TrapFrame {
150- & mut self . ctx
151- }
152135}
153136
154137// Private function
You can’t perform that action at this time.
0 commit comments