@@ -41,20 +41,20 @@ mod exception;
4141pub struct DebugSupport {
4242 isa : ProcessorArch ,
4343 get_maximum_processor_index :
44- extern "efiapi" fn ( this : & mut DebugSupport , max_processor_index : & mut usize ) -> Status ,
44+ extern "efiapi" fn ( this : & mut Self , max_processor_index : & mut usize ) -> Status ,
4545 register_periodic_callback : unsafe extern "efiapi" fn (
46- this : & mut DebugSupport ,
46+ this : & mut Self ,
4747 processor_index : usize ,
4848 periodic_callback : Option < unsafe extern "efiapi" fn ( SystemContext ) > ,
4949 ) -> Status ,
5050 register_exception_callback : unsafe extern "efiapi" fn (
51- this : & mut DebugSupport ,
51+ this : & mut Self ,
5252 processor_index : usize ,
5353 exception_callback : Option < unsafe extern "efiapi" fn ( ExceptionType , SystemContext ) > ,
5454 exception_type : ExceptionType ,
5555 ) -> Status ,
5656 invalidate_instruction_cache : unsafe extern "efiapi" fn (
57- this : & mut DebugSupport ,
57+ this : & mut Self ,
5858 processor_index : usize ,
5959 start : * mut c_void ,
6060 length : u64 ,
@@ -192,20 +192,20 @@ pub enum ProcessorArch: u32 => {
192192#[ repr( C ) ]
193193#[ unsafe_protocol( "eba4e8d2-3858-41ec-a281-2647ba9660d0" ) ]
194194pub struct DebugPort {
195- reset : extern "efiapi" fn ( this : & DebugPort ) -> Status ,
195+ reset : extern "efiapi" fn ( this : & Self ) -> Status ,
196196 write : extern "efiapi" fn (
197- this : & DebugPort ,
197+ this : & Self ,
198198 timeout : u32 ,
199199 buffer_size : & mut usize ,
200200 buffer : * const c_void ,
201201 ) -> Status ,
202202 read : extern "efiapi" fn (
203- this : & DebugPort ,
203+ this : & Self ,
204204 timeout : u32 ,
205205 buffer_size : & mut usize ,
206206 buffer : * mut c_void ,
207207 ) -> Status ,
208- poll : extern "efiapi" fn ( this : & DebugPort ) -> Status ,
208+ poll : extern "efiapi" fn ( this : & Self ) -> Status ,
209209}
210210
211211impl DebugPort {
0 commit comments