comparison packages/language/c/libc/current/include/pkgconf/libc.h @ 44:41bd4f3a90de ecos-sw-1999-10-08

Merge from eCos master repository on 1999-10-08-07:47:04-BST
author jlarmour
date Fri, 08 Oct 1999 13:16:25 +0000
parents 94fd8fbfe8fe
children 797268ecc331
comparison
equal deleted inserted replaced
43:3e1bfbe59ff6 44:41bd4f3a90de
1039 type boolean 1039 type boolean
1040 requires CYGPKG_KERNEL 1040 requires CYGPKG_KERNEL
1041 parent CYGPKG_LIBC_STARTUP 1041 parent CYGPKG_LIBC_STARTUP
1042 } 1042 }
1043 1043
1044 cdl_option CYGNUM_LIBC_MAIN_STACK_SIZE { 1044 cdl_component CYGSEM_LIBC_MAIN_STACK_FROM_SYSTEM {
1045 display "main()'s thread stack size" 1045 display "System provides stack for main()'s thread"
1046 description "This option controls whether the stack of
1047 main()'s thread is provided by the application or
1048 provided by the system. When disabled, the
1049 application must declare a pointer variable
1050 cyg_libc_main_stack which is a pointer to an
1051 appropriately aligned region of memory. The
1052 application must also declare a variable of
1053 type `int' called cyg_libc_main_stack_size
1054 which contains the size of the stack in bytes.
1055 This must be a multiple of 8."
1056 type boolean
1057 parent CYGSEM_LIBC_STARTUP_MAIN_THREAD
1058 }
1059
1060 cdl_option CYGNUM_LIBC_MAIN_DEFAULT_STACK_SIZE {
1061 display "main()'s default thread stack size"
1046 description "With an eCos kernel, when the cyg_iso_c_start() 1062 description "With an eCos kernel, when the cyg_iso_c_start()
1047 function is used to invoke the user-supplied 1063 function is used to invoke the user-supplied
1048 main() function in an ISO C compatible fashion, 1064 main() function in an ISO C compatible fashion,
1049 a separate thread is created to call main(). 1065 a separate thread is created to call main().
1050 This option controls the size of that thread's 1066 This option controls the size of that thread's
1053 here may be overriden by the HAL if there is 1069 here may be overriden by the HAL if there is
1054 a minimum requirement to process interrupts 1070 a minimum requirement to process interrupts
1055 etc." 1071 etc."
1056 type count 1072 type count
1057 legal_values 16 to 0x7fffffff 1073 legal_values 16 to 0x7fffffff
1058 parent CYGSEM_LIBC_STARTUP_MAIN_THREAD 1074 parent CYGSEM_LIBC_MAIN_STACK_FROM_SYSTEM
1075 }
1076
1077 cdl_option CYGNUM_LIBC_MAIN_THREAD_PRIORITY {
1078 display "Priority of main()'s thread"
1079 description "This option is used to provide the thread
1080 priority which main()'s thread runs at. Be
1081 sure to check that this number is appropriate
1082 for the kernel scheduler chosen. Different
1083 kernel schedulers impose different restrictions
1084 on the usable priorities."
1085 type count
1086 legal_values 0 to 0x7fffffff
1087 parent CYGSEM_LIBC_STARTUP_MAIN_THREAD
1059 } 1088 }
1060 1089
1061 cdl_component CYGFUN_LIBC_ATEXIT { 1090 cdl_component CYGFUN_LIBC_ATEXIT {
1062 display "Include atexit() function" 1091 display "Include atexit() function"
1063 description "This option enables the use of the atexit() 1092 description "This option enables the use of the atexit()
1156 #define CYGDAT_LIBC_ARGUMENTS { "", NULL } 1185 #define CYGDAT_LIBC_ARGUMENTS { "", NULL }
1157 1186
1158 #define CYGSEM_LIBC_STARTUP_MAIN_THREAD 1187 #define CYGSEM_LIBC_STARTUP_MAIN_THREAD
1159 1188
1160 #ifdef CYGSEM_LIBC_STARTUP_MAIN_THREAD 1189 #ifdef CYGSEM_LIBC_STARTUP_MAIN_THREAD
1161 #define CYGNUM_LIBC_MAIN_STACK_SIZE 8192 1190 # define CYGSEM_LIBC_MAIN_STACK_FROM_SYSTEM
1191 # define CYGNUM_LIBC_MAIN_DEFAULT_STACK_SIZE 8192
1192 # define CYGNUM_LIBC_MAIN_THREAD_PRIORITY 16
1162 #endif 1193 #endif
1163 1194
1164 #define CYGFUN_LIBC_ATEXIT 1195 #define CYGFUN_LIBC_ATEXIT
1165 1196
1166 #ifdef CYGFUN_LIBC_ATEXIT 1197 #ifdef CYGFUN_LIBC_ATEXIT