PC-98 BIOS copies the DX register into its work area. The value of it

shows `CPUID' and it is useful to identify CPU.  So, it is copied from
BIOS work area to the cpu_id variable (PC-98 only).

Submitted by:	chi@bd.mbn.or.jp (Chiharu Shibata)
This commit is contained in:
KATO Takenori 2000-03-29 13:45:40 +00:00
parent af5d822f28
commit 61b64fdb1e
3 changed files with 9 additions and 0 deletions

View file

@ -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

View file

@ -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

View file

@ -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