setup.h 1.0 KB

12345678910111213141516171819202122232425262728
  1. /*
  2. * Copyright (c) 2000 Mike Corrigan <mikejc@us.ibm.com>
  3. * Copyright (c) 1999-2000 Grant Erickson <grant@lcse.umn.edu>
  4. *
  5. * Description:
  6. * Architecture- / platform-specific boot-time initialization code for
  7. * the IBM AS/400 LPAR. Adapted from original code by Grant Erickson and
  8. * code by Gary Thomas, Cort Dougan <cort@cs.nmt.edu>, and Dan Malek
  9. * <dan@netx4.com>.
  10. *
  11. * This program is free software; you can redistribute it and/or
  12. * modify it under the terms of the GNU General Public License
  13. * as published by the Free Software Foundation; either version
  14. * 2 of the License, or (at your option) any later version.
  15. */
  16. #ifndef __ISERIES_SETUP_H__
  17. #define __ISERIES_SETUP_H__
  18. extern void *iSeries_early_setup(void);
  19. extern unsigned long iSeries_get_boot_time(void);
  20. extern int iSeries_set_rtc_time(struct rtc_time *tm);
  21. extern void iSeries_get_rtc_time(struct rtc_time *tm);
  22. extern void *build_flat_dt(unsigned long phys_mem_size);
  23. #endif /* __ISERIES_SETUP_H__ */