* include/grub/types.h: Define GRUB_TARGET_WORDSIZE. * include/grub/elf.h: Define symbols without "32" or "64" based on GRUB_TARGET_WORDSIZE. * include/grub/multiboot2.h: Use GRUB_TARGET_WORDSIZE. * efiemu/loadcore32.c: Redefine GRUB_TARGET_WORDSIZE, remove own ELF definitions. * efiemu/loadcore64.c: Likewise. * loader/i386/bsd32.c: Likewise. * loader/i386/bsd64.c: Likewise. * kern/dl.c: Remove own ELF definitions. * util/i386/efi/grub-mkimage.c: Likewise.
		
			
				
	
	
		
			6 lines
		
	
	
	
		
			161 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			6 lines
		
	
	
	
		
			161 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #define SUFFIX(x) x ## 64
 | |
| #define GRUB_TARGET_WORDSIZE 64
 | |
| #define OBJSYM 1
 | |
| #include <grub/types.h>
 | |
| typedef grub_uint64_t grub_freebsd_addr_t;
 | |
| #include "bsdXX.c"
 |