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/ts_386ex/include/bsp.h

    ra714cb4 r67ed2a8  
    9898#define RAM_END   0x200000
    9999
    100 /* I/O addressing */
    101 
    102 /*
    103  *#define Is_tx_ready( _status ) ( (_status) & 0x20 )
    104  */
    105 /* dec 20. try the TE instead of TBE as the check */
    106 
    107 #define Is_tx_ready( _status ) ( (_status) & 0x40 )
    108 
    109 #define Is_rx_ready( _status ) ( (_status) & 0x01 )
    110 
    111100/* Structures */
    112 
    113 #ifdef F386_INIT
    114 #undef BSP_EXTERN
    115 #define BSP_EXTERN
    116 #else
    117 #undef BSP_EXTERN
    118 #define BSP_EXTERN extern
    119 #endif
    120101
    121102#define IDT_SIZE 256
     
    123104
    124105extern interrupt_gate_descriptor Interrupt_descriptor_table[IDT_SIZE];
    125 extern segment_descriptors Global_descriptor_table   [GDT_SIZE];
    126 
    127 BSP_EXTERN unsigned short Idt[3];  /* Interrupt Descriptor Table Address */
    128 BSP_EXTERN unsigned short Gdt[3];  /* Global Descriptor Table Address */
    129 BSP_EXTERN unsigned int   Idt_base;
    130 BSP_EXTERN unsigned int   Gdt_base;
    131 
    132 /* routines */
    133106
    134107#ifdef __cplusplus
Note: See TracChangeset for help on using the changeset viewer.