966 Commits

Author SHA1 Message Date
Axel Dörfler
4e0e3bf35d Some cosmetics. The string for unknown types no longer tries to print
unprintable characters, but replaces them with '.'; when there is more
than one unprintable character in the type code, it will show the hexcode
instead.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10367 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-07 16:10:03 +00:00
Axel Dörfler
8a9c92207f Minor fix: the return value of BNode::GetAttrInfo() was not checked.
Now understands a lot more types than before.
Accepts "--help" and "-h" on the command line to print out usage info.
Prints out how many bytes the attributes add up to.
Instead of printing out the hex value, the attribute type is now
printed as %c%c%c%c 4-character tupel.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10363 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-07 02:31:03 +00:00
Nathan Whitehorn
69d6550b12 Fixed the spam filter so it works correctly now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10362 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-07 01:14:05 +00:00
Axel Dörfler
7c012c2316 Accidently used level 2 cache format to print out level 1 instruction cache
on AMD and other CPUs - thanks to BiPolar for reporting this!


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10354 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-03 08:25:34 +00:00
Jérôme Duval
7335fda5b4 Everyone should have read chgrp instead of chgroup :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10342 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-01 17:37:05 +00:00
Jérôme Duval
08f17bb51b Everyone should have read chown instead of chmod :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10341 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-01 17:31:06 +00:00
Axel Dörfler
097fa44066 Now also prints out power management information for AMD CPUs if present.
For Intel CPUs, the cache code 0x40 is now handled manually, as it changes
its meaning depending on the cpu type.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10333 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-01 07:29:12 +00:00
Axel Dörfler
1ec6a65f39 No longer prints out the extended processor signature on Intel CPUs as
it's only reserved but not defined or used for those.
If you have a stupid BIOS, the name string might not have been set; this
is now supported, and the standard vendor string is used in that case.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10332 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-01 07:00:50 +00:00
Axel Dörfler
2e507eba4a Factored out printing the processor signature.
The processor signature now correctly handles the extended family/model fields.
The cpuid 0x80000001 field is actually the same as cpuid_info::eax_1, so
dumping it now behaves in the same way, too.
Added printing of Transmeta specific features.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10331 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-01 06:35:05 +00:00
Axel Dörfler
b99d92939a Fixed some minor bugs that made it into the last version; for example
the 0x80000001 generation/model/stepping was displayed incorrectly.
Only the new features in cpuid 0x80000001 are printed, added support for
No-Execute ("NX") and Long Mode ("64").
Improved non-Intel TLB display, added page sizes, 2nd level cache is now
also displayed correctly (unlike the BeOS version which has a wrong
associativity).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10330 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-01 06:12:38 +00:00
Axel Dörfler
78ba30ed0e sysinfo needs private/shared headers.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10329 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-01 04:50:06 +00:00
Axel Dörfler
f0e5f76de9 Almost rewrote sysinfo: it will now print out more information, and that
information is also visually more appealing.
It now also uses the private/shared/cpu_type.h header to get the CPU string.
Determining the availability of the extended cpuid info was broken - whoever
had problems with the previous "change_extended = 1" should test again, thanks.
Cleaned up.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10322 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-01 03:51:38 +00:00
Axel Dörfler
d86cadcdb3 Is now using the CPU string identification from private/shared/cpu_type.h.
Adapted to match our style guide better.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10320 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-01 03:43:08 +00:00
shatty
2506bbb6f3 utilize SELECT_UNAME_ETC_LIB
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10283 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-29 00:19:29 +00:00
Axel Dörfler
5aa1fee8f3 Renamed _kern_set_tzspecs() to _kern_set_timezone().
Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10255 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-26 15:07:11 +00:00
Axel Dörfler
9b9e67a199 Ported over safemode to our kernel.
_kern_get_safemode_option() just returns the driver_settings parameter
string, so it has to be evaluated by the caller.
Also, "safemode" returns 1 if safemode is enabled.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10236 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-25 18:34:45 +00:00
Axel Dörfler
a5cceb23c2 Ported over to our own private API - it's now functional under the Haiku kernel.
Improved argument parsing code - you no longer have to specify each option separately.
Improved time parsing for the "-d" option: it's now possible to add a unit to the
time value ("m" or "s"), and you don't have to add a space anymore (ie. -d5 will
work, too).
Cleaned up the source file to better match our style guide, and look better overall.

Also added a comment about the usefulness of some of the options here - I think
we should remove the alert stuff again; one requester (in Roster) is really enough
for my taste.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10234 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-25 18:04:08 +00:00
Jérôme Duval
d35e7ce4c2 clock is now local by default
timezone is now set even if not rtc time setting is found


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10218 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-24 23:17:34 +00:00
Jérôme Duval
fd575d8737 added a symlink for more
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10210 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-23 17:12:51 +00:00
Jérôme Duval
f92e8b3361 added a clockconfig bin tool
it is only tested on R5, but should make its way on Haiku too


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10178 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 17:26:28 +00:00
shatty
7dda95376c use shared headers
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10159 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 04:43:21 +00:00
shatty
0c1783a5a5 suppress warnings on imported code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10157 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 04:24:04 +00:00
shatty
41c695ceea build resources once, supress warnings for imported code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10156 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 04:17:21 +00:00
shatty
d68a1a0505 supress warnings on imported code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10155 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 04:13:50 +00:00
shatty
41e0a8a89a address compiler warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10154 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 04:11:24 +00:00
shatty
9e17ced40d suppress warnings on imported code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10150 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 03:03:35 +00:00
shatty
a42857f183 suppress warnings in imported code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10147 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 02:47:41 +00:00
shatty
f23d8db821 extract common elements and build once
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10145 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 02:31:59 +00:00
shatty
3a83097201 address compiler warning
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10139 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 01:17:56 +00:00
shatty
4ba4c005d2 suppress warnings for imported code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10138 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 01:15:08 +00:00
shatty
d13f0c7543 address compiler warning
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10137 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 01:03:18 +00:00
shatty
a14ccd825e address compiler warning
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10123 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-21 18:29:56 +00:00
Waldemar Kornewald
7b79abd0ec Forgot to commit some files.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10114 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-21 12:47:40 +00:00
Waldemar Kornewald
9c15eafc5d Work in progress. Untested.
All ppp_up instances are now maintained by KPPPManager.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10113 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-21 12:46:41 +00:00
shatty
0e2d20ebd5 address compiler warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10108 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-21 09:39:51 +00:00
shatty
e6744e874c compile resources only once for all tar binaries
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10107 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-21 09:38:02 +00:00
shatty
ca49cc71de compile resources only once for all zip binaries
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10106 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-21 09:36:49 +00:00
shatty
10d5543e45 compile resources only once for all sharutils
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10105 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-21 09:35:31 +00:00
shatty
0404c382dd compile resources only once for all diffutils
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10104 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-21 09:33:55 +00:00
shatty
dc9449db67 extract common elements and build only once
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10090 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-21 07:12:08 +00:00
shatty
da1c6d63b3 compile findutils.rdef only once for locate commands
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10089 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-21 06:53:00 +00:00
shatty
f1879a08cf compile rcs.rdef only once for all
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10088 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-21 06:30:48 +00:00
shatty
29cf12d1ff compile coreutils.rdef only once for all
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10087 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-21 06:27:20 +00:00
shatty
ea93578e72 address compiler warning
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10082 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-21 05:47:15 +00:00
shatty
3d994e7550 link to NETWORK_LIBS for setsockopt
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10075 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-21 02:17:51 +00:00
shatty
ae185b834d add $(NETWORK_LIBS) for uname/select
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10073 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-21 00:25:38 +00:00
shatty
73d6ba7558 remove ObjectList.h from bemail in favor of equivalent version in private shared headers
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10068 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-20 23:49:35 +00:00
shatty
6040be9931 use NETWORK_LIBS for linking, define BUILDING_R5_LIBNET if necessary
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10059 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-20 21:10:54 +00:00
shatty
787b9abf8a we have mktime (in libroot.so), so do not include the missing mktime, which defines an extraneous main function when DEBUG is defined
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10040 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-19 19:59:07 +00:00
Jérôme Duval
4105e5170e Added zic and zdump from ftp://elsie.nci.nih.gov/pub/tzcode2004g.tar.gz
Used to compile timezone source files


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10038 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-19 19:46:05 +00:00