summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorrpollock <rpollock@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-04-11 23:33:40 +0000
committerrpollock <rpollock@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-04-11 23:33:40 +0000
commit8b5429cdf5a74fb0ea1e81275a59cb969a00e904 (patch)
tree098693df1daa2ae24707d9b3180d4466444650ea /tests
parent57b4b18803c36a2a410163db4631522e9c0d7608 (diff)
downloadATCD-8b5429cdf5a74fb0ea1e81275a59cb969a00e904.tar.gz
ChangeLogTag:Fri Apr 11 18:05:00 2003 Roy Pollock <rpollock@ghs.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/ACE.bsp25
-rw-r--r--tests/INTEGRITY.ld31
-rw-r--r--tests/Token_Strategy_Test.cpp6
3 files changed, 59 insertions, 3 deletions
diff --git a/tests/ACE.bsp b/tests/ACE.bsp
new file mode 100644
index 00000000000..58959b48998
--- /dev/null
+++ b/tests/ACE.bsp
@@ -0,0 +1,25 @@
+# Target description File for the Integrate utility for use with the
+# INTEGRITY real-time operating system by Green Hills Software.
+# Before editing this file, refer to your Integrate documentation.
+
+# ACE.bsp is only appropriate for dynamic download INTEGRITY applications
+# built for use with ACE/TAO
+
+Target
+ MinimumAddress 0x0
+ MaximumAddress 0x2fffffff
+ Clock StandardTick
+ EndClock
+ Clock HighResTimer
+ EndClock
+ Clock RealTimeClock
+ EndClock
+ InitialKernelObjects 50
+ DefaultStartIt false
+ DefaultMaxPriority 255
+ DefaultPriority 127
+ DefaultWeight 255
+ DefaultMaxWeight 255
+ DefaultStackSize 0x10000
+ DefaultMemoryRegionSize 0x100000
+EndTarget
diff --git a/tests/INTEGRITY.ld b/tests/INTEGRITY.ld
new file mode 100644
index 00000000000..d971fd3d4ad
--- /dev/null
+++ b/tests/INTEGRITY.ld
@@ -0,0 +1,31 @@
+# default link map for INTEGRITY
+# text (readonly) and data (read/write) areas must be page-aligned
+
+-sec
+{
+# text/readonly segment
+ .picbase 0x10000 :
+ .text :
+ .syscall :
+ .intercall :
+ .interfunc :
+ .secinfo :
+ .rodata :
+ .sdata2 :
+ .fixaddr :
+ .fixtype :
+# .textchecksum MUST be the last section of the text/readonly segment
+ .textchecksum :
+
+# data/readwrite segment
+ .pidbase align(0x4000) :
+ .data :
+ .sdabase :
+ .sdata :
+# .datachecksum MUST be the last section of the data portion of the
+# data/read/write segment (i.e., it must come before the BSS sections).
+ .datachecksum :
+ .sbss :
+ .bss :
+ .heap align(16) pad(0x800000) :
+}
diff --git a/tests/Token_Strategy_Test.cpp b/tests/Token_Strategy_Test.cpp
index 96a8c5f0981..a30f786c28e 100644
--- a/tests/Token_Strategy_Test.cpp
+++ b/tests/Token_Strategy_Test.cpp
@@ -249,9 +249,9 @@ template class ACE_Guard<ACE_Token>;
#pragma instantiate ACE_Atomic_Op<ACE_Thread_Mutex, int>
#pragma instantiate ACE_Atomic_Op_Ex<ACE_Thread_Mutex, int>
#pragma instantiate ACE_Vector<ACE_INT32>
-#pragma instantiate ACE_Array<ACE_INT32>;
-#pragma instantiate ACE_Array_Base<ACE_INT32>;
-#pragma instantiate ACE_Array_Iterator<ACE_INT32>;
+#pragma instantiate ACE_Array<ACE_INT32>
+#pragma instantiate ACE_Array_Base<ACE_INT32>
+#pragma instantiate ACE_Array_Iterator<ACE_INT32>
#pragma instantiate ACE_Auto_IncDec<ACE_Atomic_Op<ACE_Thread_Mutex, int> >
#pragma instantiate ACE_Guard<ACE_Token>
#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */