summaryrefslogtreecommitdiff
path: root/sys/amd64/amd64/locore.s
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 /sys/amd64/amd64/locore.s
parentaf5d822f287c57fcfa9d72e34af172715b9f1ba4 (diff)
downloadsrc-test2-61b64fdb1e47c164d2e306564542411c823d83e8.tar.gz
src-test2-61b64fdb1e47c164d2e306564542411c823d83e8.zip
Notes
Diffstat (limited to 'sys/amd64/amd64/locore.s')
-rw-r--r--sys/amd64/amd64/locore.s3
1 files changed, 3 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