Commit Graph

114000 Commits

Author SHA1 Message Date
atatat d2f781064e If the file being stuffed into the config file string for inclusion in
the kernel is missing the newline at the end of the file, the string
doesn't get closed properly, resulting in a message from the compiler
about a missing #endif.  It's somewhat misleading, so config will now
point it out and compensate for the missing newline.

Addresses PR kern/21920: including kernel config fails in some cases.
2003-06-18 04:19:49 +00:00
bsh 73635ffe34 use PMAP_DOMAIN_KERNEL and DOMAIN_CLIENT instead of magic numbers. 2003-06-18 03:17:49 +00:00
bsh d8193564ca protect with #ifndef _LOCORE so that assembler codes can share
definitions in this file such as PMAP_DOMAIN_KERNEL.
2003-06-18 02:58:09 +00:00
itojun 81e3f9cb3f sync manpage with previous change (addrs# deprecdated) 2003-06-18 02:08:10 +00:00
martin f546abe798 Catch up with Nathan's changes to other archs. 2003-06-17 23:18:48 +00:00
wiz 835c24a56a Fix typo. 2003-06-17 23:05:35 +00:00
bsh ddb2467dd1 make this compile again:
+ we don't have struct pxa2x0_softc anymore.
   + call pxa2x0_clkman_config() to provide clock to LCDC block.
2003-06-17 09:43:14 +00:00
bsh 3c87cee70f white space nit. 2003-06-17 09:32:38 +00:00
itojun 8412a300dc relax addrs#x config parameter. should address PR 21872 2003-06-17 08:08:48 +00:00
simonb 33b48b0823 Micro-optimisation- move the "pgs == NULL" check from the previous
change to immediately after the malloc call.  This can't fail in
the non-malloc case.

Reviewd by YAMAMOTO Takashi.
2003-06-17 04:17:37 +00:00
simonb 7eb2ec40b2 Remove the KERN_DRIVERS case handler (prototype code?). 2003-06-17 03:34:23 +00:00
dsl f8f6959024 Print hw.cnmagic as escaped hex bytes (unless -n given).
Change 'special' to be a numeral not a bit, it isn't ever used as a bit
and I can't see why it should ever be used that way.
2003-06-16 21:52:58 +00:00
nathanw 876d7e7eec Dodge a potential race condition in pthread__debuglog_printf(). It's
still possible for multiple threads to write into the same space, but
they shouldn't be able to corrupt the write pointer in the process.

Also, check for pointer-lapping a bit more carefully in the wrap
vs. non-wrap case.
2003-06-16 21:24:48 +00:00
dsl 18439070c7 Do not let the cursor sit on menu lines that do nothing.
(Maybe page up/down should behave similarly - but that one is harder)
2003-06-16 20:57:43 +00:00
dsl 217d84900a Fix stupid typo 2003-06-16 20:12:44 +00:00
dsl 24a3da65f0 Fix some typos 2003-06-16 20:11:40 +00:00
dsl 855d662c15 Whitespace fixes 2003-06-16 20:10:02 +00:00
thorpej 452a8fdae2 Rename IPL_IMP -> IPL_VM. 2003-06-16 20:00:56 +00:00
dsl 08fc1c1957 A load of KNF changes, plus a couple of strnxxx => strlxxx my fingers did
on the way through.
2003-06-16 19:42:13 +00:00
heas d00e9c2510 Define option BLINK in option file opt_auxio.h and include it in auxio.c.
approved by martin@
2003-06-16 19:24:51 +00:00
thorpej bd370c9c04 Give every obio implementation a size and width locator. 2003-06-16 17:40:49 +00:00
perry 30b25d1cca ANSIfy, from Petri Koistinen in PR 13975 2003-06-16 17:22:00 +00:00
rjs 67e2545285 Regen. 2003-06-16 12:46:39 +00:00
rjs 946b6bccf2 Add vendor IDs for Ericsson, Hirose and AEI. 2003-06-16 12:45:20 +00:00
dsl 430c90c3f6 Correct check for active swap on install disk.
Use swapctl() for all swap operations.
Remove md_upgrade_mbrtype() from arc and hpcmips ports.
(I haven't finalised what I'm doing about type 165 partitions, but the
existing code is borked.)
2003-06-16 10:42:47 +00:00
itojun 1430af815a discourage the use of aggressive mode 2003-06-16 08:40:11 +00:00
itojun 7a78321a15 tighten sanity check on ipsec policy. sync w/kame 2003-06-16 08:11:03 +00:00
martin b9577aa450 Testing "unsigned long" vs. "double" does only make sense if there is
enough precision in double. Make it select double, long double or skip
the test at runtime, depending on sizeof() results.
2003-06-16 07:11:52 +00:00
martin 5ab640a98e Fix format copy&pasto in failure case. 2003-06-15 23:38:17 +00:00
fvdl 3bc458d7f1 Bump version to 1.6U, because of PCI attach args changes. 2003-06-15 23:11:25 +00:00
fvdl 7dd7f8baa2 Handle 64bit DMA addresses on PCI for platforms that can (currently only
enabled on amd64). Add a dmat64 field to various PCI attach structures,
and pass it down where needed. Implement a simple new function called
pci_dma64_available(pa) to test if 64bit DMA addresses may be used.
This returns 1 iff _PCI_HAVE_DMA64 is defined in <machine/pci_machdep.h>,
and there is more than 4G of memory.
2003-06-15 23:08:53 +00:00
thorpej 998f8a71ed Add an optional "width" locator to the obio bus, specifying the
bus width of the device.
2003-06-15 19:03:46 +00:00
thorpej 05d2fb4399 Use the new pmap_devmap facility in the on-board device mapping code. 2003-06-15 18:43:48 +00:00
thorpej cf8a25bdfc Add another devmap routine that allows bootstrap code to register
a devmap reflecting mappings that are created by really early
bootstrap code before pmap_devmap_bootstrap() is called.
2003-06-15 18:18:16 +00:00
tsutsui af66232520 Fix function declaration mismatch with src/sys/ufs/ffs/ffs_extern.h which
causes makefs(8) failure on big endian machines. Pointed out by tsubai.

XXX The real problem is that some sources include {.CURDIR}/ffs/ffs_extern.h
XXX but others include /usr/include/ufs/ffs/ffs_extern.h .
2003-06-15 18:10:56 +00:00
thorpej 87d5bba5b3 Replace the ad-hoc "section mapping table" for static device mappings
with a more generic "devmap" structure that can also handle mappings
made with large and small pages.  Add new pmap routines to enter these
mappings during bootstrap (and "remember" the devmap), and routines to
look up the static mappings once the kernel is running.
2003-06-15 17:45:21 +00:00
thorpej d35db0b328 Garbage-collect some unused code. 2003-06-15 17:33:45 +00:00
martin aba86b525b Catch up with changes Nathan did to other archs. 2003-06-15 17:11:36 +00:00
yamt 424a10b9cc genfs_getpages: if number of pages requested is >16,
use malloc/free for array of pointers to vm_page.
otherwise, use on-stack array as used to.
this change fixes assertion failure when nfsd gets a big read request
that isn't aligned with filesystem block.
discussed on tech-kern.
2003-06-15 16:14:46 +00:00
lukem 9f376c42d4 Don't coredump when printing '%n' in the prompt if there's no username yet.
Fix from Maxim Konovalov <maxim at freebsd dot org>.
2003-06-15 13:49:46 +00:00
igy 5dc7df164b using write buffer in block_write. 2003-06-15 08:50:05 +00:00
igy c0f40774f1 verify flash memory after write 2003-06-15 08:49:09 +00:00
tsutsui a3631eeb28 Add isapnp0 at isa and enable working isa/isapnp devices. 2003-06-15 06:10:42 +00:00
tsutsui 964d2f945e Remove nonexistent we* at isapnp. 2003-06-15 06:08:12 +00:00
tsutsui 55dd06d718 Don't enable both pc0 and vga0 at isa. 2003-06-15 06:05:31 +00:00
tsutsui 7826bdce78 Initialize and use extent maps for ISA bus space allocation.
Now isapnp on Tyne works properly.
2003-06-15 05:58:45 +00:00
tsutsui 580d8d6204 Note fix of DeskStation Tyne support on arc. 2003-06-15 04:26:59 +00:00
matt 27e1742142 Change the way multicasts are kept. They now use a hash table in the same
manner as the ifaddr hash table.  By doing this, the mkludge code can go
away.  At the same time, keep track of what pcbs are using what ifaddr and
when an address is deleted from an interface, notify/abort all sockets
that have that address as a source.  Switch IGMP and multicasts to use pools
for allocation.  Fix a number of potential problems in the igmp code where
allocation failures could cause a trap/panic.
2003-06-15 02:49:32 +00:00
simonb 83619b47f3 Wrap some long lines. 2003-06-15 01:34:34 +00:00
uwe 42dfb65e6b Note wscons support for netwinder. 2003-06-15 01:21:01 +00:00