mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 10:05:18 +07:00
143a1dec7e
A few things change for consistency between ppc32 and ppc64: idle functions return void; *_get_boot_time functions return unsigned long (i.e. time_t) rather than filling in a struct rtc_time (since that's useful to the callers and easier for pmac to generate); *_get_rtc_time and *_set_rtc_time functions take a struct rtc_time; irq_canonicalize is gone; nvram_sync returns void. Signed-off-by: Paul Mackerras <paulus@samba.org>
25 lines
933 B
C
25 lines
933 B
C
/*
|
|
* 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__
|
|
|
|
extern unsigned long iSeries_get_boot_time(void);
|
|
extern int iSeries_set_rtc_time(struct rtc_time *tm);
|
|
extern void iSeries_get_rtc_time(struct rtc_time *tm);
|
|
|
|
#endif /* __ISERIES_SETUP_H__ */
|