summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKATO Takenori <kato@FreeBSD.org>2000-03-29 13:45:40 +0000
committerKATO Takenori <kato@FreeBSD.org>2000-03-29 13:45:40 +0000
commit61b64fdb1e47c164d2e306564542411c823d83e8 (patch)
treec32880a0019d96ef076dbc91ce0fb3f77c7aadb2
parentaf5d822f287c57fcfa9d72e34af172715b9f1ba4 (diff)
Notes
-rw-r--r--sys/amd64/amd64/locore.S3
-rw-r--r--sys/amd64/amd64/locore.s3
-rw-r--r--sys/i386/i386/locore.s3
3 files changed, 9 insertions, 0 deletions
diff --git a/sys/amd64/amd64/locore.S b/sys/amd64/amd64/locore.S
index ae2a665caf39..bfbcad8b411a 100644
--- a/sys/amd64/amd64/locore.S
+++ b/sys/amd64/amd64/locore.S
@@ -277,6 +277,9 @@ NON_GPROF_ENTRY(btext)
shrl $17,%eax
movb %al,R(_pc98_system_parameter)+1
3:
+
+ movw R(_pc98_system_parameter+0x86),%ax
+ movw %ax,R(_cpu_id)
#endif
call identify_cpu
diff --git a/sys/amd64/amd64/locore.s b/sys/amd64/amd64/locore.s
index ae2a665caf39..bfbcad8b411a 100644
--- a/sys/amd64/amd64/locore.s
+++ b/sys/amd64/amd64/locore.s
@@ -277,6 +277,9 @@ NON_GPROF_ENTRY(btext)
shrl $17,%eax
movb %al,R(_pc98_system_parameter)+1
3:
+
+ movw R(_pc98_system_parameter+0x86),%ax
+ movw %ax,R(_cpu_id)
#endif
call identify_cpu
diff --git a/sys/i386/i386/locore.s b/sys/i386/i386/locore.s
index ae2a665caf39..bfbcad8b411a 100644
--- a/sys/i386/i386/locore.s
+++ b/sys/i386/i386/locore.s
@@ -277,6 +277,9 @@ NON_GPROF_ENTRY(btext)
shrl $17,%eax
movb %al,R(_pc98_system_parameter)+1
3:
+
+ movw R(_pc98_system_parameter+0x86),%ax
+ movw %ax,R(_cpu_id)
#endif
call identify_cpu