mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 17:52:45 +00:00 
			
		
		
		
	Kernel: Consolidate features into CPUFeature enum
This allows us to consolidate printing out all the CPU features into one log statement. Also expose them in /proc/cpuinfo
This commit is contained in:
		
							parent
							
								
									e373e5f007
								
							
						
					
					
						commit
						9b4e6f6a23
					
				
					 9 changed files with 197 additions and 145 deletions
				
			
		|  | @ -773,6 +773,7 @@ Optional<KBuffer> procfs$cpuinfo(InodeIdentifier) | |||
|             builder.appendf("processor: %u\n", proc.id()); | ||||
|             builder.appendf("cpuid:     %s\n", info.cpuid().characters()); | ||||
|             builder.appendf("family:    %u\n", info.display_family()); | ||||
|             builder.appendf("features:  %s\n", info.features().characters()); | ||||
|             builder.appendf("model:     %u\n", info.display_model()); | ||||
|             builder.appendf("stepping:  %u\n", info.stepping()); | ||||
|             builder.appendf("type:      %u\n", info.type()); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Tom
						Tom