Commit Graph

9891 Commits

Author SHA1 Message Date
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
7f7f792a0e address compiler warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10086 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-21 06:04:59 +00:00
shatty
2ea5445386 comment out unused kPrinterData
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10085 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-21 06:01:26 +00:00
shatty
cfbb37030e address compiler warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10084 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-21 05:53:41 +00:00
shatty
a27166de67 address compiler warning
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10083 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-21 05:52:18 +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
3d81352cd8 address compiler warning
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10081 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-21 05:37:52 +00:00
shatty
613b4e1131 address compiler warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10080 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-21 05:25:16 +00:00
shatty
7c069d221a address compiler warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10079 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-21 05:09:18 +00:00
shatty
a056136c4c address compiler warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10078 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-21 04:08:38 +00:00
shatty
a8992af5b4 stub Debug.h functions including possibly-working flag debug flag functions
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10077 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-21 03:48:22 +00:00
shatty
fa96039f9c address compiler warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10076 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-21 03:43: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
adde77da57 suppress "mem_list leaks" messages when the number of objects is zero
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10074 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-21 02:01:39 +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
beveloper
1a1da94839 removed ChunkCache.h from shared private include files
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10072 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-21 00:11:39 +00:00
Axel Dörfler
90d1241219 sys_setenv() and sys_getenv() are not only at the wrong place (that sort of
stuff belongs to userland), they are completely broken, too.
As a quick hack, they no longer disable interrupts, so that the env memory
can be accessed almost safely (in case its valid memory at all).
Please don't fix this, but remove those functions from the kernel.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10071 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-21 00:01:59 +00:00
Axel Dörfler
7377137f87 Fixed a bug in the debugger "thread" command when it was called with no
arguments (which should have taken the dumped thread).
Improved "thread" debug output to have all data values at the same column.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10070 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-20 23:58:57 +00:00
shatty
515b8e939e add shared private headers so that intel.cpp will compile
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10069 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-20 23:56:26 +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
2815fe6622 help the test find KPath-related files
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10067 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-20 23:40:08 +00:00
shatty
bf2b3d9cf7 add UsePrivateHeaders kernel ; so syscalls.h can be found
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10066 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-20 23:36:34 +00:00
Axel Dörfler
50686c7a7f putenv() was broken and actually cut off one character of the variable name.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10065 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-20 23:33:59 +00:00
shatty
0972cb42b8 comment out experimental ichaudio directory
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10064 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-20 23:28:45 +00:00
shatty
a3a80c27cc change vm_address_space to struct vm_address_space
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10063 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-20 23:25:37 +00:00
Axel Dörfler
8210771d09 Oops, exec_team() should rename the team as well.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10062 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-20 22:31:28 +00:00
Axel Dörfler
77a6e0beb6 exec_team() now renames its main thread to the new program name.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10061 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-20 22:05:50 +00:00
Axel Dörfler
4f952f6c3a pipefs_create() didn't call Inode::Open(), and since the read/write counters
were messed up because of that, most shell pipe access didn't actually work
(thinks like "cat x | grep y", or "a=`uname -m`) - they now do.
Added more debug output.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10060 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-20 21:51:01 +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
Ingo Weinhold
4d5737d0b8 Filter the CVS dir.
BTW, I find this whole thing somehow misplaced and ugly, but I have no
good idea how to do that with Jam.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10058 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-19 23:01:47 +00:00
Axel Dörfler
50f99a085e Now properly allocates the kernel stacks of the other CPUs.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10057 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-19 22:04:12 +00:00
Axel Dörfler
0641ddaabc Now uses the KERNEL_STACK_SIZE constant to allocate the idle thread kernel stacks.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10056 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-19 21:56:45 +00:00
Axel Dörfler
672ba60193 Removed unnecessary reference to ktypes.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10055 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-19 21:56:02 +00:00
Axel Dörfler
d621b8a482 Now uses the shutdown() function instead of reboot() directly. Maybe this
must be changed again to arch_cpu_shutdown(), since it might not be safe
to properly shutdown from the kernel debugger.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10054 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-19 21:55:12 +00:00
Axel Dörfler
fb02804a89 Big update while moving over completely to the Haiku kernel:
- Ported over BFS to the new cache API
- Inode no longer inherits from CachedBlock, and therefore, no longer
  keeps the whole inode block in memory. It now has a copy of the bfs_inode
  structure in memory instead. This has a number of advantages but also some
  disadvantages, so it might be reverted later, even if it's unlikely.
- Added a NodeGetter class that can be used whenever the real block needs
  to be accessed (ie. for attributes)
- Changed *transaction to &transaction where possible
- Removed support for KEEP_WRONG_DIRENT_RECLEN
- Removed support for uncached file access since that's no longer needed
- Fixed some endian issues in bfs_write_stat()
- Removed the install BFS rules, since they don't make any sense anymore
  (unless you are running Haiku ;-))

Note, logged streams are not supported anymore right now. Also, the
transaction code is pretty simple and slow - it will be improved later
on. Attribute code is pretty much untested in the new environment.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10053 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-19 20:53:45 +00:00
Axel Dörfler
04c79aa160 Removed KEEP_WRONG_DIRENT_RECLEN support.
Fixed endian issue.
Changed due to new inode code.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10052 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-19 20:30:48 +00:00
Axel Dörfler
8f60d4cdba Removed dumb put BeOS compatible cache implementation - it's not needed anymore.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10051 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-19 20:29:17 +00:00
Axel Dörfler
fe58583daa Now defines BFS_NATIVE_ENDIAN if BFS is compiled only for native endians.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10050 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-19 20:27:14 +00:00
Axel Dörfler
9351856593 Removed support for the Metrowerks compiler; it's not needed under Haiku (the
R5 compatible version still has this support).
Added a missing const to block_run::IsZero().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10049 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-19 20:26:23 +00:00
Axel Dörfler
10b8d84f32 Added empty file_cache_sync().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10048 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-19 20:24:27 +00:00
Axel Dörfler
86c3e70cd9 Some changes to the transaction API: the prefix is now only cache_*().
Added API for sub transactions (not yet implemented).
Added file_cache_sync() function.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10047 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-19 20:23:58 +00:00
Axel Dörfler
583565f02a Added unistd/sync.c to the kernel.
Removed unneeded source grist.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10046 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-19 20:19:53 +00:00
Axel Dörfler
5987043c75 Added new shutdown() function that at least does a sync() before rebooting
the system. Should shutdown all other things, too.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10045 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-19 20:18:27 +00:00
Axel Dörfler
fc5fb64131 Implemented arch_cpu_shutdown().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10044 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-19 20:16:52 +00:00
Axel Dörfler
4cf2317767 Replaced reboot() by arch_cpu_shutdown().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10043 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-19 20:16:20 +00:00
Axel Dörfler
3780fc858b Now uses new shutdown() function instead of reboot() directly.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10042 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-19 20:15:13 +00:00
Axel Dörfler
7b380c5b9f Added a comment why debugging kernel stacks doesn't work like one would expect.
Added prototype for new shutdown() function.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10041 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-19 20:13:58 +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
Axel Dörfler
b4727c735c Added the "date" command to the image.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10039 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-19 19:49:40 +00:00