142102 Commits

Author SHA1 Message Date
yamt
2958e2dd9c update VNODE_FLAGBITS.
- remove VDIRTY.
- add VFREEING.
- remove leading V from VLOCKSWORK.
2005-12-25 14:48:59 +00:00
uwe
e3ebee56f2 Be consistent about macro indentation.
Indent delay slot instructions.
Whitespace changes only, same binary code produced.
2005-12-25 11:08:35 +00:00
perry
12b4f1c3ae __const__ -> const -- not strictly needed since it is in __attribute__ 2005-12-24 23:44:14 +00:00
perry
f8824a9b43 change comment from __const__ to const 2005-12-24 23:43:17 +00:00
perry
3d4ed1fbc7 __inline__ -> inline 2005-12-24 23:41:33 +00:00
perry
4a2c58419f __asm__ -> __asm 2005-12-24 23:29:06 +00:00
perry
50a256a3a0 __asm__ -> __asm
__const__ -> const
__inline__ -> inline
__volatile__ -> volatile
2005-12-24 23:23:59 +00:00
perry
ce666bb8ce __asm__ -> __asm 2005-12-24 23:10:08 +00:00
perry
971a8b8cc7 __const__ -> const
This is in an __attribute__ so it isn't really necessary, but it gets
it out of the listing of __keyword__s...
2005-12-24 23:04:05 +00:00
perry
00d6acb4b6 bare asm -> __asm 2005-12-24 22:59:39 +00:00
uwe
12ffdb00a2 Implement WARN_REFERENCES. 2005-12-24 22:57:26 +00:00
perry
2d65de2479 bare asm -> __asm 2005-12-24 22:45:33 +00:00
tsutsui
34c8c3e9fe Move some definitions from CFLAGS to CPPFLAGS so that SRT0.S can
include <m68k/asm.h> properly.
2005-12-24 22:22:33 +00:00
tsutsui
8343611e9c Adapt to libkern reorganization. 2005-12-24 22:18:40 +00:00
perry
0db47b5ca1 bare asm -> __asm 2005-12-24 21:51:51 +00:00
perry
f2bc845517 __inline__ -> inline 2005-12-24 21:44:28 +00:00
perry
8a331c8f36 __asm__ -> __asm, __volatile__ -> volatile 2005-12-24 21:43:51 +00:00
perry
d5e310b85d oops. __volatile -> volatile 2005-12-24 21:42:32 +00:00
perry
46359204cf __inline__ -> inline 2005-12-24 21:42:02 +00:00
perry
f05974f443 __asm__ -> __asm, __volatile__ -> __volatile 2005-12-24 21:41:01 +00:00
perry
8b7a2f14e9 __asm__ -> __asm 2005-12-24 21:38:40 +00:00
perry
d030f331fb __inline__ -> inline
__const__ -> const
2005-12-24 21:35:57 +00:00
perry
0be44b35dc Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete. 2005-12-24 21:22:46 +00:00
matt
d5eba984e9 Appease gcc 4.x 2005-12-24 21:14:50 +00:00
perry
4e11af46bc Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete. 2005-12-24 21:11:15 +00:00
uwe
552b373ffa Prettify. 2005-12-24 21:10:28 +00:00
matt
3fff2406b3 Update man pages for new coredump interface. 2005-12-24 21:07:05 +00:00
perry
ae6ae2c362 Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete. 2005-12-24 20:56:41 +00:00
perry
0f0296d88a Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete. 2005-12-24 20:45:08 +00:00
perry
93124077ae Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete. 2005-12-24 20:27:29 +00:00
perry
5f1c88d70d Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete. 2005-12-24 20:06:46 +00:00
perry
a2cd732268 Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete. 2005-12-24 19:12:23 +00:00
perry
e14523e943 Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete. 2005-12-24 19:01:28 +00:00
tsutsui
1b26dc9160 Adapt to transition from libkern to src/common/lib/libc. Tested on 3/80.
XXX: Is it simpler to build standard MI libsa/libkern libraries?
2005-12-24 14:15:47 +00:00
yamt
2b91131918 uao_get: don't mark pages dirty unless it's a write fault. 2005-12-24 13:22:13 +00:00
yamt
9b83ef2c28 bump to 3.99.15 for p_estcpu_inherited. 2005-12-24 13:06:15 +00:00
jmmv
ff68701afc Point to the share/examples/fstab/fstab.ramdisk file for some more information. 2005-12-24 13:02:53 +00:00
jmmv
bb99282370 Merge fstab.tmpfs into fstab.ramdisk so that the file names represent
concepts rather than specific file systems.  Suggested by hubertf@.
2005-12-24 12:59:21 +00:00
yamt
6454c469ea fix a long-standing scheduler problem that p_estcpu is doubled
for each fork-wait cycles.

- updatepri: factor out the code to decay estcpu so that it can be used
  by scheduler_wait_hook.
- scheduler_fork_hook: record how much estcpu is inherited from
  the parent process.
- scheduler_wait_hook: don't add back inherited estcpu to the parent.
2005-12-24 12:57:14 +00:00
jmmv
f37f56be99 Remove a conditional by always using inlined functions in favour of macros.
This way, the code is clearer and there shouldn't be any performance
difference (if the compiler DTRT).  Suggested by chs@.
2005-12-24 12:31:57 +00:00
matt
9abe0ed18f Include <sys/param.h> first to make VAX port happy. 2005-12-24 08:34:10 +00:00
matt
460818ad02 Don't include "DEFS.h" when <machine/asm.h> is enough. 2005-12-24 08:33:32 +00:00
christos
7111987161 Add a cast to l_addr to avoid wrapping. From Johnny Billquist. 2005-12-24 07:37:18 +00:00
rpaulo
fc2fb45bf0 Convert UFS_EXTATTR to struct lwp. 2005-12-23 23:20:00 +00:00
yamt
523e856cba prevent in-core vnode being freed from getting new references.
otherwise, once the corresponding bit in the inode bitmap is cleared,
an unrelated inode with the same inode number can be allocated and
ufs_ihashget() picks a stale in-core vnode for it.

PR/32301 by Matthias Scheler.
2005-12-23 15:31:40 +00:00
yamt
0616e4b566 linkup: reparent() only when lost+found is created successfully. 2005-12-23 12:58:11 +00:00
skrll
ab4f10bcc2 Fix PR 32363 by defining _NOREGNAMES.
Someone should complete the transition.
2005-12-23 10:04:51 +00:00
ginsbach
d357be2474 Fix the build of sgivol as a host tool on a platform without libutil,
e.g. MacOS X.  Identical to method used in the disklabel(8) Makefile.
2005-12-23 03:28:10 +00:00
elad
0c73d40610 Allow last component to be non-existing again. I broke this behavior for
no apparent good reason in revision 1.39.

This is what broke systrace's filename normalization.

Go back to original behavior as in revision 1.35: return resolved name,
but also set errno to ENOENT.
2005-12-22 23:29:23 +00:00
briggs
23dfb2cd67 Add files that have been sitting in my local source tree for almost exactly
two years.  Unable to test since I no longer have access to the hardware.
2005-12-22 16:17:24 +00:00