Changeset 2d7d605 in rtems
- Timestamp:
- 08/19/98 14:41:23 (26 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 0375c72
- Parents:
- 06fa582
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
aclocal.m4
r06fa582 r2d7d605 462 462 #include <sys/sem.h> 463 463 int main () { 464 #if !defined(sun) 465 union semun arg ;464 #if !defined(sun) 465 union semun arg ; 466 466 #else 467 467 union semun { -
c/src/lib/libbsp/i386/pc386/console/console.c
r06fa582 r2d7d605 41 41 #include <termios.h> 42 42 #include <pc386uart.h> 43 #include <libcpu/cpuModel.h> 43 44 44 45 int PC386ConsolePort = PC386_CONSOLE_PORT_CONSOLE; … … 62 63 63 64 extern rtems_boolean _IBMPC_scankey(char *); /* defined in 'inch.c' */ 64 extern BSP_polling_getchar_function_type BSP_wait_polled_input();65 extern void _IBMPC_initVideo( );65 extern char BSP_wait_polled_input(void); 66 extern void _IBMPC_initVideo(void); 66 67 67 68 void console_reserve_resources(rtems_configuration_table *conf) … … 170 171 171 172 /* Install keyboard interrupt handler */ 172 status = pc386_install_rtems_irq_handler(&console_isr_data);173 status = pc386_install_rtems_irq_handler(&console_isr_data); 173 174 174 if (!status)175 if (!status) 175 176 { 176 177 printk("Error installing keyboard interrupt handler!\n"); … … 482 483 */ 483 484 484 BSP_output_char_function_type BSP_output_char = (BSP_output_char_function_type) _IBMPC_outch; 485 BSP_polling_getchar_function_type BSP_poll_char = BSP_wait_polled_input; 485 BSP_output_char_function_type BSP_output_char = 486 (BSP_output_char_function_type) _IBMPC_outch; 487 488 BSP_polling_getchar_function_type BSP_poll_char = BSP_wait_polled_input; 489 486 490 void BSP_emergency_output_init() 487 491 { -
c/src/lib/libbsp/i386/pc386/network/network.c
r06fa582 r2d7d605 512 512 } 513 513 else if (strcmp ("bpar", argv[argIndex]) == 0) { 514 sscanf(argv[++argIndex], "%x", (unsigned ) &(dp->bpar));514 sscanf(argv[++argIndex], "%x", (unsigned *) &(dp->bpar)); 515 515 dp->base = (unsigned char *)(dp->bpar); 516 516 } -
c/src/lib/libbsp/i386/pc386/start/Makefile.in
r06fa582 r2d7d605 65 65 66 66 ${ARCH}/start16.bin: ${ARCH}/start16.o 67 -$(LD) -N -T $(LINKCMDS) -Ttext $(START16ADDR) -e start16 -nostdlib \67 $(LD) -N -T $(LINKCMDS) -Ttext $(START16ADDR) -e start16 -nostdlib \ 68 68 --oformat=elf32-i386 -o $(basename $@).obj $(basename $@).o 69 - $(OBJCOPY) -O binary $(basename $@).obj $@ 70 cp $(basename $@).o $(basename $@).bin 69 $(OBJCOPY) -O binary $(basename $@).obj $@ -
c/src/lib/libbsp/i386/pc386/start/start.s
r06fa582 r2d7d605 107 107 addl $4, esp 108 108 109 call debugPollingGetChar109 /* call debugPollingGetChar */ 110 110 111 111 #endif -
c/src/lib/libbsp/i386/pc386/timer/timer.c
r06fa582 r2d7d605 56 56 | External Prototypes 57 57 +--------------------------------------------------------------------------*/ 58 extern void timerisr( );58 extern void timerisr(void); 59 59 /* timer (int 08h) Interrupt Service Routine (defined in 'timerisr.s') */ 60 extern int clockIsOn(const rtems_irq_connect_data*);61 60 62 61 /*-------------------------------------------------------------------------+ … … 156 155 | Returns: Nothing. 157 156 +--------------------------------------------------------------------------*/ 158 void157 static void 159 158 timerOff(const rtems_raw_irq_connect_data* used) 160 159 { … … 170 169 171 170 172 void timerOn(const rtems_raw_irq_connect_data* used) 171 static void 172 timerOn(const rtems_raw_irq_connect_data* used) 173 173 { 174 174 /* load timer for US_PER_ISR microsecond period */ … … 182 182 } 183 183 184 static int 185 timerIsOn(const rtems_raw_irq_connect_data *used) 186 { 187 return pc386_irq_enabled_at_i8259s(used->idtIndex - PC386_IRQ_VECTOR_BASE);} 188 184 189 static rtems_raw_irq_connect_data timer_raw_irq_data = { 185 190 PC_386_PERIODIC_TIMER + PC386_IRQ_VECTOR_BASE, … … 187 192 timerOn, 188 193 timerOff, 189 clockIsOn194 timerIsOn 190 195 }; 191 196 -
c/src/lib/libbsp/i386/pc386/wrapup/Makefile.in
r06fa582 r2d7d605 9 9 PROJECT_ROOT = @PROJECT_ROOT@ 10 10 11 BSP_PIECES=startup clock console timer pc386dev network 11 # We only build the Network library if HAS_KA9Q was defined 12 NETWORK_yes_V = network 13 NETWORK = $(NETWORK_$(HAS_KA9Q)_V) 14 15 BSP_PIECES=startup clock console timer pc386dev $(NETWORK) 12 16 GENERIC_PIECES= 13 17 … … 53 57 54 58 59 -
c/src/lib/libbsp/i386/shared/io/bspIo.h
r06fa582 r2d7d605 23 23 */ 24 24 typedef void (*BSP_output_char_function_type) (char c); 25 typedef char (*BSP_polling_getchar_function_type) ( char c);25 typedef char (*BSP_polling_getchar_function_type) (void); 26 26 27 27 extern BSP_output_char_function_type BSP_output_char; 28 28 extern BSP_polling_getchar_function_type BSP_poll_char; 29 extern void BSP_emergency_output_init( );29 extern void BSP_emergency_output_init(void); 30 30 /* 31 31 * All the function declared as extern after this comment -
c/src/lib/libbsp/i386/shared/irq/irq_asm.s
r06fa582 r2d7d605 22 22 23 23 /*PAGE 24 * void _ new_ISR_Displatch()24 * void _New_ISR_Displatch() 25 25 * 26 26 * Entry point from the outermost interrupt service routine exit. … … 28 28 */ 29 29 30 PUBLIC (_ new_ISR_Displatch)30 PUBLIC (_New_ISR_Displatch) 31 31 SYM (_New_ISR_Displatch): 32 32 -
configure
r06fa582 r2d7d605 2744 2744 #include <sys/sem.h> 2745 2745 int main () { 2746 #if !defined(sun) 2747 union semun arg ;2746 #if !defined(sun) 2747 union semun arg ; 2748 2748 #else 2749 2749 union semun { … … 2763 2763 2764 2764 EOF 2765 if { (eval echo configure:27 58: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null2765 if { (eval echo configure:2766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 2766 2766 then 2767 2767 rtems_cv_sysv_sem="yes" … … 2786 2786 2787 2787 echo $ac_n "checking whether $RTEMS_HOST supports System V shared memory""... $ac_c" 1>&6 2788 echo "configure:278 1: checking whether $RTEMS_HOST supports System V shared memory" >&52788 echo "configure:2789: checking whether $RTEMS_HOST supports System V shared memory" >&5 2789 2789 if eval "test \"`echo '$''{'rtems_cv_sysv_shm'+set}'`\" = set"; then 2790 2790 echo $ac_n "(cached) $ac_c" 1>&6 … … 2795 2795 else 2796 2796 cat > conftest.$ac_ext <<EOF 2797 #line 279 0"configure"2797 #line 2798 "configure" 2798 2798 #include "confdefs.h" 2799 2799 … … 2811 2811 2812 2812 EOF 2813 if { (eval echo configure:28 06: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null2813 if { (eval echo configure:2814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 2814 2814 then 2815 2815 rtems_cv_sysv_shm="yes" … … 2834 2834 2835 2835 echo $ac_n "checking whether $RTEMS_HOST supports System V messages""... $ac_c" 1>&6 2836 echo "configure:28 29: checking whether $RTEMS_HOST supports System V messages" >&52836 echo "configure:2837: checking whether $RTEMS_HOST supports System V messages" >&5 2837 2837 if eval "test \"`echo '$''{'rtems_cv_sysv_msg'+set}'`\" = set"; then 2838 2838 echo $ac_n "(cached) $ac_c" 1>&6 … … 2843 2843 else 2844 2844 cat > conftest.$ac_ext <<EOF 2845 #line 28 38"configure"2845 #line 2846 "configure" 2846 2846 #include "confdefs.h" 2847 2847 … … 2859 2859 2860 2860 EOF 2861 if { (eval echo configure:28 54: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null2861 if { (eval echo configure:2862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 2862 2862 then 2863 2863 rtems_cv_sysv_msg="yes" … … 2884 2884 2885 2885 echo $ac_n "checking for Makefile.in in c/src/exec/score/tools/$target_cpu""... $ac_c" 1>&6 2886 echo "configure:28 79: checking for Makefile.in in c/src/exec/score/tools/$target_cpu" >&52886 echo "configure:2887: checking for Makefile.in in c/src/exec/score/tools/$target_cpu" >&5 2887 2887 if test -d $srcdir/c/src/exec/score/tools/$target_cpu; then 2888 2888 rtems_av_save_dir=`pwd`; … … 2899 2899 2900 2900 echo $ac_n "checking for Makefile.in in c/src/exec/rtems""... $ac_c" 1>&6 2901 echo "configure:2 894: checking for Makefile.in in c/src/exec/rtems" >&52901 echo "configure:2902: checking for Makefile.in in c/src/exec/rtems" >&5 2902 2902 if test -d $srcdir/c/src/exec/rtems; then 2903 2903 rtems_av_save_dir=`pwd`; … … 2914 2914 2915 2915 echo $ac_n "checking for Makefile.in in c/src/exec/sapi""... $ac_c" 1>&6 2916 echo "configure:29 09: checking for Makefile.in in c/src/exec/sapi" >&52916 echo "configure:2917: checking for Makefile.in in c/src/exec/sapi" >&5 2917 2917 if test -d $srcdir/c/src/exec/sapi; then 2918 2918 rtems_av_save_dir=`pwd`; … … 2931 2931 2932 2932 echo $ac_n "checking for Makefile.in in c/src/exec/posix""... $ac_c" 1>&6 2933 echo "configure:29 26: checking for Makefile.in in c/src/exec/posix" >&52933 echo "configure:2934: checking for Makefile.in in c/src/exec/posix" >&5 2934 2934 if test -d $srcdir/c/src/exec/posix; then 2935 2935 rtems_av_save_dir=`pwd`; … … 2953 2953 if test -z "$rtems_bsp"; then 2954 2954 echo $ac_n "checking for bsps""... $ac_c" 1>&6 2955 echo "configure:29 48: checking for bsps" >&52955 echo "configure:2956: checking for bsps" >&5 2956 2956 files=`ls $srcdir/c/src/lib/libbsp/$target_cpu` 2957 2957 for file in $files; do … … 3018 3018 3019 3019 echo $ac_n "checking for Makefile.in in c/src/lib/libbsp/$bspcpudir$bspdir""... $ac_c" 1>&6 3020 echo "configure:30 13: checking for Makefile.in in c/src/lib/libbsp/$bspcpudir$bspdir" >&53020 echo "configure:3021: checking for Makefile.in in c/src/lib/libbsp/$bspcpudir$bspdir" >&5 3021 3021 if test -d $srcdir/c/src/lib/libbsp/$bspcpudir$bspdir; then 3022 3022 rtems_av_save_dir=`pwd`; … … 3033 3033 3034 3034 echo $ac_n "checking for Makefile.in in c/src/lib/libbsp/${bspcpudir}shared""... $ac_c" 1>&6 3035 echo "configure:30 28: checking for Makefile.in in c/src/lib/libbsp/${bspcpudir}shared" >&53035 echo "configure:3036: checking for Makefile.in in c/src/lib/libbsp/${bspcpudir}shared" >&5 3036 3036 if test -d $srcdir/c/src/lib/libbsp/${bspcpudir}shared; then 3037 3037 rtems_av_save_dir=`pwd`; … … 3056 3056 3057 3057 echo $ac_n "checking for Makefile.in in c/src/lib/libcpu/$target_cpu""... $ac_c" 1>&6 3058 echo "configure:305 1: checking for Makefile.in in c/src/lib/libcpu/$target_cpu" >&53058 echo "configure:3059: checking for Makefile.in in c/src/lib/libcpu/$target_cpu" >&5 3059 3059 if test -d $srcdir/c/src/lib/libcpu/$target_cpu; then 3060 3060 rtems_av_save_dir=`pwd`; … … 3073 3073 3074 3074 echo $ac_n "checking for Makefile.in in c/src/lib/start/$target_cpu""... $ac_c" 1>&6 3075 echo "configure:30 68: checking for Makefile.in in c/src/lib/start/$target_cpu" >&53075 echo "configure:3076: checking for Makefile.in in c/src/lib/start/$target_cpu" >&5 3076 3076 if test -d $srcdir/c/src/lib/start/$target_cpu; then 3077 3077 rtems_av_save_dir=`pwd`; … … 3115 3115 # If the tests are enabled, then find all the test suite Makefiles 3116 3116 echo $ac_n "checking if the test suites are enabled? ""... $ac_c" 1>&6 3117 echo "configure:311 0: checking if the test suites are enabled? " >&53117 echo "configure:3118: checking if the test suites are enabled? " >&5 3118 3118 tests_enabled=yes 3119 3119 # Check whether --enable-tests or --disable-tests was given. … … 3134 3134 3135 3135 echo $ac_n "checking for Makefile.in in c/src/tests/tools/$target_cpu""... $ac_c" 1>&6 3136 echo "configure:31 29: checking for Makefile.in in c/src/tests/tools/$target_cpu" >&53136 echo "configure:3137: checking for Makefile.in in c/src/tests/tools/$target_cpu" >&5 3137 3137 if test -d $srcdir/c/src/tests/tools/$target_cpu; then 3138 3138 rtems_av_save_dir=`pwd`; … … 3151 3151 3152 3152 echo $ac_n "checking for Makefile.in in c/src/tests/libtests""... $ac_c" 1>&6 3153 echo "configure:31 46: checking for Makefile.in in c/src/tests/libtests" >&53153 echo "configure:3154: checking for Makefile.in in c/src/tests/libtests" >&5 3154 3154 if test -d $srcdir/c/src/tests/libtests; then 3155 3155 rtems_av_save_dir=`pwd`; … … 3166 3166 3167 3167 echo $ac_n "checking for Makefile.in in c/src/tests/sptests""... $ac_c" 1>&6 3168 echo "configure:316 1: checking for Makefile.in in c/src/tests/sptests" >&53168 echo "configure:3169: checking for Makefile.in in c/src/tests/sptests" >&5 3169 3169 if test -d $srcdir/c/src/tests/sptests; then 3170 3170 rtems_av_save_dir=`pwd`; … … 3181 3181 3182 3182 echo $ac_n "checking for Makefile.in in c/src/tests/tmtests""... $ac_c" 1>&6 3183 echo "configure:31 76: checking for Makefile.in in c/src/tests/tmtests" >&53183 echo "configure:3184: checking for Makefile.in in c/src/tests/tmtests" >&5 3184 3184 if test -d $srcdir/c/src/tests/tmtests; then 3185 3185 rtems_av_save_dir=`pwd`; … … 3196 3196 3197 3197 echo $ac_n "checking for Makefile.in in c/src/tests/mptests""... $ac_c" 1>&6 3198 echo "configure:319 1: checking for Makefile.in in c/src/tests/mptests" >&53198 echo "configure:3199: checking for Makefile.in in c/src/tests/mptests" >&5 3199 3199 if test -d $srcdir/c/src/tests/mptests; then 3200 3200 rtems_av_save_dir=`pwd`; … … 3212 3212 3213 3213 echo $ac_n "checking for Makefile.in in c/src/tests/psxtests""... $ac_c" 1>&6 3214 echo "configure:32 07: checking for Makefile.in in c/src/tests/psxtests" >&53214 echo "configure:3215: checking for Makefile.in in c/src/tests/psxtests" >&5 3215 3215 if test -d $srcdir/c/src/tests/psxtests; then 3216 3216 rtems_av_save_dir=`pwd`; … … 3230 3230 # If the HWAPI is enabled, the find the HWAPI Makefiles 3231 3231 echo $ac_n "checking if the HWAPI is enabled? ""... $ac_c" 1>&6 3232 echo "configure:32 25: checking if the HWAPI is enabled? " >&53232 echo "configure:3233: checking if the HWAPI is enabled? " >&5 3233 3233 # Check whether --enable-hwapi or --disable-hwapi was given. 3234 3234 if test "${enable_hwapi+set}" = set; then … … 3241 3241 3242 3242 echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/analog""... $ac_c" 1>&6 3243 echo "configure:32 36: checking for Makefile.in in c/src/lib/libhwapi/analog" >&53243 echo "configure:3244: checking for Makefile.in in c/src/lib/libhwapi/analog" >&5 3244 3244 if test -d $srcdir/c/src/lib/libhwapi/analog; then 3245 3245 rtems_av_save_dir=`pwd`; … … 3256 3256 3257 3257 echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/discrete""... $ac_c" 1>&6 3258 echo "configure:325 1: checking for Makefile.in in c/src/lib/libhwapi/discrete" >&53258 echo "configure:3259: checking for Makefile.in in c/src/lib/libhwapi/discrete" >&5 3259 3259 if test -d $srcdir/c/src/lib/libhwapi/discrete; then 3260 3260 rtems_av_save_dir=`pwd`; … … 3271 3271 3272 3272 echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/drivers""... $ac_c" 1>&6 3273 echo "configure:32 66: checking for Makefile.in in c/src/lib/libhwapi/drivers" >&53273 echo "configure:3274: checking for Makefile.in in c/src/lib/libhwapi/drivers" >&5 3274 3274 if test -d $srcdir/c/src/lib/libhwapi/drivers; then 3275 3275 rtems_av_save_dir=`pwd`; … … 3286 3286 3287 3287 echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/non_volatile_memory""... $ac_c" 1>&6 3288 echo "configure:328 1: checking for Makefile.in in c/src/lib/libhwapi/non_volatile_memory" >&53288 echo "configure:3289: checking for Makefile.in in c/src/lib/libhwapi/non_volatile_memory" >&5 3289 3289 if test -d $srcdir/c/src/lib/libhwapi/non_volatile_memory; then 3290 3290 rtems_av_save_dir=`pwd`; … … 3301 3301 3302 3302 echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/serial""... $ac_c" 1>&6 3303 echo "configure:3 296: checking for Makefile.in in c/src/lib/libhwapi/serial" >&53303 echo "configure:3304: checking for Makefile.in in c/src/lib/libhwapi/serial" >&5 3304 3304 if test -d $srcdir/c/src/lib/libhwapi/serial; then 3305 3305 rtems_av_save_dir=`pwd`; … … 3316 3316 3317 3317 echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/support""... $ac_c" 1>&6 3318 echo "configure:331 1: checking for Makefile.in in c/src/lib/libhwapi/support" >&53318 echo "configure:3319: checking for Makefile.in in c/src/lib/libhwapi/support" >&5 3319 3319 if test -d $srcdir/c/src/lib/libhwapi/support; then 3320 3320 rtems_av_save_dir=`pwd`; … … 3331 3331 3332 3332 echo $ac_n "checking for Makefile.in in c/src/lib/libhwapi/wrapup""... $ac_c" 1>&6 3333 echo "configure:33 26: checking for Makefile.in in c/src/lib/libhwapi/wrapup" >&53333 echo "configure:3334: checking for Makefile.in in c/src/lib/libhwapi/wrapup" >&5 3334 3334 if test -d $srcdir/c/src/lib/libhwapi/wrapup; then 3335 3335 rtems_av_save_dir=`pwd`; … … 3376 3376 3377 3377 echo $ac_n "checking for Makefile.in in c/build-tools""... $ac_c" 1>&6 3378 echo "configure:337 1: checking for Makefile.in in c/build-tools" >&53378 echo "configure:3379: checking for Makefile.in in c/build-tools" >&5 3379 3379 if test -d $srcdir/c/build-tools; then 3380 3380 rtems_av_save_dir=`pwd`; … … 3391 3391 3392 3392 echo $ac_n "checking for Makefile.in in make""... $ac_c" 1>&6 3393 echo "configure:33 86: checking for Makefile.in in make" >&53393 echo "configure:3394: checking for Makefile.in in make" >&5 3394 3394 if test -d $srcdir/make; then 3395 3395 rtems_av_save_dir=`pwd`; … … 3406 3406 3407 3407 echo $ac_n "checking for Makefile.in in c/src/lib/libmisc""... $ac_c" 1>&6 3408 echo "configure:340 1: checking for Makefile.in in c/src/lib/libmisc" >&53408 echo "configure:3409: checking for Makefile.in in c/src/lib/libmisc" >&5 3409 3409 if test -d $srcdir/c/src/lib/libmisc; then 3410 3410 rtems_av_save_dir=`pwd`; … … 3421 3421 3422 3422 echo $ac_n "checking for Makefile.in in c/src/tests/samples""... $ac_c" 1>&6 3423 echo "configure:34 16: checking for Makefile.in in c/src/tests/samples" >&53423 echo "configure:3424: checking for Makefile.in in c/src/tests/samples" >&5 3424 3424 if test -d $srcdir/c/src/tests/samples; then 3425 3425 rtems_av_save_dir=`pwd`; -
make/custom/pc386.cfg
r06fa582 r2d7d605 59 59 60 60 START16FILE=$(PROJECT_RELEASE)/lib/start16.bin 61 #START16ADDR=0x00097C00 62 #HEADERADDR=0x00097E00 63 # this may not be right but it accounts for a change in the .s file size. 64 START16ADDR=0x00097A00 61 START16ADDR=0x00097C00 65 62 HEADERADDR=0x00097E00 66 63 … … 109 106 110 107 # Miscellaneous additions go here 111 112 113
Note: See TracChangeset
for help on using the changeset viewer.