Augustin Cavalier
5ffbe7d778
Change all references to "__INTEL__" to "__i386__".
...
They are functionally identical, but the former is a BeOS/Haiku-specfic
macro that we include in the compiler specs, and the latter is defined
by GCC.
2019-03-30 16:54:01 -04:00
Rob Gill
3987287dc6
bin/sysinfo: bugfix & update
...
Fixed bug where incorrect value of ECX passed when determining L2 cache
Updated cache/TLB identification
Updated CPU flags
Change-Id: I086f8bf7f86cba0d65e45450c74ec6e11e6bec2e
Reviewed-on: https://review.haiku-os.org/824
Reviewed-by: Adrien Destugues <[email protected] >
2019-01-04 19:05:49 +00:00
Alexander von Gluck IV
85f64f9049
sysinfo: Refactor CPU feature flag display
...
* Remove duplicated code
* Add new feature flag field introduced with Ryzen
* Add a few missing Intel cache descriptors
* Don't show 80000007 on Intel. Reserved.
* Clean up language to not show "AMD" flags on Intel
2017-02-23 17:47:25 +00:00
Pawel Dziepak
d0f2d8282f
Merge branch 'scheduler'
...
Conflicts:
build/jam/packages/Haiku
headers/os/kernel/OS.h
headers/os/opengl/GLRenderer.h
headers/private/shared/cpu_type.h
src/add-ons/kernel/drivers/power/acpi_battery/acpi_battery.h
src/bin/sysinfo.cpp
src/bin/top.c
src/system/kernel/arch/x86/arch_system_info.cpp
src/system/kernel/port.cpp
2014-01-17 04:06:15 +01:00
Alexander von Gluck IV
4f357bc071
sysinfo: Improve x86 CPU information
...
* Displays standard CPUID, and shows what the
internal CPUID used by OS.h *should* be.
* Should help out in identifying new CPU's
as all end users have to do is run sysinfo
to get the CPU info + value for OS.h
2014-01-11 16:14:22 -06:00
Pawel Dziepak
1bc7045fdf
kernel, libroot: Introduce new API for obtaining system info
2013-12-16 03:58:43 +01:00
Alex Smith
d1a2f6371a
sysinfo: Fixed incorrect memory stats on PAE systems.
...
Memory statistics were calculated as 32-bit values, so they were incorrect
on machines with more than 4GB RAM (and on x86_64).
2013-07-10 14:02:05 +01:00
David Höppner
8bf3802f53
Fix #9671 : sysinfo misses some extended features
2013-04-14 16:23:31 -05:00
Alex Smith
11c9f9a1d6
Merge branch 'master' into x86_64
...
Conflicts:
build/jam/FloppyBootImage
build/jam/OptionalBuildFeatures
build/jam/OptionalPackages
headers/private/shared/cpu_type.h
src/bin/ps.c
src/bin/sysinfo.cpp
src/kits/tracker/PoseView.cpp
src/preferences/appearance/DecorSettingsView.cpp
src/preferences/virtualmemory/Settings.cpp
src/servers/input/AddOnManager.cpp
src/servers/input/InputServer.cpp
src/servers/input/InputServerMethod.cpp
src/system/boot/Jamfile
src/system/boot/platform/raspberrypi_arm/mmu.cpp
src/system/boot/platform/u-boot/arch/arm/Jamfile
src/system/kernel/arch/x86/arch_cpu.cpp
src/system/kernel/arch/x86/arch_thread.cpp
src/system/kernel/cache/block_cache.cpp
src/system/kernel/vm/VMAnonymousCache.cpp
2012-11-18 14:02:07 +00:00
Axel Dörfler
f1cbaf5c8f
Fixed warnings, 80 character line limit.
2012-09-06 22:09:42 +02:00
Alex Smith
533f3bb494
Support x86_64 in sysinfo.
...
Just changed all #ifdef __INTEL__ to __INTEL__ || __x86_64__, and
fixed all the printf format strings. The CPU detection code all
works the same.
2012-07-30 21:34:05 +01:00
Jerome Duval
1f5facdbe7
sysinfo: switch to c++
2012-04-28 09:59:52 +02:00