Revision dc61b0dc pc-bios/optionrom/linuxboot.S

b/pc-bios/optionrom/linuxboot.S
102 102
	mov		$1, %eax
103 103
	mov		%eax, %cr0
104 104

  
105
	/* So we can set DS to a 32-bit segment */
105
	/* So we can set ES to a 32-bit segment */
106 106
	mov		$0x10, %eax
107
	mov		%eax, %ds
107
	mov		%eax, %es
108 108

  
109
	/* We're now running in 16-bit CS, but 32-bit DS! */
109
	/* We're now running in 16-bit CS, but 32-bit ES! */
110 110

  
111 111
	/* Load kernel and initrd */
112 112
	read_fw_blob(FW_CFG_KERNEL)
......
118 118
	mov		$0, %eax
119 119
	mov		%eax, %cr0
120 120

  
121
	/* DS = CS */
121
	/* ES = CS */
122 122
	mov		%cs, %ax
123
	mov		%ax, %ds
123
	mov		%ax, %es
124 124

  
125 125
	jmp		boot_kernel
126 126

  

Also available in: Unified diff