Commit Graph

75112 Commits

Author SHA1 Message Date
jdolecek
a3b6f1c251 put back sort, it's fixed now 2001-01-13 20:11:49 +00:00
jdolecek
b36ae8b14a makeline(): put back the memmove(3) removed in rev 1.5 in belief it's been
redundant. "Oops"
This fixes bug reported to me by Simon Burge.
2001-01-13 20:10:52 +00:00
nonaka
502a82e9a4 add usr/share/man/{cat,man}8/prep 2001-01-13 19:38:51 +00:00
nonaka
f98bd36da4 add {cat,man}8/prep/MAKEDEV.? 2001-01-13 19:37:23 +00:00
nonaka
a8d72bfe57 add man8.prep 2001-01-13 19:35:35 +00:00
nonaka
a5374efc80 add prep MAKEDEV related manpages. 2001-01-13 19:35:12 +00:00
jdolecek
7c5e77a45a also remove the clpos++ added in rev 1.4 2001-01-13 19:04:21 +00:00
jdolecek
f4074c5bd3 undo broken revision 1.4 2001-01-13 19:01:14 +00:00
itojun
8dd4895415 fix few confusing indentation. XXX still broken 2001-01-13 17:27:21 +00:00
bjh21
9105584f84 Add <arm/signal.h>. 2001-01-13 17:04:50 +00:00
bjh21
8df387473f Move <machine/signal.h> into shared directory. 2001-01-13 17:02:36 +00:00
bjh21
70d40a123c Make db_disasm_interface const. 2001-01-13 16:53:27 +00:00
bjh21
f52101bc64 Make all the disasm_interface_t arguments const, thus allowing us to
allocate them statically in the text segment.  Do so for disassemble().
2001-01-13 16:52:01 +00:00
bjh21
792b8500bc ANSIfy, un-__Pify, and in the case of disassem.c, add an RCSID. 2001-01-13 16:44:25 +00:00
itojun
c50639b45e pull the last revision from graveyard. we do not really need to nuke it yet,
as long as we do not visit SUBDIR we don't build it.
2001-01-13 16:42:53 +00:00
tshiozak
cfb6a0b2c6 add missing sc->dying initializer at midiattach. 2001-01-13 16:16:12 +00:00
tshiozak
3a10cc3d0a add detaching/deactivation code to midi driver. 2001-01-13 16:09:04 +00:00
simonb
41b1ab320a Disable sort for now, it has a corruption problem. 2001-01-13 14:11:38 +00:00
itojun
7de2724c3a move IPv6 mode/route configuration upwards, so that !rtsol in
/etc/ifconfig.* is meaningful.
2001-01-13 13:26:36 +00:00
simonb
ba5b4fefa2 Sort(!). "preconsolidate" was in the wrong place. 2001-01-13 11:51:12 +00:00
aymeric
edecf4bc97 Notify UVM subsystem about our page size in pmap_init().
Some MI code needs it (Linux emulation, sysctl and the like).
Thanks to Izumi Tsutsui for pointing it.
2001-01-13 11:31:04 +00:00
jdolecek
769f751499 save couple of cycles and bytes by static initialization of sigaction act
and sigtable[]
2001-01-13 11:19:41 +00:00
jdolecek
4b8c8ba4c1 nuke GNU sort - we use BSD sort now 2001-01-13 10:56:32 +00:00
jdolecek
ea53379da3 Switch from GNU to BSD sort. Approved by the Core. 2001-01-13 10:49:06 +00:00
jdolecek
20db24e8e3 add -s/-S to synopsis
remove TMPDIR stuff - it no longer applies, at least for now
move the note about link/unlink from BUGS to NOTES
add note about trailing record separator and lack of restriction on
line length or allowed bytes
2001-01-13 10:47:29 +00:00
ur
7701dc57be Adapt to pci_intr_map change. 2001-01-13 10:46:18 +00:00
jdolecek
f2deab8a4c when merging stuff from several files, make merge handle records correctly
for stable sort so that the records are not swapped arbitrarily - this makes
in-tree BSD sort(1) pass regression test 38

while here, do couple of cleanups, like s/16/MERGE_FNUM/ where appropriate,
making local stuff static and some intendation/code format changes
2001-01-13 10:33:30 +00:00
jdolecek
16b90fdb48 one more warning to kill 2001-01-13 10:17:43 +00:00
jdolecek
7102161857 Since SUS explicitly specifies sort(1) should append a record
delimiter to file if it doesn't end with one, don't warn when this
happens.
2001-01-13 10:07:06 +00:00
itojun
42bede79da allow IP_MULTICAST_IF and IP_ADD/DROP_MEMBERSHIP to specify interface
by interface index.  if the interface address specified is in 0.0.0.0/8
it will be considered as interface index in network byteorder.

getsockopt(IP_MULTICAST_IF) preserves old behavior if
setsockopt(IP_MULTICAST_IF) was done with interface address, and
returns interface index if setsockopt(IP_MULTICAST_IF) was done with
interface index (again using the form in 0.0.0.0/8).

Suggested by Dave Thaler, based on RIPv2 MIB spec (RFC1724 section 3.3).

http://mail-index.netbsd.org/tech-net/2001/01/13/0003.html
2001-01-13 07:19:33 +00:00
itojun
4a14fb4fd8 on getsockopt(IP_IPSEC_POLICY), make sure to initialize len 2001-01-13 06:01:18 +00:00
itojun
0e83f5f0d1 pull in openbsd strlcat.c 1.3 -> 1.4.
Reverse the order of two loop invariant to make 'strlcat(0, "foo", 0)'
not get a SEGV; Richard Kettlewell <rjk@greenend.org.uk>
2001-01-13 04:19:54 +00:00
matt
27980172f6 Add the types needed by the new locale code. 2001-01-13 03:48:26 +00:00
aymeric
f806b0811c Pass CPPFLAGS to gcc in NORMAL_G, plus minor change: ; -> && 2001-01-13 02:17:50 +00:00
aymeric
80f1cca44e Make this compile again: we don't need to initialize PAGE_SIZE and friends
since they are now (preprocessor) constants.
2001-01-13 02:15:16 +00:00
aymeric
032ced3b65 Make these compile again, plus minor aesthetic changes. 2001-01-13 02:09:27 +00:00
aymeric
11dbbd8afe make this compile again 2001-01-13 02:08:15 +00:00
bjh21
78c0ba909e Separate out sigcode into its own file, since it's shared by arm26 and arm32. 2001-01-13 00:06:50 +00:00
bjh21
e4cacac41c Storing four-byte pointers to two-character strings is silly. All the
auxilliary tables used by the disassembler are now char[][].

The main table still uses pointers because:
 - the longest instruction name, "imbrange" is >7 characters long, which would
   make the field length wasteful.
 - GCC spots that most of the formats are shared and makes them pointers to the
   same string, so turning them into char[8] would be counter-productive.
2001-01-12 23:33:07 +00:00
bjh21
dd7e31f012 The mask tables have no excuse for being in the data segment. 2001-01-12 23:03:52 +00:00
cgd
926244ff0d nuke extra token (;) after #endif 2001-01-12 22:55:10 +00:00
bjh21
ca0f6df99d Move all the nasty big tables into the text segment. This isn't much use in
the kernel at present, but maybe one day when we have a ROMmable kernel...
2001-01-12 22:44:08 +00:00
jdolecek
96731d46b9 use $S for stuff calling sort directly, not via xsort 2001-01-12 22:35:07 +00:00
bjh21
cdae07e857 Correct comments (the code does support LDF, STF, LDC, STC).
Support BX (for completeness).
Correct spelling of SWP.
2001-01-12 22:19:15 +00:00
bjh21
e9bb2a7916 Correct immediate constant handling: bits [11:8] are a rotation, not a shift.
Also add support for the "P" modifier to TEQ, TST, CMP and CMN, and don't
bother displaying the "S" bit for these instructions.

Together, these correct the disassembly of 0xe33ff3c2 (an instruction in
arm26 irq_handler() from "teqs r15, #0x08000000" to "teqp r15, 0x08000003".
2001-01-12 21:56:18 +00:00
jdolecek
a8b321c587 print a disclaimer on startup about this test suite - other sort implementations
may fail some tests, yet conform to standard too; for non-stable sort,
quite a few tests have actually more possible 'correct' results, yuck!

check for presence of -S and use it to switch to non-stable sort - the tests
are not written for stable sort

Fix test 37 - for 'sort -m -r' to actually work, the input files have
to be reverse sorted as well. Now the in-tree BSD sort passes this test ;-)

print the used sort command and parameters for 'failed' messages

other small sleanups, remove accidentaly added debug stuff
2001-01-12 21:45:17 +00:00
bjh21
d6928b5422 Prototypes for disassemble_readword() and disassemble_printaddr(). 2001-01-12 21:35:48 +00:00
bjh21
a5ef6e1f81 Move db_disasm.c into sys/arch/arm/arm. Use arm26 version, since it should
generate smaller compiled code.
2001-01-12 21:31:51 +00:00
jdolecek
c0f11cbc8f alltable[], itable[], dtable[] were moved to init.c, g/c from sort.[ch]
put extern declaration for gweights[] to sort.h
2001-01-12 19:41:13 +00:00
jdolecek
341955c93c alltable[], itable[], dtable[] were moved to init.c, g/c from sort.[ch]
put extern declaration for gweights[] to sort.h
add -s/-S to usage(), couple of formating nits
2001-01-12 19:41:12 +00:00