Ignore:
Timestamp:
Sep 18, 2008, 5:34:49 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
9f74843
Parents:
a714cb4
Message:

2008-09-18 Joel Sherrill <joel.sherrill@…>

  • include/bsp.h: Remove unnecessary variables and EXTERN magic.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/i386/i386ex/include/bsp.h

    ra714cb4 r67ed2a8  
    5656#define RAM_END   0x100000
    5757
    58 /* I/O addressing */
    59 
    60 /*
    61  *#define Is_tx_ready( _status ) ( (_status) & 0x20 )
    62  */
    63 /* dec 20. try the TE instead of TBE as the check */
    64 
    65 #define Is_tx_ready( _status ) ( (_status) & 0x40 )
    66 
    67 #define Is_rx_ready( _status ) ( (_status) & 0x01 )
    68 
    69 /* Structures */
    70 
    71 #ifdef F386_INIT
    72 #undef BSP_EXTERN
    73 #define BSP_EXTERN
    74 #else
    75 #undef BSP_EXTERN
    76 #define BSP_EXTERN extern
    77 #endif
    78 
    7958#define IDT_SIZE 256
    8059#define GDT_SIZE 8192
    8160
    8261extern interrupt_gate_descriptor Interrupt_descriptor_table[IDT_SIZE];
    83 extern segment_descriptors Global_descriptor_table   [GDT_SIZE];
    84 
    85 BSP_EXTERN unsigned short Idt[3];  /* Interrupt Descriptor Table Address */
    86 BSP_EXTERN unsigned short Gdt[3];  /* Global Descriptor Table Address */
    87 BSP_EXTERN unsigned int   Idt_base;
    88 BSP_EXTERN unsigned int   Gdt_base;
    89 
    90 /* routines */
    9162
    9263#ifdef __cplusplus
Note: See TracChangeset for help on using the changeset viewer.