bootinfo.h 783 B

12345678910111213141516171819202122232425262728293031323334
  1. /*
  2. ** asm/bootinfo.h -- Definition of the Linux/m68k boot information structure
  3. **
  4. ** Copyright 1992 by Greg Harp
  5. **
  6. ** This file is subject to the terms and conditions of the GNU General Public
  7. ** License. See the file COPYING in the main directory of this archive
  8. ** for more details.
  9. */
  10. #ifndef _M68K_BOOTINFO_H
  11. #define _M68K_BOOTINFO_H
  12. #include <uapi/asm/bootinfo.h>
  13. #ifndef __ASSEMBLY__
  14. #ifdef CONFIG_BOOTINFO_PROC
  15. extern void save_bootinfo(const struct bi_record *bi);
  16. #else
  17. static inline void save_bootinfo(const struct bi_record *bi) {}
  18. #endif
  19. #ifdef CONFIG_UBOOT
  20. void process_uboot_commandline(char *commandp, int size);
  21. #else
  22. static inline void process_uboot_commandline(char *commandp, int size) {}
  23. #endif
  24. #endif /* __ASSEMBLY__ */
  25. #endif /* _M68K_BOOTINFO_H */