Eliminate use of pointers in coreboot table
Because pointers can be 32bit or 64bit big, using them in the coreboot table requires the OS and the firmware to operate in the same mode which is not always the case. Hence, use 64bit for all pointers stored in the coreboot table. Guess we'll have to fix this up once we port to the first 128bit machines. Change-Id: I46fc1dad530e5230986f7aa5740595428ede4f93 Signed-off-by: Stefan Reinauer <reinauer@google.com> Reviewed-on: http://review.coreboot.org/3115 Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@google.com>
This commit is contained in:
		
				
					committed by
					
						
						Ronald G. Minnich
					
				
			
			
				
	
			
			
			
						parent
						
							8d5bc9f772
						
					
				
				
					commit
					642b1db733
				
			@@ -232,7 +232,7 @@ static void lb_vboot_handoff(struct lb_header *header)
 | 
			
		||||
	vbho = (struct lb_vboot_handoff *)lb_new_record(header);
 | 
			
		||||
	vbho->tag = LB_TAB_VBOOT_HANDOFF;
 | 
			
		||||
	vbho->size = sizeof(*vbho);
 | 
			
		||||
	vbho->vboot_handoff_addr = addr;
 | 
			
		||||
	vbho->vboot_handoff_addr = (intptr_t)addr;
 | 
			
		||||
	vbho->vboot_handoff_size = size;
 | 
			
		||||
}
 | 
			
		||||
#else
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user