History log of /haiku/src/bin/sysinfo.cpp
Revision Date Author Comments
# 7c2c355f 10-Sep-2020 Jérôme Duval <jerome.duval@gmail.com>

kernel: add frequency in cpu_info

use this in sysinfo.

Change-Id: I270ef1ab18c27c4804cb0cca2cb5088a17162636
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3214
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>


# 357b9d3c 05-Sep-2020 Jérôme Duval <jerome.duval@gmail.com>

x86: identify Hygon vendor

it's a Zen-based CPU: rely on AMD support code.

Change-Id: Ia980a42457575bf8d1130d813310a285bf137691
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3217
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>


# 5ffbe7d7 30-Mar-2019 Augustin Cavalier <waddlesplash@gmail.com>

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.


# 3987287d 04-Jan-2019 Rob Gill <rrobgill@protonmail.com>

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 <pulkomandy@pulkomandy.tk>


# 85f64f90 23-Feb-2017 Alexander von Gluck IV <kallisti5@unixzen.com>

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


# 4f357bc0 11-Jan-2014 Alexander von Gluck IV <kallisti5@unixzen.com>

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


# 1bc7045f 15-Dec-2013 Pawel Dziepak <pdziepak@quarnos.org>

kernel, libroot: Introduce new API for obtaining system info


# d1a2f637 10-Jul-2013 Alex Smith <alex@alex-smith.me.uk>

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).


# 8bf3802f 14-Apr-2013 David Höppner <0xffea@gmail.com>

Fix #9671: sysinfo misses some extended features


# f1cbaf5c 06-Sep-2012 Axel Dörfler <axeld@pinc-software.de>

Fixed warnings, 80 character line limit.


# 533f3bb4 30-Jul-2012 Alex Smith <alex@alex-smith.me.uk>

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.


# 1f5facdb 28-Apr-2012 Jerome Duval <jerome.duval@gmail.com>

sysinfo: switch to c++


# 4f357bc0713d4344e344a04013485821d1d739e1 11-Jan-2014 Alexander von Gluck IV <kallisti5@unixzen.com>

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


# 1bc7045fdfb85e6151d01c73669be19627c4783b 15-Dec-2013 Pawel Dziepak <pdziepak@quarnos.org>

kernel, libroot: Introduce new API for obtaining system info


# d1a2f6371a3223da24a34eba800c365d21805780 10-Jul-2013 Alex Smith <alex@alex-smith.me.uk>

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).


# 8bf3802f53296fcb6384f17cec35a592b9a5f2ac 14-Apr-2013 David Höppner <0xffea@gmail.com>

Fix #9671: sysinfo misses some extended features


# f1cbaf5c8f437787b74e36dfcc24adedde3a5ccc 06-Sep-2012 Axel Dörfler <axeld@pinc-software.de>

Fixed warnings, 80 character line limit.


# 533f3bb494fc873564146561b6b954168021c6d1 30-Jul-2012 Alex Smith <alex@alex-smith.me.uk>

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.


# 1f5facdbe7e25dc9618ec413eda01adf82d763f2 28-Apr-2012 Jerome Duval <jerome.duval@gmail.com>

sysinfo: switch to c++