mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 19:12:43 +00:00 
			
		
		
		
	Kernel/aarch64: Handle instruction aborts
To detect instruction aborts, a helper to Registers.h is added, and used in Interrupts.cpp. Additionally, the PageFault class gets a setter to set the PageFaults m_is_instruction_fetch bool, and is also used in Interrupts.cpp.
This commit is contained in:
		
							parent
							
								
									daf7f43135
								
							
						
					
					
						commit
						ecf45e191e
					
				
					 3 changed files with 11 additions and 1 deletions
				
			
		|  | @ -78,6 +78,8 @@ public: | |||
|     void set_mode(ExecutionMode execution_mode) { m_execution_mode = execution_mode; } | ||||
|     ExecutionMode mode() const { return m_execution_mode; } | ||||
| 
 | ||||
|     void set_instruction_fetch(bool b) { m_is_instruction_fetch = b; } | ||||
| 
 | ||||
|     bool is_not_present() const { return m_type == Type::PageNotPresent; } | ||||
|     bool is_protection_violation() const { return m_type == Type::ProtectionViolation; } | ||||
|     bool is_read() const { return m_access == Access::Read; } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Timon Kruiper
						Timon Kruiper