Axel Dörfler
d92e4b19e4
Completely removed the buggy, inflexible, and incomplete new_hash_table
...
implementation.
Some cleanups of the other code.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2112 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-29 08:30:20 +00:00
beveloper
0010bfc64f
the new_hash_table code has a larger number of problems
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2108 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-28 17:34:55 +00:00
beveloper
428f0ce25c
last cleanup of pool code before rewriting it
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2106 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-28 15:05:58 +00:00
beveloper
9c2992c73b
fixed debug function
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2105 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-28 14:41:06 +00:00
beveloper
9eb6ed8082
disable interrupt check when in a panic() context
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2104 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-28 14:11:08 +00:00
beveloper
3b70f94330
added a magic value to check clobbering of the free list
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2103 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-28 14:10:20 +00:00
beveloper
7991b1a031
added a lot of debugging functions that should help fixing bugs
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2099 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-28 02:25:04 +00:00
Michael Phipps
42ff0425a7
Fixed more bugs; simpleTest now seems to work correctly.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2075 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-24 05:12:50 +00:00
Michael Phipps
cc22bcb449
Fixed some bugs. Yet another checkpoint.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2074 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-24 04:16:06 +00:00
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