#
00377c99 |
|
04-May-2023 |
David Karoly <karolyd577@gmail.com> |
libroot/uname: remove unused architectures alpha, mips, sh4 Change-Id: I38b273d8d7c16a34552cc4aaed7d54b7026d590c Reviewed-on: https://review.haiku-os.org/c/haiku/+/6410 Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk> Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
|
#
2b9f3f29 |
|
04-May-2023 |
David Karoly <karolyd577@gmail.com> |
libroot/uname: fix uname for arm Change-Id: I2538c3f00307ccf9c71dd602eae383136f81cd3f Reviewed-on: https://review.haiku-os.org/c/haiku/+/6409 Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
|
#
b126a077 |
|
06-Jun-2021 |
X512 <danger_mail@list.ru> |
libroot/uname: add riscv64 support Change-Id: I1753be9d79d6527f6a9b3cceb644b5cd19d8f67e Reviewed-on: https://review.haiku-os.org/c/haiku/+/4070 Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
|
#
ae2cdda7 |
|
28-Jul-2014 |
François Revol <revol@free.fr> |
Fix type mismatch warnings
|
#
3501a97d |
|
28-Jul-2014 |
François Revol <revol@free.fr> |
Add cases for uname() for all known platforms After what QEMU linux-user says about those. Not sure what to do for ARM. I used the lowest emulated CPU in QEMU.
|
#
2692aea5 |
|
26-Jul-2014 |
François Revol <revol@free.fr> |
Fix "unhandled case in switch" warning
|
#
1bc7045f |
|
15-Dec-2013 |
Pawel Dziepak <pdziepak@quarnos.org> |
kernel, libroot: Introduce new API for obtaining system info
|
#
9a5503d0 |
|
01-Aug-2012 |
Alex Smith <alex@alex-smith.me.uk> |
Different uname machine type for x86_64. * Added B_64_BIT_PC_PLATFORM platform type. * Return "x86_64" as the machine type for that platform in uname.
|
#
e453c0f4 |
|
28-Jul-2012 |
Alex Smith <alex@alex-smith.me.uk> |
64-bit printf warning fixes in libroot.
|
#
ae901935 |
|
24-Nov-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
Introduce __set_errno() throughout libroot. * add errno_private.h, which defines the __set_errno() macro with and without tracing * instead of setting errno manually, all libroot's code now invokes __set_errno(), which makes it much easier to trace changes to errno * redirect glibc's use of __set_errno() to our own version
|
#
22a7fe96 |
|
15-May-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
Cleanup system-revision stuff. * move system_revision.h to headers/private/libroot * unify libroot's get_system_revision() (the one I introduced recently) with kernel's get_haiku_revision(), the function is now called get_haiku_revision() in the kernel and __get_haiku_revision() in libroot * system_revision.c is now being built as part of libroot and as part of the kernel * adjusted all callers of get_system_revision() accordingly git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41516 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a961bbc6 |
|
13-May-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
* move sHaikuRevision from uname.c into new system_revision.c * add private function get_system_revision() for accessing the revision string * adjust uname to use get_system_revision git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41479 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
af2da315 |
|
10-May-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
Fix the larger problem that was hiding behind the build problem of set_haiku_revsion on FreeBSD: * the length of the sHaikuRevision character array symbol needs to be set explicitly, as using either _SYS_NAMELEN or sizeof(utsname::version) will only return the values for the host, which may not match ours, thus potentially causing problems when using sHaikuRevision * add headers/private/system_revision.h which defines SYSTEM_REVISION_LENGTH to 128 * adjust definitions of sHaikuRevision in libroot and kernel accordingly utsname::version is shorter than SYSTEM_REVISION_LENGTH, but that doesn't cause any harm until we have indeed switched to a DVCS (in which case longer revision strings will be cut off by 'uname'). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41421 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6250297a |
|
08-May-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
Switch haiku-revision from uint32 to string, as that's going to be required soon, no matter if we switch to Git or Mercurial * increase _SYS_NAMELEN defined in sys/utsname.h to 128 to allow long(ish) revisions * sHaikuRevision is now a static character array (in both libroot and kernel) * adjust build tool set_haiku_revision to write the revision as string git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41389 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6030b585 |
|
08-Oct-2007 |
Axel Dörfler <axeld@pinc-software.de> |
* Implemented gethostname() and sethostname(). * uname() now calls gethostname() instead of using a hard-coded value. * This fixes bug #1250. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22492 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2cddddac |
|
07-Feb-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Made _gHaikuRevision static and renamed it to sHaikuRevision. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20093 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a4e0c1d4 |
|
06-Feb-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* We do now have a special "_haiku_revision" section in our libroot, containing the Haiku SVN revision number which is used by uname(). The value is 0 when built, but updated by the build system before copying libroot to the image (new rule CopySetHaikuRevision). * For AboutHaiku we no longer write the SVN revision number into a resource. Instead we use the uname() info. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20082 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
70296213 |
|
30-Jan-2007 |
Philippe Houdoin <philippe.houdoin@gmail.com> |
Added forgotten space between kernel build date and time. Also prepare uname to return the build SVN revision number, which will work only if I could figure out how to define it from Jamfile. Or, better, in build/jam/BuildSetup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20023 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
13d77a4c |
|
09-Aug-2005 |
Axel Dörfler <axeld@pinc-software.de> |
Now fills in the machine field with something more appropriate (currently mimics BeOS behaviour). Maybe we want to have some different values here later on. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13926 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5af32e75 |
|
13-Apr-2005 |
Axel Dörfler <axeld@pinc-software.de> |
Renamed src/kernel to src/system. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12359 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ae2cdda73621bfd3fc5a73f60a49514d00bbffa4 |
|
28-Jul-2014 |
François Revol <revol@free.fr> |
Fix type mismatch warnings
|
#
3501a97d9b90267aed0b9800ba1188b7b4a2692a |
|
28-Jul-2014 |
François Revol <revol@free.fr> |
Add cases for uname() for all known platforms After what QEMU linux-user says about those. Not sure what to do for ARM. I used the lowest emulated CPU in QEMU.
|
#
2692aea5768ffd2f8dfc484d4137a49183d376aa |
|
26-Jul-2014 |
François Revol <revol@free.fr> |
Fix "unhandled case in switch" warning
|
#
1bc7045fdfb85e6151d01c73669be19627c4783b |
|
15-Dec-2013 |
Pawel Dziepak <pdziepak@quarnos.org> |
kernel, libroot: Introduce new API for obtaining system info
|
#
9a5503d01c41c7afc680c30256fba28700fc8b60 |
|
01-Aug-2012 |
Alex Smith <alex@alex-smith.me.uk> |
Different uname machine type for x86_64. * Added B_64_BIT_PC_PLATFORM platform type. * Return "x86_64" as the machine type for that platform in uname.
|
#
e453c0f4a7d0014d73e9b499aa1fe813dc64c084 |
|
28-Jul-2012 |
Alex Smith <alex@alex-smith.me.uk> |
64-bit printf warning fixes in libroot.
|
#
ae9019359606f1db67632ef51a77ce70001d3770 |
|
24-Nov-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
Introduce __set_errno() throughout libroot. * add errno_private.h, which defines the __set_errno() macro with and without tracing * instead of setting errno manually, all libroot's code now invokes __set_errno(), which makes it much easier to trace changes to errno * redirect glibc's use of __set_errno() to our own version
|
#
22a7fe9695a6685994f516857f10a3e0efaf15c7 |
|
15-May-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
Cleanup system-revision stuff. * move system_revision.h to headers/private/libroot * unify libroot's get_system_revision() (the one I introduced recently) with kernel's get_haiku_revision(), the function is now called get_haiku_revision() in the kernel and __get_haiku_revision() in libroot * system_revision.c is now being built as part of libroot and as part of the kernel * adjusted all callers of get_system_revision() accordingly git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41516 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a961bbc69d31992603ce124b79deee71b7a0b8d9 |
|
13-May-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
* move sHaikuRevision from uname.c into new system_revision.c * add private function get_system_revision() for accessing the revision string * adjust uname to use get_system_revision git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41479 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
af2da315dc9a699849a86a5c6f3b2ddb79632e83 |
|
10-May-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
Fix the larger problem that was hiding behind the build problem of set_haiku_revsion on FreeBSD: * the length of the sHaikuRevision character array symbol needs to be set explicitly, as using either _SYS_NAMELEN or sizeof(utsname::version) will only return the values for the host, which may not match ours, thus potentially causing problems when using sHaikuRevision * add headers/private/system_revision.h which defines SYSTEM_REVISION_LENGTH to 128 * adjust definitions of sHaikuRevision in libroot and kernel accordingly utsname::version is shorter than SYSTEM_REVISION_LENGTH, but that doesn't cause any harm until we have indeed switched to a DVCS (in which case longer revision strings will be cut off by 'uname'). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41421 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6250297a0862f935bdd9e1770bb7dde9cdab2e3f |
|
08-May-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
Switch haiku-revision from uint32 to string, as that's going to be required soon, no matter if we switch to Git or Mercurial * increase _SYS_NAMELEN defined in sys/utsname.h to 128 to allow long(ish) revisions * sHaikuRevision is now a static character array (in both libroot and kernel) * adjust build tool set_haiku_revision to write the revision as string git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41389 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6030b585aaa31b1b3ef2527b830223d48da9c99c |
|
08-Oct-2007 |
Axel Dörfler <axeld@pinc-software.de> |
* Implemented gethostname() and sethostname(). * uname() now calls gethostname() instead of using a hard-coded value. * This fixes bug #1250. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22492 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2cddddacbae14b0696c9fce8c317a3bfcfcc9fb4 |
|
07-Feb-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Made _gHaikuRevision static and renamed it to sHaikuRevision. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20093 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a4e0c1d43dab6a1cc681a55e0430ef4aa3d7eaa8 |
|
06-Feb-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* We do now have a special "_haiku_revision" section in our libroot, containing the Haiku SVN revision number which is used by uname(). The value is 0 when built, but updated by the build system before copying libroot to the image (new rule CopySetHaikuRevision). * For AboutHaiku we no longer write the SVN revision number into a resource. Instead we use the uname() info. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20082 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
7029621374308533a679c6f2545120d5a6760936 |
|
30-Jan-2007 |
Philippe Houdoin <philippe.houdoin@gmail.com> |
Added forgotten space between kernel build date and time. Also prepare uname to return the build SVN revision number, which will work only if I could figure out how to define it from Jamfile. Or, better, in build/jam/BuildSetup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20023 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
13d77a4cde44adbc3e707af2125cfc51c099480d |
|
09-Aug-2005 |
Axel Dörfler <axeld@pinc-software.de> |
Now fills in the machine field with something more appropriate (currently mimics BeOS behaviour). Maybe we want to have some different values here later on. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13926 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5af32e752606778be5dd7379f319fe43cb3f6b8c |
|
13-Apr-2005 |
Axel Dörfler <axeld@pinc-software.de> |
Renamed src/kernel to src/system. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12359 a95241bf-73f2-0310-859d-f6bbb57e9c96
|