mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 20:48:08 +07:00
776258df92
Now that the sh-sci earlyprintk is taken care of by the sh-sci driver directly, there's no longer any reason for having a split-out early_printk framework. sh_bios is the only other thing that uses it, so we just migrate the leftovers in to there. As it's possible to have multiple early_param()'s for the same string, there's not much point in having this split out anymore anyways, particularly since the sh_bios dependencies are still special-cased within sh-sci itself. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
26 lines
673 B
C
26 lines
673 B
C
#ifndef _SH_SETUP_H
|
|
#define _SH_SETUP_H
|
|
|
|
#include <asm-generic/setup.h>
|
|
|
|
#ifdef __KERNEL__
|
|
/*
|
|
* This is set up by the setup-routine at boot-time
|
|
*/
|
|
#define PARAM ((unsigned char *)empty_zero_page)
|
|
|
|
#define MOUNT_ROOT_RDONLY (*(unsigned long *) (PARAM+0x000))
|
|
#define RAMDISK_FLAGS (*(unsigned long *) (PARAM+0x004))
|
|
#define ORIG_ROOT_DEV (*(unsigned long *) (PARAM+0x008))
|
|
#define LOADER_TYPE (*(unsigned long *) (PARAM+0x00c))
|
|
#define INITRD_START (*(unsigned long *) (PARAM+0x010))
|
|
#define INITRD_SIZE (*(unsigned long *) (PARAM+0x014))
|
|
/* ... */
|
|
#define COMMAND_LINE ((char *) (PARAM+0x100))
|
|
|
|
void sh_mv_setup(void);
|
|
|
|
#endif /* __KERNEL__ */
|
|
|
|
#endif /* _SH_SETUP_H */
|