Changeset 71aeab4d in rtems
- Timestamp:
- Jan 31, 2000, 2:45:27 PM (21 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 2fabda6
- Parents:
- 49440a6e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libbsp/i386/pc386/start/start16.S
r49440a6e r71aeab4d 76 76 | Bare PC machines boot in real mode! We have to turn protected mode on. 77 77 +---------------------------------------------------------------------*/ 78 #ifdef NEW_GAS 79 data32 80 addr32 81 #endif 78 82 79 lgdt gdtptr - start16 # load Global Descriptor Table 83 80 movl %cr0, %eax … … 131 128 | longer on slower machines, however, it does not matter because we 132 129 | are going to call this function only a few times 133 130 ! 131 | NOTE: Saving the content of the EAX register just in case. - Rosimildo. 134 132 +----------------------------------------------------------------------------*/ 135 133 .p2align 4 … … 138 136 delay: 139 137 _delay: 140 /* 138 pushl %eax 139 #if defined(USE_OUTB_FOR_DELAY) 141 140 outb %al, $0x80 # about 1uS delay on most machines 142 */ 143 /* 141 142 #else 143 144 144 movl $0x200, %eax 145 145 delay1: 146 146 dec %eax 147 147 jnz delay1 148 */ 148 #endif 149 popl %eax 149 150 ret 150 151
Note: See TracChangeset
for help on using the changeset viewer.