Renamed
authorOrion Lawlor <olawlor@acm.org>
Wed, 10 Mar 2004 19:30:26 +0000 (19:30 +0000)
committerOrion Lawlor <olawlor@acm.org>
Wed, 10 Mar 2004 19:30:26 +0000 (19:30 +0000)
CMK_STACK_GROWDOWN as CMK_CONTEXT_STACKEND
CMK_STACK_GROWUP as the silent default CMK_CONTEXT_STACKBEGIN
CMK_STACK_GROWMIDDLE as CMK_CONTEXT_STACKMIDDLE

The new names are clearer, because *no* machine's stack
actually grows up; but *lots* of machines context routines
expect a pointer to the beginning of the stack.

The only user of these #defines is src/conv-core/threads.c.

18 files changed:
src/arch/elan-linux-ia64/conv-mach.h
src/arch/mpi-axp/conv-mach.h
src/arch/mpi-bluegenel/conv-mach.h
src/arch/mpi-crayx1/conv-mach.h
src/arch/mpi-hp-ia64/conv-mach.h
src/arch/mpi-linux-ia64/conv-mach.h
src/arch/mpi-sp/conv-mach.h
src/arch/net-aix-ppc/conv-mach.h
src/arch/net-axp/conv-mach.h
src/arch/net-hp-ia64/conv-mach.h
src/arch/net-hp/conv-mach.h
src/arch/net-linux-ia64/conv-mach.h
src/arch/net-linux/conv-mach.h
src/arch/net-sol/cc-cc64.h
src/arch/net-sol/conv-mach.h
src/arch/origin2000/conv-mach.h
src/arch/t3e/conv-mach.h
src/arch/vmi/conv-common.h

index c1f0600ec5cd0fc2710ade8224083b3e50b746e4..b5e51c5a0657d907932b2b20929fdc657ee12f92 100644 (file)
@@ -33,7 +33,6 @@
 #define CMK_SIGNAL_USE_SIGACTION_WITH_RESTART              1
 
 #define CMK_THREADS_USE_CONTEXT                            1
-#define CMK_STACK_GROWUP                                   1
 #define CMK_THREADS_USE_PTHREADS                           0
 #define CMK_THREADS_REQUIRE_NO_CPV                         0
 
index 7724dc57d345a9b38c310c78b81f972fa8f165ca..46af3dee71069f4c2b54e486f1e96999b167d2f0 100644 (file)
@@ -27,7 +27,6 @@
 #define CMK_SHARED_VARS_UNIPROCESSOR                       0
 
 #define CMK_THREADS_USE_CONTEXT                            0
-#define CMK_STACK_GROWUP                                   1
 #define CMK_THREADS_USE_PTHREADS                           0
 #define CMK_THREADS_ARE_WIN32_FIBERS                       0
 
index 2d1c449a8b86ef4eded0a408cc8eb99bf9926009..3f3f0fd6ed1f476c85450d292742a6b93d736971 100644 (file)
@@ -40,7 +40,6 @@
 #define CMK_SYNCHRONIZE_ON_TCP_CLOSE                       0
 
 #define CMK_THREADS_USE_CONTEXT                            0
-#define CMK_STACK_GROWUP                                   1
 #define CMK_THREADS_USE_PTHREADS                           0
 #define CMK_THREADS_ARE_WIN32_FIBERS                       0
 
index 40ed0e90d06fd2781414725c02511e9ebc2487fa..e332fde429fb91f1e499165dd1c15888028e75f2 100644 (file)
@@ -30,7 +30,6 @@
 #define CMK_SHARED_VARS_SUN_THREADS                        0
 
 #define CMK_THREADS_USE_CONTEXT                            1
-#define CMK_STACK_GROWUP                                   1
 
 #define CMK_SIGNAL_NOT_NEEDED                              0
 #define CMK_SIGNAL_USE_SIGACTION                           0
index 784abf29d12de196addbe5464258e874a4a57c63..0bbaea59150de4472c3e295ad704f81d0ed5b4a0 100644 (file)
@@ -42,7 +42,6 @@
 #define CMK_SYNCHRONIZE_ON_TCP_CLOSE                       0
 
 #define CMK_THREADS_USE_CONTEXT                            1
-#define CMK_STACK_GROWUP                                   1
 #define CMK_THREADS_REQUIRE_NO_CPV                         0
 #define CMK_THREADS_COPY_STACK                             0
 
index 2dde5cfddf8c4e8d699ad4bfb0c76bf6d8b47fc7..d7f85c4c8b5c49f5b02f6069eed9571fb92a9c7f 100644 (file)
@@ -30,7 +30,6 @@
 #define CMK_SHARED_VARS_SUN_THREADS                        0
 
 #define CMK_THREADS_USE_CONTEXT                            1
-#define CMK_STACK_GROWUP                                   1
 
 #define CMK_SIGNAL_NOT_NEEDED                              0
 #define CMK_SIGNAL_USE_SIGACTION                           0
index 0d7ebc87bb23c104db56b14b701ee4eb12fdd802..b98589b584cfa132159199566371fa023fa51859 100644 (file)
@@ -37,7 +37,6 @@
 #define CMK_SHARED_VARS_UNIPROCESSOR                       0
 
 #define CMK_THREADS_USE_CONTEXT                            0
-#define CMK_STACK_GROWUP                                   1
 #define CMK_THREADS_USE_PTHREADS                           0
 #define CMK_THREADS_ARE_WIN32_FIBERS                       0
 
index 2e267ebb695bdb70b84eba6741338692446a4278..c7c918dc3b0a6e59dc6f849a95c46a6e255c7a21 100644 (file)
@@ -38,7 +38,6 @@
 #define CMK_SHARED_VARS_UNIPROCESSOR                       0
 
 #define CMK_THREADS_USE_CONTEXT                            0
-#define CMK_STACK_GROWUP                                   1
 
 #define CMK_SIGNAL_NOT_NEEDED                              0
 #define CMK_SIGNAL_USE_SIGACTION                           0
index e917ae52f6fc185fa7667f09257047aaa11547fa..2d1382474bf800bcfa49e5b12fb468e57877d9bd 100644 (file)
@@ -38,7 +38,6 @@
 #define CMK_SHARED_VARS_UNIPROCESSOR                       0
 
 #define CMK_THREADS_USE_CONTEXT                            0
-#define CMK_STACK_GROWUP                                  1
 #define CMK_THREADS_USE_PTHREADS                           0
 #define CMK_THREADS_ARE_WIN32_FIBERS                       0
 
index 18ce1bd6be9e17890453342305eb591030662f42..fc833486bd14e382a573ff43c23781cdf1e111fa 100644 (file)
@@ -37,7 +37,6 @@
 #define CMK_SHARED_VARS_UNIPROCESSOR                       0
 
 #define CMK_THREADS_USE_CONTEXT                            1
-#define CMK_STACK_GROWUP                                   1
 
 #define CMK_SIGNAL_NOT_NEEDED                              0
 #define CMK_SIGNAL_USE_SIGACTION                           1
index fcad4571e274bdf11b903fdd6889adb1535e1f73..5f670a23f72416d4891d38602d27049b24b62467 100644 (file)
@@ -37,7 +37,6 @@
 #define CMK_SHARED_VARS_UNIPROCESSOR                       0
 
 #define CMK_THREADS_USE_CONTEXT                            0
-#define CMK_STACK_GROWUP                                   1
 
 #define CMK_SIGNAL_NOT_NEEDED                              0
 #define CMK_SIGNAL_USE_SIGACTION                           1
index 966d4aeb91a834cca8e082753a33ceda23d5bb1c..20a501ec6200cbca6317a6fdd9ce3b38378bbca7 100644 (file)
@@ -39,7 +39,6 @@
 #define CMK_SHARED_VARS_UNIPROCESSOR                       0
 
 #define CMK_THREADS_USE_CONTEXT                            1
-#define CMK_STACK_GROWUP                                   1
 #define CMK_THREADS_USE_PTHREADS                           0
 #define CMK_THREADS_ARE_WIN32_FIBERS                       0
 
index 4c0cd5ff4fd7b99e7a35f66632bf0a086acde1ce..2c403cf72820bc8789b5abbf884eb61bbd047d7e 100644 (file)
@@ -35,7 +35,6 @@
 #define CMK_SHARED_VARS_UNIPROCESSOR                       0
 
 #define CMK_THREADS_USE_CONTEXT                            0
-#define CMK_STACK_GROWUP                                   1
 #define CMK_THREADS_USE_PTHREADS                           0
 #define CMK_THREADS_ARE_WIN32_FIBERS                       0
 
index aadc2d074883762b05e19c453ef64be2a6f38f76..788b55555c1c438ccd00e5977ebe269273daa6ec 100644 (file)
@@ -2,5 +2,3 @@
 #undef CMK_THREADS_USE_CONTEXT
 #define CMK_THREADS_USE_CONTEXT                            1
 
-#undef CMK_STACK_GROWDOWN
-#define CMK_STACK_GROWDOWN                                1
index 2349a7318ff73a225b59a5fe808c8ed295420389..cff4b38b24cb7ca4d5512e8e6145f7beea8777f6 100644 (file)
@@ -40,7 +40,7 @@
 #define CMK_THREADS_ARE_WIN32_FIBERS                       0
 #define CMK_THREADS_USE_PTHREADS                           0
 #define CMK_THREADS_USE_CONTEXT                            0
-#define CMK_STACK_GROWDOWN                                 1
+#define CMK_CONTEXT_STACKEND                               1
 
 #define CMK_SIGNAL_NOT_NEEDED                              0
 #define CMK_SIGNAL_USE_SIGACTION                           0
index 88935de975374a8389c647be892baf4ba86d8085..e8a19df214fad2930c84a66858536b48c1d680ff 100644 (file)
@@ -58,7 +58,7 @@
 #define CMK_SHARED_VARS_SUN_THREADS                        0
 
 #define CMK_THREADS_USE_CONTEXT                            0
-#define CMK_STACK_GROWDOWN                                 1
+#define CMK_CONTEXT_STACKEND                               1
 
 #define CMK_SIGNAL_NOT_NEEDED                              0
 #define CMK_SIGNAL_USE_SIGACTION                           0
index 7b7068c67140a495de4a1c72e2efe0be36832734..4bb8fab619ccd2c7c2004a600fee5d5448c092d0 100644 (file)
@@ -55,7 +55,7 @@
 #define CMK_SHARED_VARS_UNIPROCESSOR                       0
 
 #define CMK_THREADS_USE_CONTEXT                            0
-#define CMK_STACK_CMK_STACK_GROWUNKNOWN                    1
+#define CMK_CONTEXT_STACKMIDDLE                            1
 
 #define CMK_SIGNAL_NOT_NEEDED                              0
 #define CMK_SIGNAL_USE_SIGACTION                           0
index 2dcaabb72e33b6e78d130151670d2d4f9e9bd7ab..7f6afc36fd4ffe39d00f59d47150497dfe1628df 100644 (file)
@@ -75,7 +75,6 @@
 #define CMK_SHARED_VARS_UNIPROCESSOR                       0
 
 #define CMK_THREADS_USE_CONTEXT                            1
-#define CMK_STACK_GROWUP                                   1
 #define CMK_THREADS_USE_PTHREADS                           0
 #define CMK_THREADS_ARE_WIN32_FIBERS                       0