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