PPC: Add a platform field to the arch_kernel_args

* We need to know which platform we are booted from
This commit is contained in:
François Revol 2012-09-22 22:10:02 +02:00
parent 9a713d9417
commit f812331857

View File

@ -29,6 +29,9 @@ typedef struct {
// to the Open Firmware.
uint32 num_virtual_ranges_to_keep;
addr_range virtual_ranges_to_keep[MAX_VIRTUAL_RANGES_TO_KEEP];
// platform type we booted from
int platform;
} arch_kernel_args;
#endif /* KERNEL_ARCH_PPC_KERNEL_ARGS_H */