[coreboot] alix1c and v3

ron minnich rminnich at gmail.com
Tue Jan 29 08:05:36 CET 2008

here's an interesting bug in
		/* Dump zeros in the other segment registers */
		"	mov	%ax, %es       	\n"
		"	mov	%ax, %fs       	\n"
		"	mov	%ax, %gs       	\n"
		"	mov	$0x40, %ax	\n"<----------------------WHAT?
		"	mov	%ax, %ds	\n"
		"	mov	%cx, %ax	\n"

Why did somebody move 0x40 to the ds? That's not even a valid gdt selector?

Anybody know why this was done?


More information about the coreboot mailing list