iSeries_setup.h
上传用户:jlfgdled
上传日期:2013-04-10
资源大小:33168k
文件大小:2k
源码类别:

Linux/Unix编程

开发平台:

Unix_Linux

  1. /*
  2.  *    Copyright (c) 2000 Mike Corrigan <mikejc@us.ibm.com>
  3.  *    Copyright (c) 1999-2000 Grant Erickson <grant@lcse.umn.edu>
  4.  *
  5.  *    Module name: as400_setup.h
  6.  *
  7.  *    Description:
  8.  *      Architecture- / platform-specific boot-time initialization code for
  9.  *      the IBM AS/400 LPAR. Adapted from original code by Grant Erickson and
  10.  *      code by Gary Thomas, Cort Dougan <cort@cs.nmt.edu>, and Dan Malek
  11.  *      <dan@netx4.com>.
  12.  *
  13.  *      This program is free software; you can redistribute it and/or
  14.  *      modify it under the terms of the GNU General Public License
  15.  *      as published by the Free Software Foundation; either version
  16.  *      2 of the License, or (at your option) any later version.
  17.  */
  18. #ifndef __ISERIES_SETUP_H__
  19. #define __ISERIES_SETUP_H__
  20. extern void  iSeries_init_early(void);
  21. extern void  iSeries_init(unsigned long r3,
  22.             unsigned long ird_start,
  23.     unsigned long ird_end,
  24.     unsigned long cline_start,
  25.     unsigned long cline_end);
  26. extern void  iSeries_setup_arch(void);
  27. extern void  iSeries_setup_residual(struct seq_file *m);
  28. extern void  iSeries_get_cpuinfo(struct seq_file *m);
  29. extern void  iSeries_init_IRQ(void);
  30. extern int  iSeries_get_irq(struct pt_regs *regs);
  31. extern void  iSeries_restart(char *cmd);
  32. extern void  iSeries_power_off(void);
  33. extern void  iSeries_halt(void);
  34. extern void  iSeries_time_init(void);
  35. extern void      iSeries_get_boot_time(struct rtc_time *tm);
  36. extern int  iSeries_set_rtc_time(unsigned long now);
  37. extern unsigned long  iSeries_get_rtc_time(void);
  38. extern void  iSeries_calibrate_decr(void);
  39. extern void   iSeries_progress( char *, unsigned short );
  40. #endif /* __ISERIES_SETUP_H__ */