Changeset f75767b0 in rtems


Ignore:
Timestamp:
Aug 19, 2008, 7:34:12 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.9, master
Children:
14afc13
Parents:
e3a1d425
Message:

2008-08-19 Joel Sherrill <joel.sherrill@…>

  • shared/comm/i386-stub.c, shared/irq/irq_init.c: Fix warnings for prototypes, types, etc.
Location:
c/src/lib/libbsp/i386
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/i386/ChangeLog

    re3a1d425 rf75767b0  
     12008-08-19      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * shared/comm/i386-stub.c, shared/irq/irq_init.c: Fix warnings for
     4        prototypes, types, etc.
     5
    162008-08-18      Ralf Corsépius <ralf.corsepius@rtems.org>
    27
  • c/src/lib/libbsp/i386/shared/comm/i386-stub.c

    re3a1d425 rf75767b0  
    276276 *
    277277 */
    278 extern void _catchException3 ();
     278extern void _catchException3 (void);
    279279asm (".text");
    280280asm (".globl _catchException3");
     
    286286
    287287/* Same thing for exception 1.  */
    288 extern void _catchException1 ();
     288extern void _catchException1 (void);
    289289asm (".text");
    290290asm (".globl _catchException1");
     
    296296
    297297/* Same thing for exception 0.  */
    298 extern void _catchException0 ();
     298extern void _catchException0 (void);
    299299asm (".text");
    300300asm (".globl _catchException0");
     
    306306
    307307/* Same thing for exception 4.  */
    308 extern void _catchException4 ();
     308extern void _catchException4 (void);
    309309asm (".text");
    310310asm (".globl _catchException4");
     
    316316
    317317/* Same thing for exception 5.  */
    318 extern void _catchException5 ();
     318extern void _catchException5 (void);
    319319asm (".text");
    320320asm (".globl _catchException5");
     
    326326
    327327/* Same thing for exception 6.  */
    328 extern void _catchException6 ();
     328extern void _catchException6 (void);
    329329asm (".text");
    330330asm (".globl _catchException6");
     
    336336
    337337/* Same thing for exception 7.  */
    338 extern void _catchException7 ();
     338extern void _catchException7 (void);
    339339asm (".text");
    340340asm (".globl _catchException7");
     
    346346
    347347/* Same thing for exception 8.  */
    348 extern void _catchException8 ();
     348extern void _catchException8 (void);
    349349asm (".text");
    350350asm (".globl _catchException8");
     
    357357
    358358/* Same thing for exception 9.  */
    359 extern void _catchException9 ();
     359extern void _catchException9 (void);
    360360asm (".text");
    361361asm (".globl _catchException9");
     
    367367
    368368/* Same thing for exception 10.  */
    369 extern void _catchException10 ();
     369extern void _catchException10 (void);
    370370asm (".text");
    371371asm (".globl _catchException10");
     
    378378
    379379/* Same thing for exception 12.  */
    380 extern void _catchException12 ();
     380extern void _catchException12 (void);
    381381asm (".text");
    382382asm (".globl _catchException12");
     
    389389
    390390/* Same thing for exception 16.  */
    391 extern void _catchException16 ();
     391extern void _catchException16 (void);
    392392asm (".text");
    393393asm (".globl _catchException16");
     
    401401
    402402/* Same thing for exception 13.  */
    403 extern void _catchException13 ();
     403extern void _catchException13 (void);
    404404asm (".text");
    405405asm (".globl _catchException13");
     
    413413
    414414/* Same thing for exception 11.  */
    415 extern void _catchException11 ();
     415extern void _catchException11 (void);
    416416asm (".text");
    417417asm (".globl _catchException11");
     
    425425
    426426/* Same thing for exception 14.  */
    427 extern void _catchException14 ();
     427extern void _catchException14 (void);
    428428asm (".text");
    429429asm (".globl _catchException14");
     
    440440 * stack pointer into an area reserved for debugger use.
    441441 */
     442extern void remcomHandler (void);
    442443asm ("_remcomHandler:");
    443444asm ("           popl %eax");   /* pop off return address     */
     
    931932set_debug_traps (void)
    932933{
    933   extern void remcomHandler ();
    934 
    935934  stackPtr = &remcomStack[STACKSIZE / sizeof (int) - 1];
    936935
  • c/src/lib/libbsp/i386/shared/irq/irq_init.c

    re3a1d425 rf75767b0  
    4141 */
    4242extern void default_raw_idt_handler(void);
    43 /*
    44  * default on/off function
    45  */
    46 static void nop_func(void){}
    47 /*
    48  * default isOn function
    49  */
    50 static int not_connected(void) {return 0;}
    5143
    5244static rtems_raw_irq_connect_data       idtHdl[IDT_SIZE];
     
    7769
    7870static rtems_raw_irq_connect_data       defaultRawIrq = {
    79   /* vectorIdex,         hdl                          , on      , off           , isOn */
    80   0,                    default_raw_idt_handler ,nop_func       , nop_func,     not_connected
     71  /* vectorIdex, hdl                     , on   , off , isOn */
     72  0,             default_raw_idt_handler ,NULL  , NULL, NULL
    8173};
    8274
    8375static rtems_irq_connect_data           defaultIrq = {
    84   /* vectorIdex,         hdl            , handle        , on            , off           , isOn */
    85   0,                     nop_func       , 0             , nop_func      , nop_func      , not_connected
     76  /* vectorIdex, hdl    , handle, on,   off, isOn */
     77  0,             NULL   , 0     , NULL, NULL, NULL
    8678};
    8779
Note: See TracChangeset for help on using the changeset viewer.