diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-05-06 15:32:04 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-05-06 15:32:04 +0200 |
commit | 7b392afb14358649173437fe435859ce7887cba6 (patch) | |
tree | 2d3c09cb4b62ebc3c48f0b0d4690cb3caf7852b9 /i386/i386at | |
parent | fdd1b1900e48c852fc89144bf574b6831b305bea (diff) | |
download | gnumach-7b392afb14358649173437fe435859ce7887cba6.tar.gz gnumach-7b392afb14358649173437fe435859ce7887cba6.tar.bz2 gnumach-7b392afb14358649173437fe435859ce7887cba6.zip |
x86_64: Add CPU_TYPE_X86_64 CPU type
Diffstat (limited to 'i386/i386at')
-rw-r--r-- | i386/i386at/model_dep.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/i386/i386at/model_dep.c b/i386/i386at/model_dep.c index f40a6169..491915da 100644 --- a/i386/i386at/model_dep.c +++ b/i386/i386at/model_dep.c @@ -549,6 +549,9 @@ void c_boot_entry(vm_offset_t bi) machine_slot[0].is_cpu = TRUE; machine_slot[0].cpu_subtype = CPU_SUBTYPE_AT386; +#ifdef __x86_64__ + machine_slot[0].cpu_type = CPU_TYPE_X86_64; +#else switch (cpu_type) { default: @@ -567,6 +570,7 @@ void c_boot_entry(vm_offset_t bi) machine_slot[0].cpu_type = CPU_TYPE_PENTIUMPRO; break; } +#endif /* * Start the system. |