Commit Graph

19916 Commits

Author SHA1 Message Date
christos 0fdb3e720f Rename to vm_12.c 1997-10-16 23:46:52 +00:00
christos 801520ffac fix chrtoblk declaration 1997-10-16 23:43:16 +00:00
christos 86f2672ac2 Regen. 1997-10-16 23:42:41 +00:00
christos 2975958ca6 fix chrtoblk declaration 1997-10-16 23:42:35 +00:00
christos bf5e4c3957 Regen 1997-10-16 23:42:20 +00:00
christos 3259672f83 fix chrtoblk declaration 1997-10-16 23:41:55 +00:00
christos 9b763cbe70 change char *path to const char *path
change int to mode_t's and to dev_t's as appropriate
add new new stat syscem calls and make the old ones compatibility.
1997-10-16 23:41:31 +00:00
christos e42293ca28 fix chrtoblk declaration 1997-10-16 23:37:34 +00:00
christos f950c44a69 make va_mode and va_link mode_t and link_t 1997-10-16 23:35:36 +00:00
augustss b2004a534c Make sure the 'input' class is used even for the 1345 mixer. 1997-10-16 23:34:57 +00:00
christos 217e609299 dev_t int32_t -> u_int32_t
mode_t u_int16_t -> u_int32_t
nlink_t u_int16_t -> u_int32_t
1997-10-16 23:34:40 +00:00
christos d3f4a22f92 now that mode_t and nlink_t are 32 bits, we need a new stat syscall.
rename ostat to stat43 and create a stat12 for compatibility to NetBSD 1.2
1997-10-16 23:33:10 +00:00
thorpej 500a0eac87 Pull marc-pcmcia branch down from trunk. 1997-10-16 23:32:35 +00:00
christos e66010e32e PR/4269: Chris Demetriou: msync now takes a third argument 1997-10-16 23:31:21 +00:00
christos 84fa30f8f0 chrtoblk returns dev_t 1997-10-16 23:30:36 +00:00
christos b82d33e84c PR/4269: Chris Demetriou: msync is missing the MS_* flags.
Also change caddr_t syscall arguments to void *
1997-10-16 23:29:26 +00:00
thorpej c66b8643d1 Pull marc-pcmcia branch down from trunk. 1997-10-16 23:27:16 +00:00
thorpej 376d502a22 Pull marc-pcmcia branch down from trunk. 1997-10-16 23:23:14 +00:00
thorpej 5345a8bef9 Pull marc-pcmcia branch down to trunk. 1997-10-16 23:21:46 +00:00
thorpej befea59210 Pull marc-pcmcia branch down to trunk. 1997-10-16 23:21:41 +00:00
thorpej b3620a0f8d Pull marc-pcmcia branch down to trunk. 1997-10-16 23:18:18 +00:00
enami 12e22025c4 Remove interrupt handler cookie from aic_softc. 1997-10-16 22:57:02 +00:00
enami 735b77fa73 Create new structure aic_isa_softc and hold interrupt handler in it. 1997-10-16 22:55:34 +00:00
matt 4d3bfb2510 Fix pr's port-i386/4127 kern/4190 kern/3700. 1997-10-16 22:02:27 +00:00
is 57ce3eaaf4 Move zbus attachment to the end, so that motherboard devices don't "jump"
if zbus devices of the same class are added.
1997-10-16 21:39:10 +00:00
mark d75175b393 Updated to remove local copies of the com and lpt driver now we use
the MI ones.
1997-10-16 18:38:55 +00:00
mark 0f1f684082 Updated to use the MI dev/ic/com.c driver. 1997-10-16 18:37:38 +00:00
mark 189bd69e2b Updated to use the MI dev/ic/lpt.c driver. 1997-10-16 18:35:53 +00:00
mark b9474fb561 These files are no longer needed as the MI com and lpt drivers in dev/ic
are now used.
1997-10-16 18:33:50 +00:00
mjacob 949982f2a4 In calculating the f_bavail field, don't take 32 bit quantities and
multiply them by 90 (to be divided by 100) and expect them to be sane
for very large values (I was getting a negative 'avail' count).
1997-10-16 18:29:11 +00:00
carrel 2d7d2e019a include vm/vm.h 1997-10-16 18:27:40 +00:00
carrel 5f5ee7f57b Need to include vm/vm.h 1997-10-16 18:23:38 +00:00
carrel 254067068a include vm/vm.h
move include of sysctl.h after vm.h
1997-10-16 18:16:08 +00:00
carrel a1e0fcf246 Remove unneeded and incomplete includes of vm/vm_*.h 1997-10-16 18:02:19 +00:00
gwr 4aaf52ce2a Add VME support 1997-10-16 17:20:35 +00:00
matt 119ee74bb4 An ISA Plug-and-Pray attachment for NE2000-compatible cards. 1997-10-16 17:18:29 +00:00
matt 2b42743910 Add support NE2000 ISAPnp boards (only DEC DE305 supported now). 1997-10-16 17:16:36 +00:00
gwr 86e680de0c Add VME support 1997-10-16 16:49:48 +00:00
augustss 841c4f7db2 Insert missing NetBSD copyright notices. 1997-10-16 16:49:32 +00:00
augustss 31ab81c6e4 Aignore interrupts if the device isn't open. 1997-10-16 16:41:18 +00:00
oki 3846baf664 Fixed gcc warnings. 1997-10-16 16:24:47 +00:00
gwr e9393ba0e4 MONSTART/monstart symbol 1997-10-16 16:14:44 +00:00
gwr a5b839419b Add VME support 1997-10-16 16:13:21 +00:00
gwr 5942f9b29a Check bustype in dvma_kvtopa() 1997-10-16 16:11:17 +00:00
gwr b4f7e0ec3d Remove the autoconfig glue. This driver is mandatory,
and the match/attach functions did nothing anyway.
1997-10-16 15:56:02 +00:00
gwr f78c7f1fd8 Add VME support 1997-10-16 15:50:05 +00:00
gwr c427423ad4 cosmetic 1997-10-16 15:45:46 +00:00
oki 3f6dddc5cd Remove use of register. 1997-10-16 15:43:54 +00:00
gwr 7262f2ceff Add VME bustypes 1997-10-16 15:41:59 +00:00
gwr 38af6e81df VME support 1997-10-16 15:39:36 +00:00
matt 9d865fc8f0 Fix a misspelling of slave in a comment. 1997-10-16 15:16:34 +00:00
matt 940e1b9935 Fix a thinko in last night fix. We must set the media if we have reset
the chip but if we haven't the the media isn't changing, don't do anything.
1997-10-16 13:12:56 +00:00
mycroft b328298e4c Fix up includes. 1997-10-16 10:49:00 +00:00
mycroft 482e74d998 Fix up includes. 1997-10-16 10:35:49 +00:00
mycroft 4b807f403c dev/isa/comreg.h -> dev/ic/comreg.h 1997-10-16 08:03:05 +00:00
mycroft 372a74ea3a We don't need sysctl.h here. 1997-10-16 04:57:15 +00:00
mycroft 4a316f1d10 Use vm.h. 1997-10-16 04:48:34 +00:00
mycroft 2e52ce5fd7 Pull in vmparam.h as necessary. 1997-10-16 04:23:36 +00:00
mycroft 91302e62ef Regen. 1997-10-16 03:36:14 +00:00
mycroft 37e189d6a8 Need vmmeter.h here now. 1997-10-16 03:22:54 +00:00
mycroft 8e4d927ebf Define FALSE and TRUE locally. 1997-10-16 03:16:44 +00:00
mycroft fc0fb1cfdc Pull in vm.h, not a bunch of individual files. 1997-10-16 03:05:19 +00:00
mycroft 5542cb9709 Include sysctl.h *once*, after vm.h. 1997-10-16 02:58:31 +00:00
mycroft d0a1101d26 Disable an effectively no-op reference to u_kproc, with an explanation of what
should be done with it eventually.
1997-10-16 02:45:39 +00:00
mycroft fe87d7b58c Remove cruft from the old debugger interface, which we haven't supported for a
long time.
1997-10-16 02:32:55 +00:00
mycroft 3e3c21dc5d Update a comment dating from 4.3/VAX. 1997-10-16 02:31:32 +00:00
thorpej 320cf86339 Garbage-collect definition of "com" driver. 1997-10-16 02:22:37 +00:00
sakamoto 8d05d254cd __VM_PMAP_HACK delete.
if_ed and lpt temporary support.
1997-10-16 01:55:21 +00:00
thorpej e89814fa69 Adjust for new "com" driver home. 1997-10-16 01:10:52 +00:00
thorpej 8bae901f73 Adjust for new home of "com" driver. 1997-10-16 01:06:37 +00:00
thorpej 19b8a62d74 Garbage-collect "com" driver declaration. 1997-10-16 01:02:56 +00:00
thorpej 6698c7b3e2 Adjust for new "com" driver home. 1997-10-16 00:58:08 +00:00
thorpej ce61c6263d Adjust for new "com" driver home. 1997-10-16 00:50:48 +00:00
thorpej a35a2a56e4 Garbage-collect "com" device declaration. 1997-10-16 00:47:23 +00:00
thorpej f124747d6d Add device declaration for the "com" driver. In a perfect world, this
would be done with attributes, but alas... *sigh*
1997-10-16 00:38:11 +00:00
thorpej bc6479768b Adjust for the new "com" driver home. 1997-10-16 00:29:28 +00:00
thorpej dfba65768d Moved by repository copy magick to sys/dev/ic. 1997-10-16 00:18:54 +00:00
thorpej 1ccf0984c2 "com" driver files copied by repository copy magick to sys/dev/ic, and
adjusted for their new home.
1997-10-16 00:01:00 +00:00
thorpej 0154e69e5a Pulldown from marc-pcmcia branch: minimal changes to change x68k port's
"com" (now "xcom") driver to avoid name collision with the more
heaviliy-used "com" driver.
1997-10-15 23:39:18 +00:00
thorpej e500671d62 Pulldown from marc-pcmcia branch: minimal changes to avoid namespace
collision between Pica port "com" (now "pcom") driver and more heavily-used
"com" driver.
1997-10-15 23:00:50 +00:00
thorpej 9ba1ceb091 Pulldown from marc-pcmcia branch. 1997-10-15 22:00:10 +00:00
matt 2e1df18229 Cleanup ISA probe code. Don't collect info first. Just do the probe. 1997-10-15 21:26:51 +00:00
thorpej 2939780605 Garbage-collect some old i386 console stuff that is no longer used, and
add a comment about something to be fixed later.
1997-10-15 21:13:36 +00:00
matt 0dc780c27d Fix media/console interaction problem on Alpha. Fix 21142/21143 problems
with 10Mb/s links.
1997-10-15 19:06:59 +00:00
matt 2a5a426a31 Some changes to get the 21142/21143 to work in 10Mb/s mode. 1997-10-15 18:51:00 +00:00
phil 64549a8105 Fix syntax errors. (missing ,s) 1997-10-15 18:08:01 +00:00
mycroft 91395f0f4f Regen. 1997-10-15 17:28:40 +00:00
mycroft 5570f69778 Adjust u_int arguments of some system calls to int, to match user-level
prototypes.
1997-10-15 17:27:46 +00:00
mycroft 68fb837229 Fix a typo inherited from kern/syscalls.master. 1997-10-15 17:18:17 +00:00
mycroft 3a2dfc05e9 Regen. 1997-10-15 17:07:35 +00:00
mycroft 2587de6af9 Adjust u_int arguments of some system calls to int, to match user-level
prototypes.
1997-10-15 17:03:52 +00:00
thorpej 8b921485a0 Pulldown from marc-pcmcia branch: adapt to changes in the MI dp8390 driver. 1997-10-15 16:58:21 +00:00
thorpej b1ba3c5488 Pulldown from marc-pcmcia branch: minor tweaks to make this a completely
bus-independent driver, and garbage collect a few unnecessary things
from the softc.
1997-10-15 16:54:39 +00:00
gwr 44365b6619 Bring back the optimized ether_cmp() that was lost when the
LLADDR() changes went in.  Mainly relevant on the Sun3/50,
where LANCE_REVC_BUG has to be defined.  Tested on sparc.
1997-10-15 16:34:10 +00:00
explorer 72dbc31c75 clean up ioctl arguments. 1997-10-15 07:22:46 +00:00
explorer b9f6e61f9d Add and/or update rnd_*() hooks 1997-10-15 06:12:44 +00:00
explorer 66f8a19d70 back out previous change (committed in error) 1997-10-15 06:08:27 +00:00
explorer f9370ddc7a Add and/or update rnd_*() hooks 1997-10-15 05:55:13 +00:00
explorer 1d74fdb6a3 minor formatting change 1997-10-15 05:48:56 +00:00
augustss edf79539db Add another SB AWE64 Value. 1997-10-15 05:13:31 +00:00
sakamoto 4c58649721 License indication changed. 1997-10-15 05:09:33 +00:00
jtk d6c9c08d70 put in place a proper bioscall.h (sorry about that!)
finish up incomplete job of moving structure used by bioscall() to
<machine/bioscall.h>, with associated changes in include file strategy,
genassym stuff, etc.
1997-10-15 01:20:33 +00:00
enami 4321b83ee2 Pull following change from marc-pcmcia branch:
> revision 1.1.2.4
> date: 1997/10/15 01:01:57;  author: enami;  state: Exp;  lines: +10 -8
> Use bus_space_write_1() directly instead of NIC_PUT(), since
> - same io port is accessed by bus_space_read_1() in the same function, and
> - can bypass sc_reg_map[].
1997-10-15 01:15:51 +00:00
mhitch c7422c2d87 Fix typo - list/libc/gen/nlist_ecoff.c still wasn't compiling. 1997-10-15 00:59:01 +00:00
mark 693c30544f Initial commit of the EtherM network slot driver. 1997-10-15 00:29:25 +00:00
mark 0731581015 Define the IRQ and DMA interrupt numbers in the podule structures so these
are passed to child devices.
Support disabling the attachment of specific podules with boot time
arguments.
1997-10-15 00:02:09 +00:00
mark da99d2d6ce Use the bs_notimpl* functions for unsupported bus space operations. 1997-10-14 23:52:46 +00:00
thorpej 005a9c192c Add ISA and PCI "ne" instances as appropriate. 1997-10-14 23:30:55 +00:00
mark 1d4c6912a3 Initial commit of a driver for the Simtec IDE podule. This driver just
provides attachments and I/O specific functions for the generic
arm32/dev/wd driver.
1997-10-14 23:20:51 +00:00
thorpej 061f16048b Pulldown from marc-pcmcia branch: PCI front-end for the "ne" driver. 1997-10-14 23:12:17 +00:00
mark 55ce4217fd Updated for new location of the wd driver.
Use the interrupt specified in the podule structure when claiming
interrupts.
Updated the attach and probe declarations.
1997-10-14 23:09:38 +00:00
thorpej 62e78a5174 Correct a comment. 1997-10-14 23:06:30 +00:00
mark 62331864bc Remove profiling calls from assembly routines. 1997-10-14 23:05:03 +00:00
thorpej ec0566e1f8 Pulldown from marc-pcmcia branch: garbage-collect NE2000 support from
this file.  The "ne" driver is now used, instead.
1997-10-14 23:04:19 +00:00
thorpej 4dee791caf Pulldown from marc-pcmcia branch: ISA front-end for "ne" driver. 1997-10-14 23:01:10 +00:00
mark 432c66fa8d Updated for new arm32 source structure.
Updated declarations of attach and probe functions.
Don't define dummy functions for un-supported bus space operations,
instead use the bs_notimp*() functions.
1997-10-14 22:59:08 +00:00
thorpej 457454d81f Pull down from marc-pcmcia branch: Common code used by NE2000 and compatible
ethernet cards.
1997-10-14 22:54:09 +00:00
thorpej f58d4fbf3c From marc-pcmcia branch: add declaration of the "ne" driver for
NE2000-compatible ethernet cards.
1997-10-14 22:49:02 +00:00
mark 4162ff2287 Updated for source code restructure.
Fix attach and probe declarations.
1997-10-14 22:43:28 +00:00
mark 82441d4be5 Use the podule interrupt number provided by the podule structure when
attaching interrupts.
Fixed declarations of the attach and probe functions.
1997-10-14 22:31:50 +00:00
mark dcbc0a0652 Fix a couple of typos. 1997-10-14 22:27:41 +00:00
mark 48d4e57477 Sync with new version of podules. 1997-10-14 22:22:50 +00:00
mark fa8313f451 Add a definition for a ROM-less ether3 podule. 1997-10-14 22:22:08 +00:00
mark 1fae101a44 Cleanup the cache cleaning code and remove the dead code. 1997-10-14 22:09:24 +00:00
mark a49828e8be Use a consistant method for obtaining the interface host id from the
boot arguments.
1997-10-14 22:07:47 +00:00
christos 37f905c2b8 Someone [who will remain nameless] forgot this... 1997-10-14 22:00:05 +00:00
mark 853fbde7e4 arm32 kernel source restructure
- Updated for new structure.
1997-10-14 21:59:28 +00:00
mark fef5b2359a Config file for RiscPC installation. 1997-10-14 21:57:54 +00:00
mark c596f12569 Typical Acorn RiscPC kernel config file. 1997-10-14 21:57:36 +00:00
mark 7b208604b3 New kernel config for A7000 installations. 1997-10-14 21:57:14 +00:00
mark 08125a063f Base RC7500 config updated for recent changes. 1997-10-14 21:56:07 +00:00
mark 24c2593bbb My main development config updated for recent changes. 1997-10-14 21:55:33 +00:00
mark 252512158d COnfig file updated for recent changes. 1997-10-14 21:54:56 +00:00
mark 36985e609f Standard A7000 kernel config updated for recent changes. 1997-10-14 21:54:18 +00:00
mark 3c0e5593de These configs are no more. 1997-10-14 21:48:04 +00:00
mark 0a75e5a609 arm32 kernel source restructure
- New home of the RC7500 specific es driver. Moved with revision history
    from mainbus.
  - Really this driver should utilise the MI 91C90 driver and one day if
    I can get hold of some hardware to test with I will update it.
1997-10-14 21:45:21 +00:00
thorpej 768cd3034d Pull down from marc-pcmcia branch:
Add support for power management.
1997-10-14 21:41:00 +00:00
mark b0d9812b9c arm32 kernel source restructure
- This driver is RC7500 dependant and has been moved to the RC7500
    specific directory.
  - Ideally this driver should be using a dev/ic driver.
1997-10-14 21:38:49 +00:00
thorpej 10708da893 Pull down from marc-pcmcia branch:
Minor tweaks to deal with PCMCIA differences, and support for power
management.
1997-10-14 21:28:37 +00:00
mark 340335d484 Updated to reflect arm32 kernel source restructuring.
Use the bs_notimpl functions rather than creating a set of dummies
for un-supported bus space tag functions.
1997-10-14 21:25:01 +00:00
thorpej deaddb0981 Regen. 1997-10-14 20:53:34 +00:00
thorpej bff93e5477 Pull down from marc-pcmcia branch. 1997-10-14 20:52:38 +00:00
thorpej 799112abbe Pull down from marc-pcmcia branch:
Implement new ISA interface functions:
* isa_intr_alloc() - allocate an ISA IRQ
* isa_mem_alloc() - allocate ISA memory space
* isa_mem_free() - free ISA memory space
1997-10-14 20:34:38 +00:00
mark be34bc3390 Support kernels build with no floating point hardware or emulator support.
This will be the standard as we are switching to soft-float compiling.
Implemented ARM8 CPU support.
1997-10-14 20:01:54 +00:00
mark a1a5af087e arm32 kernel source restructure
- The floppy driver now attaches as a child of the pioc device.
1997-10-14 20:00:03 +00:00
mark c907dcc22c arm32 kernel source restructure
- Implement pioc device driver that handles the memory mapped serial,
    parallel, floppy and IDE interfaces.
  - Provide child attachments to the generic drivers for serial,
    parallel and IDE.
1997-10-14 19:57:39 +00:00
mark 6ebb4a60e3 arm32 kernel source restructure
- These files should be removed and the dev/ic driver used instead.
  - Until this time move these files to a bus independant location.
1997-10-14 19:43:27 +00:00
mark 8da7381fe1 Implement dummy bus space functions for use by bus space tags that do
not provide all bus space functions.
1997-10-14 19:40:39 +00:00
mark 187190c809 arm32 kernel source restructure
- Removed mainbus specific code and moved the basic drivers from
    arm32/mainbus to arm32/dev. Added code so that these drivers
    will support multiple attachments from different ARM busses.
1997-10-14 19:35:34 +00:00
mark 60cfd15fdc arm32 kernel source restructure
- Implement new time-of-day device. This device provides the
    inittodr() and resettodr() functions and is designed to be a child
    device of an RTC device. This allows one of multiple RTC's attached
    to be used to provide the basic time of day functions.
1997-10-14 19:19:40 +00:00
mark 17d9a824f2 arm32 kernel source restructure
- New home of the wd driver now the mainbus specific attachments have
    been removed so this can be shared between ARM busses. (rev history
    preserved).
1997-10-14 19:13:54 +00:00
mark 29f92bde4f arm32 kernel source restructure
- New home for the rtc driver now that the mainbus specific attachments
    have been removed.
  - This device will now parent a time-of-day clock device.
1997-10-14 19:07:20 +00:00
mark f15981dab6 arm32 kernel source restructure
- New home for lpt driver, (moved from arm32/mainbus) without the
    mainbus specific attachments. (Revision history preserved).
  - Hopefully this will be short lived with the new dev/ic/ lpt driver.
1997-10-14 19:04:08 +00:00
mark 713c03a3d5 arm32 kernel source restructure
- New home for the com driver, (moved from arm32/mainbus) without
    and bus specific attachments. (Revision history maintained)
1997-10-14 19:00:37 +00:00
mark 416b5e2fd3 arm32 kernel source restructure
- These drivers have had the mainbus specific attachments removed so
    that they can be shared between arm32 busses.
  - Moved to arm32/dev
1997-10-14 18:55:49 +00:00
augustss 0d79fbe5c5 Don't test for unused methods. 1997-10-14 18:43:42 +00:00
gwr 01645a9745 Minor improvement to avoid re-defining days_in_month(). 1997-10-14 17:25:57 +00:00
is 59129515bb Finalize the isa/lpt.c split:
The isa attachment code is in isa/lpt_isa.c now, which attaches to the
already created ic/lpt* files.
You don't need to change your config files, but you need to re-"config" if
using lpt at isa.
XXX The "lpt" device definition should be in sys/conf/files instead, but to
my knowledge, there are some ports which have private copies of lpt, and would
choke on that. No need to make people unhappy 7 days before release branching.
1997-10-14 15:50:15 +00:00
mjacob c83fc3eeb6 Remove __VM_PMAP_HACK. 1997-10-14 15:29:50 +00:00
mark b0e76afee4 arm32 kernel source restructure
- Moved the audio files that are VIDC dependant from the mainbus
    directory to the vidc directory. (revision history preserved)
1997-10-14 12:03:10 +00:00
mark 107eb31dcb arm32 kernel source restructure
- makemodes.c has moved from the arm32/arm32 directory since it build
    monitor information for VIDC based displays. Revision history
    preserved.
1997-10-14 11:59:49 +00:00
mark 84d5e5ef0a arm32 kernel source restructure
- The devices are VIDC specific and thus are moving to the arm32/vidc
    directory.
1997-10-14 11:53:59 +00:00
mark 9a567bec80 arm32 kernel source restructure.
- Implement a vidc device. This device is the parent for all the
    devices that are VIDC dependant e.g. video and audio.
1997-10-14 11:52:08 +00:00
mark 7b377e8c50 arm32 kernel source restructure
- the console code from arm32/dev has been moved here as it is VIDC
    specific.
  - A few minoir code cleanups to help it fit with the restructures VIDC
    sources
1997-10-14 11:49:11 +00:00
mark 553af4fcee arm32 kernel source restructure
- Implement a vidcvideo device to act as the parent for the VIDC console.
1997-10-14 11:47:17 +00:00
mark 8d8f4fc1a7 arm32 kernel source restructure
- Moved here from arm32/dev as these files are specific to the
    VIDC console.
1997-10-14 11:45:30 +00:00
mark 0c35c55f78 arm32 kernel source restructure
- These file are specific to the VIDC base console.
1997-10-14 11:36:51 +00:00
mark ade593980f arm32 kernel source restructure
- These files are moving to a VIDC specific directory.
1997-10-14 11:35:46 +00:00
mark bb148db380 Declare memory_disk_size here. 1997-10-14 11:32:47 +00:00
mark da21556c35 Major overhaul.
Removed all the old code for allocation / management of level 1 page
tables.
Implemented new static / dynamic L1 page table allocation  / management
using vm_page_alloc_memory().
Fixed bug in pmap_page_index() when specifing addresses between memory
banks.
Serious cleanup up of the comments
1997-10-14 11:31:30 +00:00
mark 4c8c2c8bc7 Replace the DEBUG_VMMACHDEP guards with PMAP_DEBUG which is more
universal.
Cleaned up some of the debug code.
1997-10-14 11:23:54 +00:00
mark c565f1cfdf Removed the VALIDATE_TRAPFRAME junk.
Removed a *load* of dead / old debugging code.
Cleaned up and indented various comments.
1997-10-14 11:22:48 +00:00
mark cc3928cd66 arm32 kernel source restructure
- Major overhaul.
  - Removed all the RiscPC and RC7500 specific code and moved that into
    separate files for the two machine architectures.
  - This routine now provides support for the machine specific machdep
    code and provides cpu_startup().
1997-10-14 11:21:21 +00:00
mark 5be47da72c Cleanup up and correctly indented lots of comments.
Removed all the VALIDATE_TRAPFRAME junk.
Generally spring cleaned the code.
1997-10-14 11:19:15 +00:00
matthias 6aca6ab9a4 Apply Ian Dall's patch from kern/4004. Ian's comment:
The following patch employs a smarter adaptive polling
	scheme. It also improves the comments, in particular giving
	due credit to Phil Budne for his efforts in nunderstanding
	the device. It also relaxes the pattern for auto config so
	more devices match.
1997-10-14 11:18:18 +00:00
mark 9065e731d6 arm32 kernel source retructure
- New versions of the drivers for the devices that really are IOMD
    specific. The old arm32/mainbus drivers have either been rewritten
    and are now child devices of the IOMD or they have been restructured
    and split into generic drivers will IOMD specific attachments.
1997-10-14 11:16:35 +00:00
mark f26efbb3d5 arm32 kernel source restructure
- These files are not generic or even really mainbus specific.
    They are IOMD specific device.
  - These devices have been re-written as child devices of the IOMD
    device and the new versions will take up residence in the arm32/iomd
    directory with the other IOMD specific code.
1997-10-14 11:13:20 +00:00
mark 480bd07ef8 arm32 kernel source restructure
- IOMD specific clock support. This used to the the generic ARM clock
    support but is now specific to the IOMD device.
  - Updated to support new IOMD device etc.
1997-10-14 11:09:56 +00:00
mark b841a746a6 arm32 kernel source restructure
- IOMD register definitions moved from arm32/include/
  - Updated for new IOMD device and all now base relative.
1997-10-14 11:08:45 +00:00
mark b478812b9b arm32 kernel source restructure
- Implement basic DMA support for the IOMD device.
1997-10-14 11:06:56 +00:00
mark 06d8713b3d arm32 kernel source restructure.
- IOMD specific interrupt handling. These files are mainly the old
    arch/arm32/irq* files moved here and updated for new iomd device etc.
    (revision history maintained).
1997-10-14 11:05:58 +00:00
mark 59b6709696 arm32 kernel source restructure
- Create an independ IOMD device that can be utilised by all ARM
    architectures that use an IOMD.
  - Configure all IOMD child devices based on the IOMD type and features.
1997-10-14 10:58:48 +00:00
mark a567ef9bf4 arm32 kernel source structure
- RiscPC specific keyboard mapping information. This used to be
    conditional code in the keyboard driver.
1997-10-14 10:55:48 +00:00
mark b6ee6c1e1d arm32 kernel source restructure.
- Separated the RiscPC specific boot/initialisation code from
    arm32/machdep.
1997-10-14 10:54:35 +00:00
mark 09a3b914e4 arm32 kernel source restructure
- RC7500 specific keyboard mapping information. This used to be
    conditional code in the keyboard driver.
1997-10-14 10:52:39 +00:00
mark efe2e7e6cd arm32 kernel source restructure
- RC7500 machine dependant code. This contains the RC7500 specific
    initialisation code that used to be in arm32/machdep.c
1997-10-14 10:51:39 +00:00
mark 7a8e498fd3 arm32 kernel source restucture.
- New home for RC7500 prom files.
1997-10-14 10:49:53 +00:00
mark dc8e90583d arm32 kernel source restructure
- These files have moved (with revision history) to the RC7500 specific
    directory.
1997-10-14 10:48:19 +00:00
mark 90d4f588a0 arm32 kernel source restructure
- Moved from arch/arm32/arm32 to IOMD specific home retaining history.
1997-10-14 10:40:27 +00:00
mark 258b4c88c5 Cleaned up and indented a lot of comments.
Removed the VALIDATE_TRAPFRAME junk.
Use the definitions in machine/trap.h for the breakpoints.
1997-10-14 10:28:07 +00:00
mark 8075222122 Remove a load of control characters lurking in printf statements.
Most of this file is now destined for the scrap heap.
1997-10-14 10:26:56 +00:00
mark 4bb8bfc3e6 Handle requests for reading and writing the FP registers when no
floating point emulator is compiled in - Ignore the write and return
zeros for the read.
1997-10-14 10:25:48 +00:00
mark b5a19b0a33 Removed the soft interrupt code that now resides in intr.c
Minor code cleanups.
1997-10-14 10:22:01 +00:00
mark 6bc5d93ea6 Implement arm32_drain_write_buffer sysarch() call. 1997-10-14 10:20:48 +00:00
mark 227ca87739 Clean up a few label declarations. 1997-10-14 10:18:45 +00:00
mark 4280862834 This is now just a front end to the general purpose disassembler
in disassem.c
1997-10-14 10:18:02 +00:00
mark c54b8cd7c1 Only flush specific TLB entries after modifing page table entries.
Recognised conditional breakpoints.
SHow the ABT, UND and IRQ mode stack pointer registers in register dumps.
Couple of minor fixups.
1997-10-14 10:16:39 +00:00
mark b9beefc137 Stablised the trace() command. Don't try and trace things that are
obviously not a stack frame.
1997-10-14 10:12:04 +00:00
mark cb5b2b1176 Removed a couple of blank lines. 1997-10-14 10:11:06 +00:00
mark 89f95aa87f Remove explict profiling calls for assembly functions.
Use machine/asm.h macros for declaring assembly functions.
Cleaned up a few comments.
1997-10-14 10:09:46 +00:00
mark c3d0f4999d Added ARM8 CPU support.
Improved SA110 cache cleaning.
Use the macros in machine/asm.h for function declarations.
1997-10-14 10:07:34 +00:00
mark c199ce39e2 Added ARM8 support.
Added support for cpu specific prefetch abort handlers.
Cleanup CPU fault correction code.
Implement generic handling of CPU boot options.
1997-10-14 10:05:39 +00:00
mark f6fc0e468a Move the random device to major 52 as major 50 is already spoken for.
Support a com device as a console.
1997-10-14 10:02:49 +00:00
mark 6cf0deab5f Removed unused variable pamp_debug_level.
Dump the spl masks during configure when printing the ipl levels.
1997-10-14 09:59:40 +00:00
mark b101d67f67 Removed the VALIDATE_TRAPFRAME junk. 1997-10-14 09:58:14 +00:00
mark c7ea5541dc Use the macros defined in machine/trap.h for breakpoint information.
Make sure the cache in synchronised when modifying memory.
1997-10-14 09:57:28 +00:00
mark 08970e572c Use the macros defined in asm.h for all assembly function declarations. 1997-10-14 09:54:31 +00:00
mark eb81503cb0 arm32 kernel source restructure
- Debugged so mis-disassembled instructions.
  - Change the main disassembled so that the function to use for
    printing can be passed in as an parameter.
  - Provide wrappers for disassembling using the standard kernel
    printf() and db_printf()
1997-10-14 09:35:32 +00:00
mark cf50b3771f Optimised version of in_cksum(). This started life as the sparc one
and then had the inline assembly replaced.
1997-10-14 09:32:29 +00:00
mark 270cc3f864 New file to handle the ARM generic software interrupts etc. in the
restructured sources.
1997-10-14 09:31:14 +00:00
mark a18400067c arm32 kernel source restructure
- These files are IOMD specific and as such are moving to the IOMD
    specific directory arch/arm32/iomd
1997-10-14 09:28:06 +00:00
mark 16ef9e8936 arm32 kernel source restructure.
- This file is VIDC specific and is moving to arch/arm32/vidc/
1997-10-14 09:25:13 +00:00
mark 153bcb135c arm32 kernel source restructure.
- This file is IOMD specific and as such has moved to arch/arm32/iomd/
1997-10-14 09:22:45 +00:00
mark fb9c150c48 arm32 kernel source restructure
- Most changes are comment cleanups.
  _ iomd.h is no longer an exported header.
  - Added intr.h for MI interrupt definitions.
  - Added definitions for ARM8 cpu.
  - Added bus dma support.
1997-10-14 09:19:59 +00:00
mark cc6030f45b List the new random device. 1997-10-14 09:06:52 +00:00
mark 40648232db arm32 kernel source restructure
- Moved with revision history to kshell/kshell_debug.c
1997-10-14 09:02:58 +00:00
mark 1f128863e3 arm32 kernel source restructure
- Renamed files with previous revision history maintained
  - Minor changes for restructure.
1997-10-14 09:01:37 +00:00
pk dfbda96da0 Use `long' to cast a pointer to an integer and back. 1997-10-14 08:50:18 +00:00
thorpej b174d20bc1 Define IP_RETURNMTU. (Matt missed this part of his diff, I guess :-) 1997-10-14 08:38:01 +00:00
mark 9a761f480a arm32 kernel source restructure
- These files are being renamed.
1997-10-14 08:00:34 +00:00
mark b360e67c2e arm32 kernel source restructure
- Removed explict profiling calls from the assembly routines
  - Use the *ENTRY() macros on all assembly functions.
  - Clean up exception strings.
1997-10-14 07:56:48 +00:00
mark 05a00dc8d4 arm32 kernel source restructure
- These files are moving home.
1997-10-14 07:49:19 +00:00
sakamoto 837124b35c add bebox 1997-10-14 07:15:45 +00:00
sakamoto fe3d055d41 Initial commit of NetBSD/bebox port. 1997-10-14 06:47:17 +00:00
cjs c44bfc9eae Make compile without DIAGNOSTIC set. 1997-10-14 06:22:02 +00:00
jtk d405a9e1d6 split APM stuff into APM and BIOSCALL specific conditionals
move some functions to separate files
1997-10-14 03:57:09 +00:00
jtk f4f693c3a5 move arch/i386/apm_init stuff to arch/i386/bioscall via repository copy/tag strip 1997-10-14 03:56:24 +00:00
jtk 35a23b7856 add bioscall attribute and bioscall.s/apmcall.s files 1997-10-14 03:55:51 +00:00
jtk 36d9fea6ef use NBIOSCALL and NAPM where appropriate (split from former monolithic "NAPM") 1997-10-14 03:55:06 +00:00
jtk a3cd5fc7ba split out apmcall and bioscall into separate files, for ease of modular
construction into other drivers (eventually)
1997-10-14 03:54:18 +00:00
matt 8c42ff649b Add support for returning maximum supported MTU when ip_output fails with
EMSGSIZE.
1997-10-14 00:52:39 +00:00
gwr aea301d0c0 Add a call to idprom_init(). 1997-10-13 22:18:52 +00:00
gwr 3716c3b16b Add idprom.c 1997-10-13 21:59:24 +00:00
gwr 25e542020a Move idprom stuff from netif_sun.c to idprom.c (new). 1997-10-13 21:57:58 +00:00
gwr bf1ba6aebb Provide declarations for _STANDALONE also. 1997-10-13 21:37:02 +00:00
explorer be3b267427 Update notice to indicate the the IDEAS were derived from Ted's code, not the
code itself, per phone conversation with Ted
1997-10-13 19:59:26 +00:00
pk e95c79e586 Keep a private pool of auxiliary resources (vndxfer & vndbuf structures)
used to setup I/O to regular files.

Implemented in a somewhat generic way, for what it's worth.
1997-10-13 19:15:19 +00:00
explorer c713bc804e update copyright to include the CORRECT spelling of Ted Ts'o's name 1997-10-13 18:34:29 +00:00
lukem 28558b28eb rcsid fascism 1997-10-13 14:22:22 +00:00
lukem 7656b49be6 rcsid fascism 1997-10-13 11:55:15 +00:00
leo a1025a03cc Correct TBIS_20 parameters, add DCFA/DCPA defines for the 020/030 (From
Ignatios).
1997-10-13 11:21:12 +00:00
leo 49867b6097 Correct TBIS_20 parameters, add DCFA/DCPA defines for the 020/030 (From
Ignatios).
1997-10-13 11:21:09 +00:00
veego 9487518196 Add the define for RND_TYPE_TTY. 1997-10-13 10:24:21 +00:00
drochner e14496efb8 Ignore BIOS partition table and disklabel for floppys and RAW_PART,
for consistency with the kernel.
1997-10-13 09:26:29 +00:00
fvdl 8cc94a2371 Get rid of some MARKCACHED calls I thought better of. Make sure d_reclen
is aligned for off_t access, or things will break on the Alpha.
1997-10-13 08:35:53 +00:00
cjs 0e4e4777f8 Add pseudo-device rnd. 1997-10-13 06:59:58 +00:00
scottr 1895730762 Fix an oversight in chrtoblktab[], kindly pointed out by Michael Graff. 1997-10-13 03:59:18 +00:00
explorer 80513cb5ae o Make usage of /dev/random dependant on
pseudo-device   rnd                     # /dev/random and in-kernel generator
  in config files.

o Add declaration to all architectures.

o Clean up copyright message in rnd.c, rnd.h, and rndpool.c to include
  that this code is derived in part from Ted Tyso's linux code.
1997-10-13 00:46:08 +00:00
thorpej 1ae5ca3411 Initialize interrupt handlers and message buffer in mvme68k_init(). 1997-10-13 00:21:08 +00:00
thorpej 118885e061 Consolidate some initialization in mvme68k_init(). 1997-10-13 00:19:37 +00:00
thorpej 05c4cae34d We don't need to call isrinit() twice. 1997-10-13 00:18:28 +00:00
fvdl c3ce5f02ea Do negative lookup caching. Use a timestamp of the oldest negative cache
entry, so it can be checked against directory modification time for
validity.
1997-10-12 23:13:35 +00:00
mark 26671f6e12 Removed the commented out FPE option as this has not been used for a
couple of years.
1997-10-12 21:34:30 +00:00
mark 296f0c6a2d Removed the fpe-sp files as we have not built them for about 2 years now. 1997-10-12 21:32:55 +00:00
mark d8e68d4976 This code is so dead it should have been removed a year ago. 1997-10-12 21:31:42 +00:00
mark 96e18bb7fb Removed as these functions are now in libkern. 1997-10-12 21:28:38 +00:00
mark b6486b8e44 Removed files memset.S and bcopy.S as these are now in libkern. 1997-10-12 21:27:44 +00:00
mark 4428e19e76 Updated with new files from libc. 1997-10-12 21:26:37 +00:00
mark ce8b7a418a Copy files over from libc. 1997-10-12 21:24:00 +00:00
mark 8121735fb0 This file is replaced by divsi3.S 1997-10-12 21:23:36 +00:00
gwr 6c5766e1ce Make this work on the 3/470 1997-10-12 21:08:35 +00:00
mhitch 31508593d3 Oops, wrong file was committed. Get the right one this time. 1997-10-12 19:32:12 +00:00
oki 16bcf097c2 call arpintr() if NARP > 0. 1997-10-12 18:49:25 +00:00
thorpej d7e08a2471 Don't be verbose by default. 1997-10-12 18:49:09 +00:00
thorpej 4dd0bf9d01 - Consolidate some pre-main initialization into an hp300_init() function.
- Initialize the message buffer earlier, in hp300_init(), rather than in
  cpu_startup(), so that it's initialized before main() is called.
1997-10-12 18:47:51 +00:00
thorpej c3637caf77 Consolidate some pre-main initialization into an hp300_init() function. 1997-10-12 18:45:48 +00:00
thorpej f53f16dd2e Move the prototype of hp300_calibrate_delay() to cpu.h 1997-10-12 18:37:56 +00:00
mjacob 05b9221a1a Hello? If we're doing block positioning a timeout of greater than 5 seconds
is probably going to be necessary.
1997-10-12 18:34:00 +00:00
oki 075543ca76 Replace trap1 and trap2 to native 4.3 process. 1997-10-12 18:25:36 +00:00
oki e2f8a8b9cd Oops, dk_establish still need.
Backout previous commit, added prototype.
1997-10-12 18:23:18 +00:00
oki 787edcfff0 Fix compiler warnings. 1997-10-12 18:20:21 +00:00
oki f78ab6d1cc Added 'arp' to Neptune-X ethernet interface.
Removed local if_se entry (no longer works.)
1997-10-12 18:16:43 +00:00
oki 570278ec01 Added prototypes. 1997-10-12 18:06:21 +00:00
oki f5733259c7 Added FPU_68060 1997-10-12 18:02:32 +00:00
thorpej 116fe63c4e Remove extern declaration of devioc[]. 1997-10-12 17:53:46 +00:00
mycroft 4666f77376 Do *not* free the mbuf chain we just created. 1997-10-12 16:35:10 +00:00
scw e01a82f2a0 Describe how to configure and use VMEbus RAM cards with an MVME147 card. 1997-10-12 15:45:12 +00:00
scw 73699f5ad7 Fix bug whereby if no VMEbus RAM is defined, a MACHINE_NONCONTIG kernel
would fail to boot.
1997-10-12 15:41:39 +00:00
scw 01e0c4c896 Move MACHINE_NONCONTIG from std.mvme68k to <machine/vmparam.h> as per
Jason's request.
1997-10-12 15:39:35 +00:00
oki fd9fae64cc Added prototype. 1997-10-12 14:44:12 +00:00
bouyer 7a337eca27 Ops, forgot to 'cvs add' theses. Pointed out by enami tsugutomo. 1997-10-12 13:27:59 +00:00
oki 34c4ab5da2 Prune unused function. 1997-10-12 12:15:15 +00:00
oki 9418615252 Added prototypes. 1997-10-12 12:13:48 +00:00
oki 1db0621f0e Add prototype. 1997-10-12 06:41:45 +00:00
christos b848861bfd Add ENDIANNESS constant 1997-10-11 19:11:10 +00:00
mhitch 7c5af2d5da Fix typo from DIOCGDEFLABEL implementation. 1997-10-11 16:13:19 +00:00
mycroft 7b89784c31 GC some bogus definitions. 1997-10-11 16:12:55 +00:00
mycroft 3081c6f8cf AudioC[A-Z] -> AudioC[a-z]
AudioElinear -> AudioEslinear
1997-10-11 12:43:51 +00:00
mycroft b551325998 AudioElinear -> AudioEslinear 1997-10-11 12:36:04 +00:00
mycroft 2d019e5efd AudioC[A-Z] -> AudioC[a-z] 1997-10-11 11:28:49 +00:00
mycroft 51af9f7ed1 Make class and port names consistently lower case. Also, change `linear' to
`slinear'.
1997-10-11 11:24:34 +00:00
mycroft 3cdff9d435 GETPROPS does not indicate whether the device is currently in full-duplex
mode.  Reinstate GETFD to return this information.
1997-10-11 11:16:28 +00:00
oki 9ce308d6d6 Added header file for prototype. 1997-10-11 11:15:00 +00:00
oki e23506ac2e Added header file. 1997-10-11 11:13:54 +00:00
mycroft 9803f46796 Minor rearrangement to match other files. 1997-10-11 09:12:18 +00:00
mycroft a7aef46287 Use m68k/Makefile.inc. 1997-10-11 09:11:17 +00:00
mycroft 20b05a6bc4 Make these closer to working. 1997-10-11 09:10:25 +00:00
mycroft 448c9be261 Common stuff, like mips/Makefile.inc. 1997-10-11 09:10:09 +00:00
mycroft 5c8d588138 Nuke NOOBJ. 1997-10-11 08:44:42 +00:00
mycroft acf0e569a5 Update all the tags goo, and use bsd.subdir.mk. 1997-10-11 08:42:02 +00:00
scottr 017e6c7f10 Address PR 4120 by synchronizing v{,un}mapbuf() with the i386 vm_machdep.c,
v 1.27, pulling in changes made there by Charles Hannum.  Also, incorporate
a few tweaks made by Gordon W. Ross in the sun3 version of this change.
1997-10-11 06:38:45 +00:00
scottr c49762b3d3 Implement assembly byte-swap functions. 1997-10-11 04:28:40 +00:00
fvdl 01e7c03e2e Move cookie heuristic function inside ifdef NFS, to make a kernel with server
code but without client code link again. From Erik Bertelsen, PR 4259
1997-10-11 02:09:48 +00:00
oki 8e80f913ed Use CLEANFILES= instead of target clean. 1997-10-11 01:19:15 +00:00
briggs 9f3c7b8b63 Treat an unknown A/UX partition as SCRATCH instead of ignoring it. 1997-10-11 01:03:47 +00:00
oki aca42300b3 Use CLEANFILES= instead of target clean. 1997-10-11 00:26:51 +00:00
enami 499f056402 Backout last change for ufs_readlink. The permission check is now done
in vfs layer.
1997-10-11 00:10:57 +00:00
enami 8092be0770 Check exec bit of symbolic link when traversing path and do it in vfs layer.
Suggested by der Mouse.  Ok'ed by Jason R. Thorpe.
1997-10-11 00:08:08 +00:00
enami db7f1ad2ad Check read permission of symbolic link in vfs layer, when doing readlink(2).
Suggested by der Mouse.  Ok'ed by Jason R. Thorpe.
1997-10-11 00:05:15 +00:00
fvdl d85f38cbec Fix braino in my interpretation of the eof flag to VOP_READDIR. 1997-10-10 22:16:04 +00:00
oki 051b06a759 Add prototypes. 1997-10-10 21:45:18 +00:00
oki a9685de195 Fdopen --> fdopen 1997-10-10 21:42:38 +00:00
oki affaadc59f Prune unused function. 1997-10-10 21:40:50 +00:00
oki a6f8cf735d WARNify, add prototype, remove use of register. 1997-10-10 17:48:06 +00:00
oki 35c6ab7eaf Add prototype, remove use of register. 1997-10-10 17:46:09 +00:00
oki 5a60f8df47 Remove use of register. 1997-10-10 17:43:09 +00:00
explorer e4e727226c For network devices, collect timing information and mix into the pool,
but do not assume any entopy is gathered.  It can be enabled using an
IOCTL again if the user desires.

Note that the mix function uses xor, so at worse an attacker can twiddle
bits in the pool, but not into a known state assuming it started as
an unknown.
1997-10-10 16:35:00 +00:00
christos 328602f8d7 Add definitions for bpf_int and bpf_u_int; these are not used in the kernel,
but libpcap expects them if we advertize our current BPF_VERSION.
1997-10-10 14:15:32 +00:00
fvdl 8aa50b9159 Fix unitialized var warning (did not appear on i386, but did on sparc). 1997-10-10 13:21:51 +00:00
mrg 55c881fbd2 when creating the per-device extent, use from 0 to nblks, and then
extent_alloc_region() any skipped space.  this is (basically) what
the previous swap code did (with rmaps rather than extents).
1997-10-10 13:16:24 +00:00
fvdl 93b08eefc2 u_long -> off_t, I missed the big endian case. From Juergen Hannken-Illjes 1997-10-10 13:03:32 +00:00
oki 9dfe683ff7 Add missing prototypes. 1997-10-10 12:55:26 +00:00
fvdl cd215502cb Regen. 1997-10-10 12:54:39 +00:00
oki 87e21e080a Add missing prototype. 1997-10-10 12:54:02 +00:00
fvdl 914e939800 sys_getdirentries -> compat_12_sys_getdirentries from Juergen Hannken-Illjes. 1997-10-10 12:45:01 +00:00
leo 6ecab62b97 VM_MAX_ADDRESS is the user max address -- adjust (From Chris Hopps). 1997-10-10 11:05:53 +00:00
bouyer f5d86626ec Update for 64 bits directory cookies. 1997-10-10 10:00:12 +00:00
jeremy d2d5e50d91 Rewrote the comments about the operation of the I/O mapper to make them more
accurate and (hopefully) easier to understand.
1997-10-10 09:50:03 +00:00
cjs 984390f178 Add now-working ipfilter. 1997-10-10 08:54:14 +00:00
jonathan 8494c2cf67 Correct name of author in license clause 3, as per email with mrg. 1997-10-10 08:31:10 +00:00
mycroft 61a9f1c6a6 GC pageproc and bclnlist. 1997-10-10 08:19:41 +00:00
mycroft 16652e8449 Regen. 1997-10-10 06:49:08 +00:00
mycroft 523d84775a Emulate mremap(2) by returning ENOMEM for now. This should be sufficient for
realloc(3) and other uses.  From Matthias Scheler in PR 3920.
1997-10-10 06:25:34 +00:00
scottr a7515413d8 Remove advertising clause. 1997-10-10 05:54:48 +00:00
mrg 74f573d85d remove advertising clause from all my licenses. 1997-10-10 05:39:47 +00:00
mhitch 76b5a9517f The Blizzard-IV SCSI driver is now separate from the Blizzard-II. 1997-10-10 04:56:09 +00:00
mhitch 06ff9502c2 Add separate driver frontend for the Blizzard-IV; the differences with
the Blizzard-II are more extensive than I orginally thought.
1997-10-10 04:53:32 +00:00
briggs 71a2747c66 Ignore partitions of type Apple_Driver43 when filling the fake disklabel. 1997-10-10 04:01:02 +00:00
jonathan 2ebcc702b9 Don't check the actual CPU type unless we're in the _KERNEL, or
src/lib/libc/gen/nlist_ecoff.c breaks.
1997-10-10 03:24:49 +00:00
fvdl 6a0575f33e Last arg to VOP_READDIR became off_t. 1997-10-10 02:13:42 +00:00
fvdl fa2348ae01 Add cookie field to buffer structure to be able to store 64bit offsets.
Redo NFS mounting flags; split flags into internal and public, having
2 seperate fields in the NFS mount structure. Add prototype for
vn_readdir to vnode.h
1997-10-10 02:12:21 +00:00
fvdl 541b204984 Add vn_readdir function for use in both the old getdirentries and
the new getdents(). Add getdents().
1997-10-10 02:09:30 +00:00
fvdl b691680ac4 Regen. 1997-10-10 02:07:55 +00:00
fvdl ab03b9752b Make last argument to VOP_READDIR off_t. 1997-10-10 02:07:00 +00:00
fvdl 94781a2402 Regen. 1997-10-10 02:06:00 +00:00
mycroft 7bbb69534f Add a missing splx(). From augustss. 1997-10-10 02:05:36 +00:00
fvdl 5bfc60c1e5 Regen. 1997-10-10 02:05:21 +00:00
fvdl da29e54dfb Add getdents(). Rename getdirentries to compat_12_getdirentries. 1997-10-10 02:03:47 +00:00
fvdl ce56587f15 Bump last argument to VOP_READDIR to off_t (from u_long). 1997-10-10 02:01:05 +00:00
enami fdd96411d4 Regen from syscalls.master 1.9. 1997-10-10 02:01:03 +00:00
fvdl ebffddb531 Bump last argument to VOP_READDIR to off_t (from u_long). 1997-10-10 02:01:02 +00:00
enami 9b1963acd5 Regen from syscalls.master 1.9. 1997-10-10 02:00:57 +00:00
fvdl ab940dcf06 Bump last argument to VOP_READDIR to off_t (from u_long). 1997-10-10 02:00:56 +00:00
enami 6e4ffc538f Regen from syscalls.master 1.9. 1997-10-10 02:00:54 +00:00
fvdl fd5433c6bc Bump last argument to VOP_READDIR to off_t (from u_long). 1997-10-10 01:57:31 +00:00
enami 3c1a195715 lchown at #254. 1997-10-10 01:55:33 +00:00
explorer 525a0ad7a5 Add hooks to use the kernel random system to generate TCP sequence numbers. 1997-10-10 01:54:32 +00:00
fvdl 7f7d814e67 * New directory entry caching system. Provides full caching of any
directory cookie that may be thrown back at us from userspace, up
  to a size limit. Fixes double entry problem.
* Split flags for internal and external use in the NFS mount structure.
* Fix some buffer structure fields that weren're being used correctly.
* Fix missing directory cache inval call in nfs_open.
* Limit on NFS_DIRBLKSIZ no longer needed, bumped to the more reasonable
  value of 8k.
* Various other things that I forget, all related to the dir caching
  somehow, though.
1997-10-10 01:53:17 +00:00
explorer 790e114732 Add hooks to use the kernel random system to generate TCP sequence numbers. 1997-10-10 01:51:07 +00:00
enami 23b3ed1d5c New function freebsd_sys_lchown() to emulate FreeBSD lchown(2). 1997-10-10 01:50:55 +00:00
explorer 735c351f71 Add hooks to insert timing info into the random system 1997-10-10 01:49:12 +00:00
fvdl 86ecc45306 Signal error when getting a 64 bit offset cookie that can't be stored
in 32 bits. Provide an error message to the user, and return EINVAL.
Also, pay attention to the EOF flag from VOP_READDIR. Correct a
misspell in a panic message.
1997-10-10 01:47:41 +00:00
fvdl 811fbe17b5 Add getdirentries backward compat syscall. Provide common function to
signal cookie overflow during emulated getdents and friends.
1997-10-10 01:46:59 +00:00
fvdl 49d58c7d89 Regen. 1997-10-10 01:45:48 +00:00
fvdl b35ec5940b Channel FreeBSD getdirentries to our now obsolete getdirentries call. 1997-10-10 01:44:59 +00:00
fvdl d6e5e295fa Signal error when getting a 64 bit offset cookie that can't be stored
in 32 bits. Provide an error message to the user, and return EINVAL.
Also, pay attention to the EOF flag from VOP_READDIR. Correct a
misspell in a panic message.
1997-10-10 01:42:21 +00:00
jeremy 88a82f5e7a Corrected typo in comments. 1997-10-10 01:36:32 +00:00
explorer 1c276eafe2 Add hooks to insert timing info into the random system 1997-10-10 01:19:37 +00:00
explorer b5feb41072 Add hooks to insert timing info into the random system 1997-10-10 01:09:03 +00:00
explorer d8c3ad024d define rnd cdev here 1997-10-10 00:44:33 +00:00
explorer bde51b6f93 add /dev/random as major device 46 1997-10-09 23:59:15 +00:00
explorer dac3eb2c9b make /dev/random standard, per message from Jason 1997-10-09 23:53:01 +00:00
explorer 32a092e1cf define the 'options DEVRANDOM' thing, and which files to include to use it. 1997-10-09 23:19:24 +00:00
explorer d8e4695634 add hooks to initialize the random driver 1997-10-09 23:17:37 +00:00
explorer 2021c11247 Addition of /dev/random and in-kernel random value generation.
Over the next few days (thank goodness for long weekends) I'll be hunting
down device drivers and adding hooks to gather entropy from many devices,
and adding the conf.c changes to the various port's device structs to
define major numbers for /dev/random and /dev/urandom.
1997-10-09 23:13:12 +00:00
scw 2dde7e366d Added support for VMEbus RAM cards via MACHINE_NONCONTIG.
The kernel should still compile and run without it, but I've
put the config option in std.mvme68k so it's built like this
as standard.
1997-10-09 21:39:16 +00:00
is 9f6d6708f4 Help crosscompiling, by as -> $(AS). Define AS?= as in the calling
Makefile.$(ARCH)es. Will hopefully fix the (remaining) part or pr4010.
1997-10-09 20:40:18 +00:00
is eb54c04b14 Don't forget to set the scale variable even if we dont need to sign-extend it.
From PR 4236 by Norman Mackenzie.
1997-10-09 19:19:01 +00:00
christos 6155bdd332 GC bd_sig 1997-10-09 18:58:08 +00:00
christos 485a068ec2 bpf_filter.c:
- update copyright
	- add their rcsid
	- initialize some variables later later for consistency
	  with the current code.
	- change char to u_char to match the current code.
1997-10-09 18:20:04 +00:00
christos 7e9caf0d73 - add their rcsid
- add ifdef to match current code
1997-10-09 18:19:21 +00:00
christos b13f94b5bf sync with bpf-1.2a1
- fix whitespace
	- add rcsid
	- add BPF_RELEASE define
	- add BIOCSTCPF BIOCSUDPF
1997-10-09 18:18:37 +00:00
christos 3108a74999 Sync with bpf-1.2a1
- whitespace
	- add rcsid; our sccsid is newer than the one on 1.2a1.
	- change prototype to add mtu
	- change size_t to u_int for consistency.
	- add alignment stuff in bpf_movein
	- add more consistency checks bpf_movein
	- use one uiomove and then bcopy the data in bpf_movein
	- update the comment for the panic when ifpromisc fails.
	- separate the case when we have non blocking I/O and
	  no data and return EWOULDBLOCK
	- check for other errors and return them
	- pass the mtu to bpf_movein
	- Add the BPF_KERN_FILTER junk, just so that we keep up with the code
	- remove BIOCSRSIG, BIOCGRSIG; SIGIO does this well.
	- don't add the SIOCGIFADDR stuff (it is bogus)
	- Check for malloc return for consistency.
	- comment should say poll
	- change formatting to match the current code.
	- save and restore the pcount and flags in case we fail to set the
	  interface into promiscuous mode.
	- fix spelling typo.
1997-10-09 18:17:19 +00:00
bouyer 6ab3092b11 Add byte-swapping functions (bswap16, bswap32, bswap64) to libkern.
Only assembly version for i386 bswap16 and bswap32 for now (bswap64 uses
bswap32). Contribution of assembly versions of these are welcome.
Add byte-swapping of ext2fs metadata for big-endian systems.
Tested on i386 and sparc.
1997-10-09 15:42:19 +00:00
oki 15d57c4473 Oops, fixed error in previous commit. 1997-10-09 13:26:18 +00:00
oki deff7d5471 Added prototype. 1997-10-09 13:19:26 +00:00
mycroft 4383ea0b92 Make openstr[] const. 1997-10-09 13:12:01 +00:00
mycroft 57f5a4a68d Add another bit of const poisoning. 1997-10-09 13:05:59 +00:00
mycroft 8579e3480d Make memname[] const (but only shallow, since the array may be modified). 1997-10-09 13:02:18 +00:00
oki a6a631ac6c Added missing prototype. 1997-10-09 13:00:49 +00:00
mycroft 64d080efe0 Make various standard wmesg strings const. 1997-10-09 12:59:50 +00:00
oki a947a7eff9 Remove __BDEVSW_DUMP_OLD_TYPE. 1997-10-09 12:59:23 +00:00
oki 2ce1763013 Prototype spl0(). 1997-10-09 12:58:31 +00:00
mycroft 7f35228e7e Make wmesg arguments to various functions const. 1997-10-09 12:49:44 +00:00
mycroft c0ce02a936 Use __const rather than const for sys_errlist, so it DTRT with -traditional.
Also, make sys_nerr __const.  Partly from Todd Vierling in PR 4151.
1997-10-09 11:33:03 +00:00
jtc 4c9d6e4d9c Fix tipo inherited from old version of TNF copyright template. 1997-10-09 08:58:45 +00:00
jtc 1bcecdd613 Fix tipo inherited from old version of TNF copyright template. 1997-10-09 08:48:33 +00:00
jtc 4229acf79d Fix tipo inherited from old version of TNF copyright template. 1997-10-09 08:37:20 +00:00
drochner 593f9e43c2 Fix error handling - call wakeup() in error case too. 1997-10-09 08:35:13 +00:00
jtc da7890c526 Fix tipo inherited from old version of TNF copyright template. 1997-10-09 08:31:58 +00:00
jtc 55baa7c0f7 Fix tipo inherited from old version of TNF copyright template. 1997-10-09 08:30:09 +00:00
jtc d6ae2cd7fd Fix tipo inherited from old version of TNF copyright template. 1997-10-09 08:03:42 +00:00
jtc 11a27a1132 Fix tipo inherited from old version of TNF copyright template. 1997-10-09 07:57:17 +00:00
jtc 2ff9e92859 Fix tipo inherited from old version of TNF copyright template. 1997-10-09 07:50:22 +00:00
jtc 324ce8d6cb Fix tipo inherited from old version of TNF copyright template. 1997-10-09 07:37:50 +00:00
jtc c8f77c0b8b Fix tipo inherited from old version of TNF copyright template. 1997-10-09 07:25:45 +00:00
jtk 827918e4ab fix warnings when -DAHC_DEBUG 1997-10-09 02:17:36 +00:00
enami 6705728ce7 Make sure that vs.color is always initialized. Fix PR#2510.
- separate initialization code in sput() into new function pcinit().
- call pcinit() in both sput() and pcattach() if (crtat == 0).
1997-10-09 02:05:01 +00:00
briggs 4839f9406b Clear interrupts properly on the Radius PrecisionColor 8.
Thanks for the info go to Andrew MacGibbon <andrew-m@cs.auckland.ac.nz>
1997-10-09 01:25:52 +00:00
enami d0c58d6217 Cosmetic changes;
- indent continuation line by four columns.
- delete whitespace after cast.
1997-10-09 01:07:46 +00:00
enami 9ad3575d65 - round up requested soft stack limit by vm page size.
- don't round up size and truncate addr.
1997-10-09 01:04:13 +00:00
enami 45fbe5305f Cosmetic changes;
- dereference a pointer to function explicitly.
- fold long line to fit columns < 80.
- put whitespaces around a binary operator.
- don't put a single statement into a block.
1997-10-09 00:53:28 +00:00
mjacob ba0165bec0 A) At least IBM 3590 tape drives return a NOT READY error if issued a LOAD
to BOT command- even if at BOT. Urk. B) Make READ POSITION SCSI_SILENT.
1997-10-09 00:43:26 +00:00
thorpej b4b543bc6f In sys_mount(), use vfs_getopsbyname() rather than using an explicit
reference to vfssw[].
1997-10-09 00:39:19 +00:00
briggs 4220edeca5 Probe for the SONIC before saying that we found it. Some early Centris
models (low-end) shipped without ethernet installed.
1997-10-09 00:08:00 +00:00
thorpej e3834cc351 Implement DIOCGDEFLABEL. 1997-10-08 23:37:50 +00:00
thorpej 26a5591b8a Oops, fix a couple of typos. 1997-10-08 23:35:41 +00:00
thorpej dd3663cdfb Fix a typo. 1997-10-08 23:28:01 +00:00
thorpej 5e05593163 Implement DIOCGDEFLABEL. 1997-10-08 23:23:13 +00:00
thorpej 939e074dcc Implement DIOCGDEFLABEL. 1997-10-08 23:05:22 +00:00
mjacob 8d35f4cdeb Slight formatting change. 1997-10-08 21:39:25 +00:00
thorpej f77f4e6084 The MIPS toolchain generates ELF. Don't pretend like it generates a.out
by renaming "netbsd" to "netbsd.elf", and then creating an a.out image
called "netbsd".

Instead, create _both_ ECOFF and a.out versions of the kernels, named
"netbsd.ecoff" and "netbsd.aout" respectively, and drop the ".elf"
from the ELF kernel.

(And, with any luck, the a.out hack will go away completely Very Soon.)
1997-10-08 21:26:16 +00:00
thorpej 90de61b390 Define two new ioctls:
DIOCGDEFLABEL - get default label
DIOCCLRLABEL - clear label
1997-10-08 21:18:45 +00:00
briggs 9c8e4f24b0 Disable video interrupts on the AV machines. Thanks to Michael R. Zucca
(mrz5149@cs.rit.edu) for the addresses and hints as to how the interrupts
might be disabled, and thanks to Henry Hotz (h.b.hotz@jpl.nasa.gov) for
testing on the 840AV.
Unmap the DAFB regs on the other Quadras after attachment.  They're not
used.
1997-10-08 19:54:04 +00:00
mjacob f63551893b The bit pointer field is a 3 bit value- not 4. 1997-10-08 17:17:09 +00:00
mycroft 3dffd3e74a Regen. 1997-10-08 17:01:33 +00:00
mycroft f1aefc827c Correct spelling of Millennium. 1997-10-08 17:00:43 +00:00
thorpej 67a3811e05 Fix an oversight in my previous MSS-related changes:
Basically, in silly window avoidance, don't use the raw MSS we advertised
to the peer.  What we really want here is the _expected_ size of received
segments, so we need to account for the path MTU (eventually; right now,
the interface MTU for "local" addresses and loopback or tcp_mssdflt for
non-local addresses).  Without this, silly window avoidance would never
kick in if we advertised a very large (e.g. ~64k) MSS to the peer.
1997-10-08 16:32:48 +00:00
oki fc752db7e8 Use _ASM_LABEL. 1997-10-08 16:02:04 +00:00
mycroft 4d36fbdfa1 Clump USER_LDT with other CPU-related options. 1997-10-08 10:09:36 +00:00
mycroft a9f50348ae Update comments regarding BIOSEXTMEM (now REALEXTMEM), and add REALBASEMEM. 1997-10-08 09:32:36 +00:00
mycroft 63c9e725bb Deprecate BIOSBASEMEM and BIOSEXTMEM, with an #error telling people to try the
latest version of the boot block first.  Add REALBASEMEM and REALEXTMEM, in case
they really are needed.
1997-10-08 09:23:04 +00:00
jonathan ac262c0c2f Allow mips3 ECOFF binaries if running on a mips3 CPU. 1997-10-08 07:36:58 +00:00
augustss 7002bab845 Emulate setting the hiwater mark with SETFRAGMENT the right way.
Get rid of some 'register'.
1997-10-07 22:46:00 +00:00
augustss 4f2068ec29 Sanity check hi/lo water mark settings better. 1997-10-07 22:40:43 +00:00
gwr 38b2ba3e3f typo 1997-10-07 20:05:00 +00:00
is 37fce9c90f Oops, forgot to commit this when doing the recent 060SP Makefile change. 1997-10-07 19:26:11 +00:00
is e183d29c61 Oops, I forgot this when doing the recent 060sp make system change. 1997-10-07 19:23:37 +00:00
gwr d0febbb62c Be sure to kmem_free_wakeup() the same range of address space we
got from kmem_alloc_wait() earlier.  Thanks to Michael L. Hitch
and Scott Reynolds.  (Fixes the sun3/sun3x part of PR#4120.)
1997-10-07 18:28:55 +00:00
gwr c9d8d6ae1d Use sizeof(struct ieob) instead of a sun3-specific macro,
so this driver will work on the sun3x as well.  (Works!)
1997-10-07 18:17:19 +00:00
gwr 2240a5aa56 typo 1997-10-07 18:00:18 +00:00
gwr b298a0b98c fix warnings 1997-10-07 17:56:30 +00:00
gwr 35cfb77c2f Sync with GENERIC 1997-10-07 17:50:50 +00:00
gwr 8e46a17c49 cosmetic 1997-10-07 17:49:26 +00:00
gwr 0a6d195bf0 Add the ie driver (and reorder some things) 1997-10-07 17:08:35 +00:00
gwr 0d541b4c08 Add dvma_malloc() for the ie driver. 1997-10-07 16:51:47 +00:00
gwr 31459bfd07 Make nfs/krpc_subr.c conditional on arp (fixes PR#4233). 1997-10-07 16:15:30 +00:00
gwr 5e10630004 Add stuff for the ie driver 1997-10-07 16:10:25 +00:00
augustss 4a72d59d77 Add GUS PnP card to GENERIC. 1997-10-07 10:39:56 +00:00
drochner fa79dfb77e Use a swap pager backed VM object for sysV shm instead of kernel VM.
Mostly from FreeBSD.
1997-10-07 10:02:03 +00:00