summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/i960/rxgen960/startup/rom_ibr.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-10-27 15:29:18 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-10-27 15:29:18 +0000
commit702c5f5b42e975c35a94f1ae3d39a77815f36f70 (patch)
tree46a9caa5230280f7c51530aeeff50355f893083c /c/src/lib/libbsp/i960/rxgen960/startup/rom_ibr.c
parentFirst attempt at icluding Eric Valette and Emmanuel Raguet. (diff)
downloadrtems-702c5f5b42e975c35a94f1ae3d39a77815f36f70.tar.bz2
The rxgen960 BSP and i960 RPM support was submitted by Mark Bronson
<mark@ramix.com> of RAMIX.
Diffstat (limited to 'c/src/lib/libbsp/i960/rxgen960/startup/rom_ibr.c')
-rw-r--r--c/src/lib/libbsp/i960/rxgen960/startup/rom_ibr.c30
1 files changed, 30 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/i960/rxgen960/startup/rom_ibr.c b/c/src/lib/libbsp/i960/rxgen960/startup/rom_ibr.c
new file mode 100644
index 0000000000..8366f4676f
--- /dev/null
+++ b/c/src/lib/libbsp/i960/rxgen960/startup/rom_ibr.c
@@ -0,0 +1,30 @@
+/*-------------------------------------*/
+/* rom_ibr.h */
+/* Last change : 23. 1.95 */
+/*-------------------------------------*/\
+#include "rom_ibr.h"
+#include "prcb.h"
+#include "cntrltbl.h"
+#include <i960RP.h>
+#include "../include/rxgen960_config.h"
+/*-------------------------------------*/
+extern void romStart(void);
+
+
+struct IBR rom_ibr = {
+ {((REGION_BOOT_CONFIG) & 0xff), /* Initial Bus Configuration */
+ ((REGION_BOOT_CONFIG) >> 8) & 0xff,
+ ((REGION_BOOT_CONFIG) >> 16) & 0xff,
+ ((REGION_BOOT_CONFIG) >> 24) & 0xff},
+ romStart, /* Start Point */
+ & rom_prcb, /* PRCB */
+ {-2, /* CheckSum */
+ 0,
+ 0,
+ 0,
+ 0,
+ (unsigned int) rom_ibr_cksum}
+};
+/*-------------*/
+/* End of file */
+/*-------------*/