mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 13:22:43 +00:00 
			
		
		
		
	Kernel/ACPI: Simplify parser initialization
Let's remove the DynamicParser class, as it really did nothing yet in the Kernel. Instead, when we add support for AML parsing, we can figure out how to do it properly without the need of a derived class that just complicates everything for no good reason.
This commit is contained in:
		
							parent
							
								
									6348b63476
								
							
						
					
					
						commit
						026f80a95b
					
				
					 9 changed files with 59 additions and 178 deletions
				
			
		|  | @ -137,7 +137,7 @@ UNMAP_AFTER_INIT StringView CommandLine::root_device() const | |||
| 
 | ||||
| UNMAP_AFTER_INIT AcpiFeatureLevel CommandLine::acpi_feature_level() const | ||||
| { | ||||
|     auto value = kernel_command_line().lookup("acpi"sv).value_or("on"sv); | ||||
|     auto value = kernel_command_line().lookup("acpi"sv).value_or("limited"sv); | ||||
|     if (value == "limited"sv) | ||||
|         return AcpiFeatureLevel::Limited; | ||||
|     if (value == "off"sv) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Liav A
						Liav A