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

Linux/Unix编程

开发平台:

Unix_Linux

  1. /*
  2.  * BK Id: SCCS/s.bseip.h 1.10 08/17/01 15:23:17 paulus
  3.  */
  4. /*
  5.  * A collection of structures, addresses, and values associated with
  6.  * the Bright Star Engineering ip-Engine board.  Copied from the MBX stuff.
  7.  *
  8.  * Copyright (c) 1998 Dan Malek (dmalek@jlc.net)
  9.  */
  10. #ifndef __MACH_BSEIP_DEFS
  11. #define __MACH_BSEIP_DEFS
  12. #ifndef __ASSEMBLY__
  13. /* A Board Information structure that is given to a program when
  14.  * prom starts it up.
  15.  */
  16. typedef struct bd_info {
  17. unsigned int bi_memstart; /* Memory start address */
  18. unsigned int bi_memsize; /* Memory (end) size in bytes */
  19. unsigned int bi_intfreq; /* Internal Freq, in Hz */
  20. unsigned int bi_busfreq; /* Bus Freq, in Hz */
  21. unsigned char bi_enetaddr[6];
  22. unsigned int bi_baudrate;
  23. } bd_t;
  24. extern bd_t m8xx_board_info;
  25. /* Memory map is configured by the PROM startup.
  26.  * All we need to get started is the IMMR.
  27.  */
  28. #define IMAP_ADDR ((uint)0xff000000)
  29. #define IMAP_SIZE ((uint)(64 * 1024))
  30. #define PCMCIA_MEM_ADDR ((uint)0x04000000)
  31. #define PCMCIA_MEM_SIZE ((uint)(64 * 1024))
  32. #endif /* !__ASSEMBLY__ */
  33. /* We don't use the 8259.
  34. */
  35. #define NR_8259_INTS 0
  36. #endif