lukem
f3c2d5334e
logpath_add(): store pointer to strdup(3)ed copy of path provided.
...
fixes -P /some/file.
2002-01-18 10:27:50 +00:00
lukem
94243a4cd5
wrap some mfs specific code in #ifdef MFS
2002-01-18 08:59:18 +00:00
lukem
f482103022
use -1 instead of 0 as the value to indicate if a numeric parameter
...
hasn't been set and thus needs a default override.
allows minfree and rotdelay to take a value of 0.
2002-01-18 08:39:23 +00:00
lukem
775d59e652
fix this if MFS is not #defined
2002-01-18 08:37:08 +00:00
lukem
be917c6b28
apply changes from revs 1.56-1.59 of newfs/mkfs.c:
...
* revision 1.56
the change of calculation of inodes per group in rev 1.52 was far too
aggressive; rework to be a bit less susceptable to round-off error.
now it's likely that the density might not be obtained with a small
filesystem with a large number of inodes (e.g -s 4M -i 1k), but that's
an extremely unlikely corner case that can easily be rectified with
command-line arguments.
fixed provided in private email by Takao Shinohara <shin@sm.sony.co.jp>
should resolve PRs [bin/14049] and [bin/14046]
[ this fixes a problem in makefs(8) that matt green reported ]
* revision 1.58
clamp bsize to MAXBSIZE
* revision 1.59
don't bother printing a warning about the cylinder group size being
restricted if -c isn't given; it just confuses a user of newfs (and
the cpg info is printed as part of the display anyway), and prints an
unnecessary warning for mount_mfs.
XXX: I must rework newfs/mkfs.c to make it easier to just .PATH into makefs(8)
2002-01-18 08:32:34 +00:00
lukem
d860e86b14
don't need ffs/buf.h here
2002-01-18 08:20:32 +00:00
thorpej
6c608f3110
When removing a single-step breakpoint, fix-up the PC, since GDB does
...
not do for us in this case.
This fixes all sorts of random lossage with the new Alpha GDB, which,
as far as I can tell, works just fine now.
2002-01-18 06:15:32 +00:00
thorpej
47193736cf
NetBSD does not mark the outermost frame, so define FRAME_CHAIN_VALID
...
to func_frame_chain_valid() so that the traceback will stop at the
entry point.
2002-01-18 04:30:54 +00:00
thorpej
7be6f45635
Comment out token after #endif.
2002-01-18 04:15:02 +00:00
thorpej
de95e88a8c
Before we #define __attribute__ away, #undef it.
2002-01-18 03:36:00 +00:00
thorpej
8580a533fa
Make sure to eat __attribute__'s argument, too.
2002-01-18 03:34:19 +00:00
enami
ac35ac58f5
- For CIRCLEQ, comparing the loop variable against NULL doesn't make sense.
...
- Minor KNF while I'm here.
# This doesn't fix real problems though.
2002-01-18 00:30:03 +00:00
thorpej
940aa6cbf5
Add cpwait's after TLB operations.
2002-01-17 23:56:01 +00:00
bjh21
6ad60873c2
More-or-less working signal handling for Linux processes on ARM.
2002-01-17 22:50:38 +00:00
eeh
85bf931596
Be more tolerant of unaligned stack pointers.
2002-01-17 22:23:47 +00:00
bjh21
72e7652233
Fix typo in last commit.
2002-01-17 21:19:22 +00:00
bjh21
934715db90
Fix unterminated #ifdef.
2002-01-17 21:17:57 +00:00
thorpej
e422b995b1
Cleanup a little, and teach db_write_text() about section mappings.
2002-01-17 20:47:00 +00:00
eeh
9d929c71e8
__attribute__() if we're doing MAKE_BOOTSTRAP is a no-no.
2002-01-17 19:15:02 +00:00
bjh21
0598bbd10f
Separate out syscall() out into three parts:
...
swi_handler() does stuff that all SWIs will need, then calls
curproc->p_emul->e_syscall.
syscall() handles native NetBSD system calls.
linux_syscall() handles Linux system calls.
2002-01-17 17:26:03 +00:00
bjh21
16ee93eb67
On platforms that don't __HAVE_SYSCALL_INTERN, define LINUX_SYSCALL_FUNCTION
...
to be the value of emul_linux.e_syscall that we want. This allows it to differ
between machines, so I can have a separate linux_syscall() on arm.
2002-01-17 17:19:03 +00:00
augustss
72fd8ca3ac
Alphabetize audio attachment.
2002-01-17 16:06:49 +00:00
wiz
e45693d8ed
Fix ukbd attachment. Noted by Patrick Welche on port-macppc.
2002-01-17 15:50:28 +00:00
rjs
01529df446
Include arch/arm/linux_errno.h for arm build.
2002-01-17 15:11:38 +00:00
rjs
0046c56309
Add arm to #endif comment.
2002-01-17 15:10:26 +00:00
rjs
77f9569791
Add extra error codes from Linux.
2002-01-17 15:08:44 +00:00
tsutsui
36a633380b
${SIZE} -> ${RAMDISKSIZE} to avoid conflict with toolchain.
2002-01-17 13:36:00 +00:00
tron
dd70720ed9
Add port number for UUCP over SSL.
2002-01-17 12:31:37 +00:00
joda
4a42472b23
add support for Ericsson PRISM2 card (kern/15130)
2002-01-17 09:56:43 +00:00
itojun
9a09fa34fb
reject SIZE request for ascii file if it exceeds 10k.
2002-01-17 05:21:47 +00:00
thorpej
79543e3e0b
* db_validate_address(): Use pmap_extract().
...
* db_read_bytes()/db_write_bytes(): Do comparisons against the
(unsigned) size_t correctly.
2002-01-17 03:52:06 +00:00
thorpej
3609326b93
Teach pmap_extract() about section mappings.
2002-01-17 03:06:21 +00:00
eeh
b60e750cca
Enable block insns in bcopy and bzero.
2002-01-17 02:26:37 +00:00
thorpej
f11f32eed1
Since we build with DDB by default, build with SYMTAB_SPACE by default,
...
as well.
2002-01-16 23:49:41 +00:00
thorpej
bd500cc450
When mapping the kernel text/data/bss:
...
* Round the text size up the next page, don't truncate it.
* Pass the kernel L1 table to map_chunk() so that it can try
to use section mappings.
2002-01-16 23:37:05 +00:00
thorpej
fd8ee60d12
Correct KERNEL_TEXT_BASE.
2002-01-16 23:33:51 +00:00
eeh
c2d74dc6cd
In bcopy use 32-bit comparisons in 32-bit kernels.
2002-01-16 22:44:48 +00:00
eeh
14dced409e
Use correct calculation for the trapframe in softtrap for ILP32.
2002-01-16 18:52:35 +00:00
eeh
9ed29324e3
Fix ILP32 bug.
2002-01-16 18:49:22 +00:00
abs
83c1ea626b
Increase the size of the dev mfs to at least enough for 1.5.2 i386.
...
bin/15235 by Gavan Fantom.
2002-01-16 18:30:57 +00:00
tv
f7bea0ea1e
Some sanity fixes (including a possible buffer overflow in makeinfo), plus
...
some fixed proper support for Cygwin hosts.
2002-01-16 17:22:37 +00:00
kleink
15c5d59ce0
Two more supported things:
...
* Siemens MP3-Player USB
* STMicroelectronics ST92163 Mass Storage library Tester
(used in the above)
2002-01-16 17:10:58 +00:00
tsutsui
5e3511e097
Fix a possible uninitialized variable found by new toolchain.
2002-01-16 16:10:32 +00:00
wiz
d2eb889fd9
Whitespace nits; use standard headers.
2002-01-16 12:01:12 +00:00
enami
9ad4436bc2
Fix typo which prevents diagnostic test from working.
2002-01-16 08:33:12 +00:00
onoe
34bf2039e8
Fixed the range of max data length (dot11FragmentationThreshold)
...
for -d option: 350..2304 -> 256..2346 (default is 2304)
Fixed the range of RTS/CTS threshold (dot11RTSThreshold)
for -r option: 0..2047 -> 0..2347 (default is 2347)
2002-01-16 06:54:17 +00:00
thorpej
75dfddd49d
Use bpf_mtap().
2002-01-16 05:56:54 +00:00
tv
4cdd7a39ce
Bleh, make the conditional work *correctly* this time (...teaches me not to
...
try distilling down parenthesized booleans without caffeine).
2002-01-16 03:40:29 +00:00
tv
f740a6705b
Fix typo in previous.
2002-01-16 03:37:03 +00:00
tv
2724818d75
Don't look at archive timestamps if MAKE_BOOTSTRAP is set. (I'm not
...
entirely sure that this is useful *at all* these days, since it's been
turned off for ELF since ELF was brought in....)
2002-01-16 03:36:15 +00:00