ident
This commit is contained in:
		
							parent
							
								
									33db90156a
								
							
						
					
					
						commit
						76f3b6e6b9
					
				
					 3 changed files with 14 additions and 13 deletions
				
			
		|  | @ -31,19 +31,19 @@ VARIABLE(grub_linux_trampoline_start) | |||
| base:	 | ||||
| 	pop %rsi | ||||
| 	 | ||||
| 	lea (cont1-base)(%rsi, 1), %rax | ||||
| 	mov %eax, (jump_vector-base)(%rsi,1) | ||||
| 	lea (cont1 - base) (%rsi, 1), %rax | ||||
| 	mov %eax, (jump_vector - base) (%rsi, 1) | ||||
| 
 | ||||
| 	lea (gdt-base)(%rsi, 1), %rax | ||||
| 	mov %rax, (gdtaddr-base)(%rsi,1) | ||||
| 	lea (gdt - base) (%rsi, 1), %rax | ||||
| 	mov %rax, (gdtaddr - base) (%rsi, 1) | ||||
| 	 | ||||
| 	/* Switch to compatibility mode. */ | ||||
| 
 | ||||
| 	lidt (idtdesc-base)(%rsi,1) | ||||
| 	lgdt (gdtdesc-base)(%rsi,1) | ||||
| 	lidt (idtdesc - base) (%rsi, 1) | ||||
| 	lgdt (gdtdesc - base) (%rsi, 1) | ||||
| 	 | ||||
| 	/* Update %cs. Thanks to David Miller for pointing this mistake out. */ | ||||
| 	ljmp *(jump_vector-base)(%rsi,1) | ||||
| 	ljmp *(jump_vector - base) (%rsi, 1) | ||||
| cont1: | ||||
| 	.code32 | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue