9front - general discussion about 9front
 help / color / mirror / Atom feed
* realemu cpuid
@ 2012-06-24  4:43 Anthony Martin
  2012-06-24  5:31 ` cinap_lenrek
  0 siblings, 1 reply; 2+ messages in thread
From: Anthony Martin @ 2012-06-24  4:43 UTC (permalink / raw)
  To: 9front

# HG changeset patch
# User Anthony Martin <ality@pbrane.org>
# Date 1340512597 25200
# Node ID 3dc502e420d83ec1e8e3ea8f9bbd5456f54efdac
# Parent  0122c3847ae02d0a524dc96f28d72b274a380b3a
realemu: fix cpuid vendor id

ECX and EDX were incorrectly swapped.

Ref: http://wiki.osdev.org/CPUID

diff -r 0122c3847ae0 -r 3dc502e420d8 sys/src/cmd/aux/realemu/xec.c
--- a/sys/src/cmd/aux/realemu/xec.c	Sun Jun 24 05:35:46 2012 +0200
+++ b/sys/src/cmd/aux/realemu/xec.c	Sat Jun 23 21:36:37 2012 -0700
@@ -932,9 +932,9 @@
 	} tab[] = {
 		0,
 			5,
-			0x756e6547,
-			0x49656e69,
-			0x6c65746e,
+			0x756e6547, /* Genu */
+			0x6c65746e, /* ntel */
+			0x49656e69, /* ineI */
 		1,
 			4<<8,
 			0x00000000,


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: realemu cpuid
  2012-06-24  4:43 realemu cpuid Anthony Martin
@ 2012-06-24  5:31 ` cinap_lenrek
  0 siblings, 0 replies; 2+ messages in thread
From: cinap_lenrek @ 2012-06-24  5:31 UTC (permalink / raw)
  To: 9front

thanks man!

commited: http://code.google.com/p/plan9front/source/detail?r=9b321c385d74123205791025d11f62652b8eaa4b

--
cinap

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-06-24  5:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-24  4:43 realemu cpuid Anthony Martin
2012-06-24  5:31 ` cinap_lenrek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).