home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / gdb-4.16-base.tgz / gdb-4.16-base.tar / fsf / gdb / utils / amd-udi / include / pceb.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-12-23  |  3.0 KB  |  86 lines

  1. /* @(#)pceb.h    5.18 93/07/30 16:40:12, Srini, AMD */
  2. /******************************************************************************
  3.  * Copyright 1991 Advanced Micro Devices, Inc.
  4.  *
  5.  * This software is the property of Advanced Micro Devices, Inc  (AMD)  which
  6.  * specifically  grants the user the right to modify, use and distribute this
  7.  * software provided this notice is not removed or altered.  All other rights
  8.  * are reserved by AMD.
  9.  *
  10.  * AMD MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS
  11.  * SOFTWARE.  IN NO EVENT SHALL AMD BE LIABLE FOR INCIDENTAL OR CONSEQUENTIAL
  12.  * DAMAGES IN CONNECTION WITH OR ARISING FROM THE FURNISHING, PERFORMANCE, OR
  13.  * USE OF THIS SOFTWARE.
  14.  *
  15.  * So that all may benefit from your experience, please report  any  problems
  16.  * or  suggestions about this software to the 29K Technical Support Center at
  17.  * 800-29-29-AMD (800-292-9263) in the USA, or 0800-89-1131  in  the  UK,  or
  18.  * 0031-11-1129 in Japan, toll free.  The direct dial number is 512-462-4118.
  19.  *
  20.  * Advanced Micro Devices, Inc.
  21.  * 29K Support Products
  22.  * Mail Stop 573
  23.  * 5900 E. Ben White Blvd.
  24.  * Austin, TX 78741
  25.  * 800-292-9263
  26.  *****************************************************************************
  27.  *      Engineer: Srini Subramanian.
  28.  *****************************************************************************
  29. **       This file defines values used in accessing the PCEB board.
  30.  *****************************************************************************
  31.  */
  32.  
  33.  
  34. /*
  35. ** PCEB register addresses
  36. */
  37.  
  38. #define PCEB_PC229K_OFFSET        32
  39. #define PCEB_PC29K2PC_OFFSET      34
  40. #define PCEB_PCCNF_OFFSET         36
  41.  
  42.  
  43. /*
  44. ** PC229K register bit definitions.
  45. */
  46.  
  47. #define PCEB_P_REQ      0x80       /* Request bit from PC to 29k */
  48. #define PCEB_S_ENA      0x40       /* Enable interrupts to PC */
  49. #define PCEB_LB_END     0x20       /* Set for Big Endian access to 29k */
  50. #define PCEB_S_RESET    0x10       /* Reset the 29k processor */
  51. #define PCEB_S_WARN     0x08       /* Assert WARN to the 29k */
  52. #define PCEB_WINENA     0x04       /* Enable PC memory window */
  53. #define PCEB_S_CTL1     0x02       /* Processor CTRL1 input */
  54. #define PCEB_S_CTL0     0x01       /* Processor CTRL0 input */
  55.  
  56. #define PCEB_S_HALT     PCEB_S_CTL1
  57. #define PCEB_S_NORMAL   (PCEB_S_CTL1 | PCEB_S_CTL0)
  58.  
  59.  
  60. /*
  61. ** 29K2PC register bit definitions.
  62. */
  63.  
  64. #define PCEB_S_REQ      0x80       /* Request bit from 29k to PC */
  65. #define PCEB_P_ENA      0x40       /* Enable interrupts to 29k */
  66. #define PCEB_S_STAT2    0x04       /* STAT2 signal from 29k processor */
  67. #define PCEB_S_STAT1    0x02       /* STAT1 signal from 29k processor */
  68. #define PCEB_S_STAT0    0x01       /* STAT0 signal from 29k processor */
  69.  
  70. /*
  71. ** Shared memory definitions
  72. */
  73.  
  74. /*
  75. ** The "anchors" defined below represent addresses in the Am29000
  76. ** data memory space.  At these addresses are pointers to shared
  77. ** memory buffers.
  78. */
  79.  
  80.  
  81. #define PCEB_RECV_BUF_PTR    0x0400  /* Host receive buffer pointer   */
  82.  
  83. #define PCEB_SEND_BUF        0x0404  /* Host send buffer    */
  84.  
  85.  
  86.