lukem
852833fff1
rename and hide: malloc->Malloc, calloc->Calloc, free->Free. (remove realloc)
2001-07-30 07:13:58 +00:00
atatat
49d53cd636
Build a single retry into syslog() so that if someone restarted
...
syslogd after we called openlog(), we don't just to lose until we call
openlog() again. Or get restarted. This is good for long running
processes that use syslog(), like sendmail, postfix, named, etc.
2001-07-30 04:12:33 +00:00
chs
75b9f41751
adjust the hack to build the SRT*.o files.
2001-07-30 00:10:20 +00:00
chs
690a630673
increase the memory disk size, it needs to be bigger with ELF.
2001-07-30 00:09:08 +00:00
chs
29f6bd03da
use pmap_k* for buffer cache pages.
2001-07-29 23:56:33 +00:00
chs
5ad381c2a0
use pmap_k* in pagemove().
2001-07-29 23:51:40 +00:00
wiz
e54efb953b
ANSIfy, some style improvements. Some parts from #13593 by Petri Koistinen.
2001-07-29 22:46:36 +00:00
wiz
aaec222d9c
Some style improvements. [Nearly] #13592 by Petri Koistinen.
2001-07-29 22:40:57 +00:00
wiz
1738245911
ANSIfy, KNF. Parts from #13590 by Petri Koistinen.
2001-07-29 22:36:11 +00:00
wiz
ed54ccdc86
Remove variable name from prototype.
...
Reported by John Heasley on current-users on 29 July 2001.
2001-07-29 22:18:45 +00:00
christos
934898bc32
Adjust to the new copyargs() footprint.
2001-07-29 21:28:45 +00:00
christos
b474b9ac65
carry on the copyargs() and exit1() changes from kern_exec.c
2001-07-29 21:28:20 +00:00
christos
781411d393
adjust to the new copyargs footprint and cleanup debugging.
2001-07-29 21:26:07 +00:00
chs
2df1fdaa53
remove spurious newline in an error message.
2001-07-29 21:24:57 +00:00
christos
f2a8a907b4
simplify an expression.
2001-07-29 21:24:23 +00:00
christos
3e1e7a68e5
adjust to the new copyargs footprint
2001-07-29 21:22:58 +00:00
christos
e2b51c04af
- make copyargs function return the reason it failed and pass a pointer to
...
the stack, so that it can be modified.
- pass the error code in the exit code in addition to aborting.
- kill the second exit1() call; it does not make any sense.
2001-07-29 21:22:42 +00:00
christos
b92cbe7184
now that we know what the traps mean, print their name in debug mode.
2001-07-29 19:31:41 +00:00
christos
d5dfcf76de
a bit more mach glue.
2001-07-29 19:30:56 +00:00
wiz
d2b1c33dc5
Undo last: glob(3) isn't used for _whatdb (yet?).
...
[broke e.g. installation of devel/netcdf]
2001-07-29 15:50:29 +00:00
toshii
9221ef3b13
Make hpcarm kernel build after arm/arm32 file move.
2001-07-29 15:21:33 +00:00
chris
fa4e4d9668
Rework the pmap_release code to not have to walk the ptpt, it now uses a uvm_object to track the allocated vm_pages, this means it can free off the entries in the uvm_object.
...
Testing shows that it's about 5% faster on the make configure step for gmake.
2001-07-29 12:45:27 +00:00
lukem
84fb126399
ansi knf, WARNS=2
2001-07-29 11:15:29 +00:00
lukem
1c37a982fa
enable WARNS=2
2001-07-29 09:59:12 +00:00
lukem
14929f77ab
* add -F option: enable creation of file system in a regular file. a "fake"
...
disklabel is created as per mfs on "swap".
* add -Z option: pre-zero the -F image file before use. this is necessary if
the image is to be used with vnd(4) because by default the files created
with -F have "holes" and vnd doesn't cope with that.
* support 'k', 'm', 'g' suffixes for all options which take numeric arguments.
provide strsuftoi() which performs the parsing mechanism.
* improve man page description of various options
* replace "filesystem" with "file system"
* when displaying usage for mfs, only list mfs options
* minor KNF and WARNS=2 cleanups
2001-07-29 09:55:22 +00:00
chris
89415a32e2
PR 13581
...
Add empty pmap.h and vmparam.h to make userland happier.
2001-07-29 09:50:07 +00:00
chris
af16732a3a
Fix for PR 13580.
...
Make sysarch include sys/stdint.h so it picks up the a definition of uintptr_t.
2001-07-29 08:37:56 +00:00
scw
ddac7c3663
Add mvme68k's memc(4).
2001-07-29 08:02:31 +00:00
itojun
cad488d032
sync gif interface code with latest kame.
...
IFF_RUNNING is clearified. attach/detach logic is more clearner.
the old code mistakenly set IFF_UP by itself, now the behavior is gone.
2001-07-29 05:08:32 +00:00
itojun
c4a687384b
make sure to cleanup software interrupt queues (like ipintrq)
...
on interface detach, otherwise we will have a dangling pointer
from m->m_pkthdr.rcvif.
2001-07-29 03:28:30 +00:00
matt
691dacb39a
This is needed anymore and should have been removed a while ago.
2001-07-29 00:35:41 +00:00
matt
ed87139e40
Remove opt_footbridge from conf.c
...
Use dev/ic/i8253reg.h instead of private timerreg.h
2001-07-29 00:34:44 +00:00
bjh21
21167a9dcd
arm26 uses ELF, so we want to ship the libarm32.so.0 symlink.
2001-07-28 19:46:21 +00:00
bjh21
66d7c21d4f
Ship libarm32 on arm26 as well.
2001-07-28 19:26:37 +00:00
bjh21
db91425281
Obsolete <arm/arm32/sysarch.h>.
2001-07-28 19:22:57 +00:00
bjh21
6b38ee3d62
<arm/arm32/sysarch.h> -> <arm/sysarch.h>
...
Also add <arm26/sysarch.h> on arm26.
2001-07-28 19:21:59 +00:00
bjh21
ad034cbf5b
Build libarm32 on arm26 as well.
2001-07-28 19:17:11 +00:00
bjh21
1ede42fe57
Add <machine/sysarch.h> to go with sysarch().
2001-07-28 19:14:00 +00:00
bjh21
c5ae075e50
Add a very simple sysarch() implementation so that libarm32 will work.
...
This should go when arm26 uses cpufunc like everyone else.
2001-07-28 19:12:50 +00:00
scw
643e9fd833
Add the memc(4) driver.
2001-07-28 18:26:51 +00:00
scw
0fcd8c0e65
Document the memc(4) driver.
2001-07-28 18:25:51 +00:00
chris
9f04d8d670
A couple of tidy ups to pmap:
...
pmap_t -> struct pmap * in pmap.c and pmap.h
kernel_pmap -> pmap_kernel() everywhere.
Compiled and booted on riscpc and cats.
2001-07-28 18:12:43 +00:00
chs
e2de9310c3
fix pmap_extract() to handle unmapped kernel addresses.
2001-07-28 17:18:59 +00:00
chs
f544ed60f2
vm_page_t -> struct vm_page *.
2001-07-28 16:24:13 +00:00
itojun
5145bbe967
document behavior of M_{LEADING,TRAILING}SPACE when mbuf data portion is shared.
...
(NOTE: this is a netbsd-only behavior)
2001-07-28 16:19:12 +00:00
chs
6bc3e72dcd
update uvm_pagealloc() and uvmspace_exec() arguments.
...
add "void" to functions which take no arguments.
untabify flags lists.
2001-07-28 15:55:14 +00:00
chris
17ecd4e41a
Update Makefile.arm32 for the newly moved locore.S and genassym.cf
2001-07-28 15:50:40 +00:00
bjh21
9529e15832
Remove unnecessary uses of Xo.
2001-07-28 15:45:45 +00:00
chs
72580e632a
update uvm.9 links.
2001-07-28 15:35:10 +00:00
chs
54ada2fc86
vm_map_t -> struct vm_map *.
...
add UBC interfaces.
2001-07-28 15:31:29 +00:00