beveloper
d8dd74308e
Optimized (yes, we shouldn't do it now) to consume less power on P4,
...
and to have better performance on Hyper Threading systems. Should be
backward compatible with all x86 systems, according to Intel documentation.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2068 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-23 17:43:36 +00:00
Axel Dörfler
fe8ba34097
Removed raise.o from the kernel posix lib, because find_thread() is currently
...
missing there.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2033 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-20 02:15:29 +00:00
Daniel Reinhold
ca60e89ab7
replaced syscall with find_thread(NULL) to obtain current thread id
...
currently, find_thread(NULL) also uses a syscall, but in the future,
this will be implemented as an efficient inline lookup in calling
thread's local storage
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2017 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-19 20:57:55 +00:00
beveloper
d55c9bd082
moved queue initialization into int_init2()
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2016 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-19 11:53:41 +00:00
Daniel Reinhold
89feafabe5
fixed call to thread_get_current_thread_id()
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2014 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-19 06:44:51 +00:00
Daniel Reinhold
690fa06644
restored SYSCALL_GET_CURRENT_THREAD_ID -- my mistake, it was fine as it was
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2013 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-19 05:51:13 +00:00
Michael Phipps
bc6600175c
Mega changes. Using hash tables.
...
Many bug fixes
Some formatting changes.
Introduction of vnodeManager - to allow cached, opened and mmapped files to
work together in love, peace and harmony.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2012 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-19 04:05:16 +00:00
Daniel Reinhold
d3aaf99b1e
ok, the second time's a charm
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2007 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-18 07:47:53 +00:00
Daniel Reinhold
88a621e159
call to raise() un-commented now that raise() is implemented
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2006 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-18 07:45:26 +00:00
Daniel Reinhold
e8b75a376a
sigset stuff added to the build
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2005 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-18 07:36:22 +00:00
Daniel Reinhold
f30083eaa8
initial checkin
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2004 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-18 07:35:55 +00:00
Daniel Reinhold
eb64dfc217
more functions added to the build
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2001 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-18 02:39:44 +00:00
Daniel Reinhold
ae130fe5c1
another one
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2000 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-18 02:33:38 +00:00
Daniel Reinhold
7f04740599
added sigaction()
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1999 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-18 02:29:57 +00:00
Daniel Reinhold
274dff2fe0
added raise() and signal()
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1998 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-18 02:24:28 +00:00
Daniel Reinhold
715f76df9e
added sys_get_current_thread_id() -- for libroot compatibility
...
some minor rearrangement (sys_xxx() calls now placed together)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1997 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-18 02:04:57 +00:00
Daniel Reinhold
898852b6b5
fixed SYSCALL_GET_CURRENT_THREAD_ID (was calling a function that had been removed)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1996 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-18 02:00:38 +00:00
Daniel Reinhold
42bef465fa
added sys_send_signal()
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1995 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-18 01:58:00 +00:00
Daniel Reinhold
68e8d1f65e
libroot/posix/signal is back in the build
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1983 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-18 00:42:48 +00:00
Daniel Reinhold
453532db1c
moved the string table definition to libroot where it belonged
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1982 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-18 00:39:41 +00:00
beveloper
725e25d182
unlock the spinlock
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1979 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-17 13:32:05 +00:00
Daniel Reinhold
03a21dd59a
removed libroot/posix/signal from the build temporarily
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1978 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-17 11:49:35 +00:00
Daniel Reinhold
ead782086a
the beginnings of signal support in libroot
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1977 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-17 05:04:08 +00:00
Daniel Reinhold
062dc34181
the signal string table was fixed to contain proper
...
output strings -- the old debug table is still there,
now renamed 'sigstr[]'
MAX_SIGNO replaces 32 in several spots
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1976 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-17 04:49:14 +00:00
Axel Dörfler
cc4445505e
Fixed some issues in int.c.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1974 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-17 01:59:31 +00:00
Axel Dörfler
d5bb31991f
Checked one of Marcus' comments in int.c, and changed the list initialization
...
to use the newly provided function for this.
module.c now also uses the initque() function, some minor cleanups.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1973 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-17 01:38:35 +00:00
beveloper
b795251564
This code seems to have some issues. Please check.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1971 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-17 00:52:43 +00:00
beveloper
42acb44c35
added a couple of debugging checks into the spinlock functions
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1969 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-17 00:28:32 +00:00
Axel Dörfler
0fe40cc315
Added the time module to the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1960 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-16 17:47:34 +00:00
Axel Dörfler
d3243d719b
Added an empty time() implementation (just returns zero) to let the kernel
...
build again.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1959 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-16 17:43:28 +00:00
Axel Dörfler
6c45733119
The traps of copy & paste - this time it should really work...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1954 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-15 22:52:49 +00:00
Axel Dörfler
90b31eb333
Before starting to implement a function, you should know what to do ;-)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1953 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-15 22:48:14 +00:00
Axel Dörfler
0dd93a6eb7
Implemented utime().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1952 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-15 22:44:08 +00:00
Ingo Weinhold
8a425955c5
The header is now compatible with R5's libroot.so.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1947 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-15 17:37:55 +00:00
Axel Dörfler
2a86e17450
Added a missing "lock" in atomic_set().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1931 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-14 01:05:28 +00:00
Axel Dörfler
cd3ea5f216
vnode_path_to_vnode() now correctly asks for access permissions when traversing
...
the directory tree.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1904 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-11 12:14:19 +00:00
Axel Dörfler
64d41f033f
(Almost) completely rearranged the kernel build; main issues aren't fixed
...
yet, but the jam problem is gone and some bugs fixed.
We are now using merged objects to bind different functionality together,
which simplified the kernel Jamfile a lot.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1841 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-04 19:06:44 +00:00
Axel Dörfler
e729eba84d
Merged several object files together - there are now posix_xxx.o and
...
kernel_posix_xxx.o, where xxx stands for stdio/stdlib/unistd/...
sleep.c and usleep.c no longer reference sys_() calls directly, but
call the OS functions instead (snooze_until(), and system_time()).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1839 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-04 18:49:49 +00:00
Axel Dörfler
66ebd69087
Added select.c to the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1835 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-03 17:39:33 +00:00
Axel Dörfler
02e25990ee
Add poll.c to the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1834 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-03 17:39:10 +00:00
Axel Dörfler
c852811405
Added syscalls for select/poll.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1832 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-03 03:23:50 +00:00
Axel Dörfler
ed622838f5
Moved the select/poll implementation into its own file (vfs_select.c).
...
Fixed some minor a larger issues (one memory corruption due to the use of FD_ZERO()).
notify_select_event() is no longer binary compatible (hasn't been used on R5).
Added syscalls for select/poll in the syscall dispatcher.
Fixed some debug output in fd.c, adapted for the new notify_select_event()
call.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1831 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-03 03:19:34 +00:00
Axel Dörfler
90b544f75f
Forgot to remove the const from the strerror implementation.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1824 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-02 02:52:56 +00:00
Axel Dörfler
b612edb0d7
Added a simple select() and poll() test application - it's not yet added
...
to the build because I still need to look into those build issues...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1812 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-01 03:03:12 +00:00
lillo
2b1e7eaca7
some more small fixes
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1805 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-31 14:32:56 +00:00
lillo
5e7d6a17a0
Enabled the single ordered queue scheduler and made some little fixes
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1804 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-31 13:20:00 +00:00
Axel Dörfler
dbf1da160b
Userland implementations for select(), pselect(), and poll().
...
Not yet added to the build because other stuff is missing, and there is
a problem with jam I have to sort out before I add the missing things.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1781 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-30 02:33:16 +00:00
beveloper
8bcfda04d9
might work better
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1777 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-30 02:10:06 +00:00
Axel Dörfler
41691b996a
Replaced kmalloc(), kfree(), and kstrdup() with the POSIX equivalents.
...
Implemented realloc().
Adapted all other sources, some minor cleanups in some files as well.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1773 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-29 23:07:06 +00:00
Axel Dörfler
4a2e58074d
select_info had the wrong size (uint8 instead of uint16).
...
Corrected POLLNVAL handling.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1750 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-29 05:41:10 +00:00
Axel Dörfler
c4943b79fe
Forget to free the data allocated in common_select(), and common_poll()...
...
Changed the header guard in vfs_select.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1748 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-29 04:21:22 +00:00
Axel Dörfler
1e7eb4c232
Some style cleanups in khash.c - I just realized that we have two different
...
hash implementations in that file... we should really remove one of them.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1747 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-29 04:03:13 +00:00
Axel Dörfler
58ec046735
Added support for select(), and poll().
...
Not yet tested.
Moved the CHECK_USER_ADDRESS() macro from vfs.c to kernel.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1746 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-29 03:54:07 +00:00
Axel Dörfler
88fae79de6
Moved queue functionality out of module.c and into kqueue.h.
...
Changed module.c and int.c to use that one.
Some minor cleanups in module.c.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1744 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-29 03:42:40 +00:00
lillo
f2bc61304f
replaced sys_kill with general thread-aimed sys_send_signal; cleaned up
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1740 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-28 20:38:16 +00:00
lillo
a2117f0bc7
reworked snooze to work in function of the newly added (and kernel exported) snooze_etc. Activated libroot counterpart(s).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1723 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-27 12:06:40 +00:00
Daniel Reinhold
79362df9f7
added macros PI and PI2, and fixed previous (invalid) references to these
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1711 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-27 01:36:45 +00:00
Daniel Reinhold
02f348e2cb
added localeconv to the build
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1706 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 21:46:35 +00:00
Daniel Reinhold
952977a190
initial locale support
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1705 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 21:41:49 +00:00
Daniel Reinhold
4555e63fe4
fixed typo
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1704 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 21:35:26 +00:00
Daniel Reinhold
568244c42e
added strtod() and atof() to the build
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1703 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 21:31:56 +00:00
Daniel Reinhold
21d3063840
initial checkin
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1702 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 21:23:22 +00:00
Daniel Reinhold
0029fd4b09
hmmm... need to learn how to alphabetize ;-)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1701 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 21:16:55 +00:00
Daniel Reinhold
a9a82bf002
added math_globals to libroot/posix/math build
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1700 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 21:11:12 +00:00
Daniel Reinhold
c4b1aad976
updated files to use the new private libroot include directory
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1696 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 20:39:16 +00:00
Daniel Reinhold
5a1e90ba77
defines an internal global variable required for linking
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1695 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 20:38:10 +00:00
beveloper
6652c2eae9
removed some unused headers
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1688 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 19:27:39 +00:00
Daniel Reinhold
1c7200419b
changed to wrappers for strtol(), etc.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1687 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 19:11:18 +00:00
Michael Phipps
3dcf5034e5
Checkpoint - more work done.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1685 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 18:55:44 +00:00
lillo
5cdacbaabb
*LOTS* of small changes to make the kernel compatible with Be's KernelExport.h
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1683 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 16:13:36 +00:00
lillo
343b352fe1
Signals, 2nd pass: syscall restarting now only works on EINTR (removed other exotic retcodes like ERESTARTSYS); signal handlers now receive 3 args, and the vregs struct is used to save the signal context, making the system beos compatible.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1681 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 13:31:22 +00:00
beveloper
06d016b380
renamed thread_entry
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1678 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 12:58:52 +00:00
lillo
8fe70e8212
beos compatibility fixes: exit_thread now issues a signal; wait_for_thread returns B_INTERRUPTED if target thread gets killed
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1674 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 01:11:15 +00:00
Axel Dörfler
a86569deee
There were two positions where I had to change those values. %lld and %Ld
...
should now finally work (thanks to Marcus).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1673 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 00:59:16 +00:00
Axel Dörfler
4d78ef5224
Added %Ld to vfscanf() as well.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1672 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 00:52:17 +00:00
Axel Dörfler
38903f032b
Fixed %Ld handling to be int64 as it is on BeOS.
...
%lld is now int64 as well.
Cleaned up a little bit (removed K&R style prototypes).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1671 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 00:48:50 +00:00
Axel Dörfler
13bbbc9ac4
Add strtod.c to the build (from FreeBSD).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1668 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 00:33:09 +00:00
Axel Dörfler
65ea9e24b5
Accidently removed linkhack.so from the build in the previous commit.
...
Added strto[u]l[l] functions to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1667 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 00:13:27 +00:00
Axel Dörfler
25c7a73eed
Fixed vfscanf() which needed strtoq(), and strtouq().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1666 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 00:10:49 +00:00
Axel Dörfler
deab46426d
Added implementation for strtol(), strtoul(), strtoll(), strtoull() from
...
FreeBSD sources.
Added llabs() (and a newline at the end of the file).
Fixed qsort.c and removed the unneeded FreeBSD header - min() wasn't declared.
Added the string conversion stuff to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1665 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-26 00:09:39 +00:00
Axel Dörfler
a8cd036239
Removed strtoq()/strtouq() from the build (both are deprecated functions, and
...
not available in BeOS, so there is no reason to add them).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1663 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-25 22:45:23 +00:00
lillo
9870ddcea7
kill now sends the signal to the main thread of a process only. To target a specific thread use the new send_signal syscall. Also added set_alarm.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1662 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-25 22:36:08 +00:00
Daniel Reinhold
9a43926970
removed extra declarations now that stdlib.h is fixed
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1660 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-25 19:25:50 +00:00
Daniel Reinhold
4b28d29d28
type fix: replaced a couple of longs with ints (as they should be)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1648 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-25 11:32:38 +00:00
Daniel Reinhold
afaca44046
type fix: replaced int type with proper wchar_t type for several functions (tsk, tsk, tsk)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1647 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-25 11:23:30 +00:00
Daniel Reinhold
3b5b78dee6
type fix: replaced int type with proper wchar_t type for variable passed to mbtowc()
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1646 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-25 11:21:50 +00:00
Daniel Reinhold
4123d76182
bug fix: addr is an unsigned long, not a pointer type
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1645 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-25 11:08:39 +00:00
Daniel Reinhold
bd2251961c
bug fix: pointer indirection error while checking cookie value
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1644 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-25 11:04:11 +00:00
Daniel Reinhold
95574b3621
fixed printf warning
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1643 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-25 10:53:36 +00:00
Daniel Reinhold
cd6a80d8c9
several additions to libroot:
...
added abs.c (abs, labs)
added div.c (div, ldiv)
added abort() to exit.c
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1636 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-24 20:05:09 +00:00
beveloper
9fc7164698
allow building everything without local(tree external) header files beeing
...
used for kernel or kit components
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1630 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-23 20:13:17 +00:00
lillo
f510e6ce60
posix signals support, 1st pass
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1623 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-23 17:31:10 +00:00
Daniel Reinhold
2050c9bb7c
put call to exit() back in, now that it's implemented
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1614 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-23 13:32:07 +00:00
Daniel Reinhold
997a2a4349
added exit() to stdlib
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1611 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-23 07:27:19 +00:00
Daniel Reinhold
87790d71e6
fixed a minor error and some typos
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1593 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-22 11:36:29 +00:00
Daniel Reinhold
4fea1c8ff7
added TLB/Cache information
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1592 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-22 10:56:17 +00:00
Daniel Reinhold
98e3e1ff5d
implemented the get_cpuid() function in libroot and added a new kernel app 'cpuinfo'
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1583 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-20 05:28:35 +00:00
Daniel Reinhold
b52ed331f1
implemented the get_cpuid() function in libroot and added a new kernel app 'cpuinfo'
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1582 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-20 04:04:03 +00:00
Bruno G. Albuquerque
3afbe60d92
Fix a bug reported by BeFree. It looks the PCi stiff works now.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1567 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-17 23:11:00 +00:00
Axel Dörfler
28c9a687e6
Added forgotten os/time.o, stdio/fseek.o, and stdio/rewind.o to the build.
...
Implemented index syscall functions in VFS.
Added fs_index.c to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1566 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-10-17 19:34:09 +00:00