Changeset ab0df696 in rtems
- Timestamp:
- 08/05/98 15:15:46 (25 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 0e3c0096
- Parents:
- 5094711
- Files:
-
- 4 added
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/exec/score/cpu/i386/asm.h
r5094711 rab0df696 93 93 #define esp REG (esp) 94 94 #define ebp REG (ebp) 95 #define cr0 REG (cr0) 95 96 96 97 #define ax REG (ax) -
c/src/exec/score/tools/hppa1.1/Makefile.in
r5094711 rab0df696 51 51 52 52 all: ${ARCH} $(SRCS) preinstall $(PGMS) 53 $(INSTALL) $(INSTBINFLAGS) ${PGMS} ${PROJECT_RELEASE}/bin54 53 55 54 # Hack 56 55 # we are #including files that haven't been installed yet. 57 56 # Make sure they are available. 58 preinstall: FORCEIT 57 preinstall: ${ARCH} headers $(SRCS) $(PGMS) 58 $(INSTALL) $(INSTBINFLAGS) ${PGMS} ${PROJECT_RELEASE}/bin 59 60 headers: FORCE 59 61 cd $(CPU_DIR); $(MAKE) install-headers 60 62 -
c/src/lib/libbsp/i386/force386/include/bsp.h
r5094711 rab0df696 147 147 extern rtems_configuration_table BSP_Configuration; 148 148 149 extern i386_IDT_slot Interrupt_descriptor_table[ 256 ]; 150 extern i386_GDT_slot Global_descriptor_table[ 8192 ]; 149 #define IDT_SIZE 256 150 #define GDT_SIZE 8192 151 152 extern interrupt_gate_descriptor Interrupt_descriptor_table[IDT_SIZE]; 153 extern segment_descriptors Global_descriptor_table [GDT_SIZE]; 151 154 152 155 BSP_EXTERN unsigned short Idt[3]; /* Interrupt Descriptor Table Address */ -
c/src/lib/libbsp/i386/force386/startup/setvec.c
r5094711 rab0df696 33 33 { 34 34 i386_isr_entry previous_isr; 35 i 386_IDT_slotidt;35 interrupt_gate_descriptor idt; 36 36 37 37 if ( type ) -
c/src/lib/libbsp/i386/i386ex/include/bsp.h
r5094711 rab0df696 117 117 extern rtems_configuration_table BSP_Configuration; 118 118 119 extern i386_IDT_slot Interrupt_descriptor_table[ 256 ]; 120 extern i386_GDT_slot Global_descriptor_table[ 8192 ]; 119 #define IDT_SIZE 256 120 #define GDT_SIZE 8192 121 122 extern interrupt_gate_descriptor Interrupt_descriptor_table[IDT_SIZE]; 123 extern segment_descriptors Global_descriptor_table [GDT_SIZE]; 121 124 122 125 BSP_EXTERN unsigned short Idt[3]; /* Interrupt Descriptor Table Address */ -
c/src/lib/libbsp/i386/i386ex/startup/setvec.c
r5094711 rab0df696 33 33 { 34 34 i386_isr_entry previous_isr; 35 i 386_IDT_slotidt;35 interrupt_gate_descriptor idt; 36 36 37 37 if ( type ) … … 46 46 47 47 /* build the IDT entry */ 48 idt.offset_0_15 = ((rtems_unsigned32) handler) & 0xffff; 49 idt.segment_selector = get_cs(); 50 idt.reserved = 0x00; 51 idt.p_dpl = 0x8e; /* present, ISR */ 52 idt.offset_16_31 = ((rtems_unsigned32) handler) >> 16; 48 create_interrupt_gate_descriptor( &idt, handler ); 53 49 54 50 /* install the IDT entry */ -
c/src/lib/libbsp/i386/pc386/console/console.c
r5094711 rab0df696 233 233 } 234 234 } 235 235 #define DISPLAY_CPU_INFO 236 #ifdef DISPLAY_CPU_INFO 237 printCpuInfo(); 238 #endif 239 236 240 return RTEMS_SUCCESSFUL; 237 241 } /* console_initialize */ -
c/src/lib/libbsp/i386/pc386/start/start.s
r5094711 rab0df696 65 65 EXTERN (_IBMPC_initVideo) 66 66 EXTERN (debugPollingGetChar) 67 EXTERN (checkCPUtypeSetCr0) 68 67 69 68 70 /* … … 88 90 nop 89 91 cli # DISABLE INTERRUPTS!!! 92 cld 90 93 #ifdef DEBUG_EARLY_START 91 cld92 94 /* 93 95 * Must get video attribute to have a working printk. … … 150 152 151 153 /*---------------------------------------------------------------------+ 152 | Initialize the i387. 153 | 154 | Using the NO WAIT form of the instruction insures that if it is not 155 | present the board will not lock up or get an exception. 154 | Check CPU type. Enable Cache and init coprocessor if needed. 156 155 +---------------------------------------------------------------------*/ 157 158 fninit # MUST USE NO-WAIT FORM 159 156 call checkCPUtypeSetCr0 160 157 /*---------------------------------------------------------------------+ 161 158 | Transfer control to User's Board Support Package -
c/src/lib/libbsp/i386/pc386/startup/bspstart.c
r5094711 rab0df696 38 38 #include <libcsupport.h> 39 39 #include <rtems/libio.h> 40 40 #include <libcpu/cpuModel.h> 41 41 42 /*-------------------------------------------------------------------------+ 42 43 | Global Variables … … 59 60 char *rtems_progname; /* Program name - from main(). */ 60 61 62 extern void debugPollingGetChar(); 61 63 62 64 /*-------------------------------------------------------------------------+ … … 131 133 132 134 /* 133 * Init trems_interrupt_management135 * Init rtems_interrupt_management 134 136 */ 135 137 rtems_irq_mngt_init(); -
c/src/lib/libcpu/i386/Makefile.in
r5094711 rab0df696 12 12 13 13 # C source names, if any, go here -- minus the .c 14 C_PIECES=cpu 14 C_PIECES=cpu displayCpu 15 15 C_FILES=$(C_PIECES:%=%.c) 16 16 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o) 17 17 18 H_FILES=$(srcdir)/cpu.h 18 H_FILES=$(srcdir)/cpu.h $(srcdir)/registers.h $(srcdir)/cpuModel.h 19 19 20 20 # Assembly source names, if any, go here -- minus the .s 21 S_PIECES=cpu_asm 21 S_PIECES=cpu_asm cpuModel 22 22 S_FILES=$(S_PIECES:%=%.S) 23 23 S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o) -
c/src/lib/libcpu/i386/cpu.h
r5094711 rab0df696 19 19 */ 20 20 21 #ifndef _i386_CPU_H 22 #define _i386_CPU_H 21 #ifndef _LIBCPU_i386_CPU_H 22 #define _LIBCPU_i386_CPU_H 23 24 #include <libcpu/registers.h> 25 23 26 24 27 #ifndef ASM … … 64 67 ); \ 65 68 \ 66 _level = (_eflags & 0x0200) ? 0 : 1; \69 _level = (_eflags & EFLAGS_INTR_ENABLE) ? 0 : 1; \ 67 70 } while (0) 68 71 -
cpukit/score/cpu/i386/asm.h
r5094711 rab0df696 93 93 #define esp REG (esp) 94 94 #define ebp REG (ebp) 95 #define cr0 REG (cr0) 95 96 96 97 #define ax REG (ax) -
cpukit/score/cpu/i386/rtems/asm.h
r5094711 rab0df696 93 93 #define esp REG (esp) 94 94 #define ebp REG (ebp) 95 #define cr0 REG (cr0) 95 96 96 97 #define ax REG (ax)
Note: See TracChangeset
for help on using the changeset viewer.