Commit Graph

50022 Commits

Author SHA1 Message Date
simonb 41febd3a3c Move DB_{AOUT,ELF}_SYMBOLS (and DB_ELFSIZE) definition to port-specific
db_machdep.h file.
1999-03-23 22:07:06 +00:00
simonb 027594b1eb Add CPU_BOOTED_KERNEL to CTL_MACHDEP definition. 1999-03-23 22:04:01 +00:00
thorpej 86f87d7c5f Add a new shared media option, IFM_FLOW, used to enable link-level
flow control.  IEEE 802.3x is in mind, but this could be generally
useful for different types of media.
1999-03-23 21:46:47 +00:00
drochner 1c99e4196a Use BUS_SPACE_ALIGNED_POINTER() instead of ALIGNED_POINTER() where the pointer
in not just used to access memory but is bassed to bus_space_xxx_n()
methods. For debugging purposes, bus_space can have additional constraints
which will be properly met by BUS_SPACE_ALIGNED_POINTER().
1999-03-23 21:41:07 +00:00
drochner 76fa1751fe Add a macro to check for sufficient pointer alignment in bus.h context,
"BUS_SPACE_ALIGNED_POINTER()".
Equal to the param.h "ALIGNED_POINTER()" normally, but obeys additional
requirements of the bus_space_xxx_n() macros. (BUS_SPACE_DEBUG)
1999-03-23 21:29:03 +00:00
perry 1adf543079 update the date. 1999-03-23 21:19:58 +00:00
perry 23433d74a4 more updates. It appears, unfortunately, that the whole "gotchas while
upgrading" section is going to need a rewrite.
1999-03-23 21:17:44 +00:00
perry e2cf6728d9 add Piermont Information Systems 1999-03-23 21:12:56 +00:00
perry 27b5e4333f update for changes in main -- USB and IDE are not i386 specific 1999-03-23 21:02:09 +00:00
perry 58263c1e72 Numerous fixes for 1.4. This is approximately okay for 1.4 now,
assuming enough people proof read it. more to come.
1999-03-23 20:55:38 +00:00
bad b5348881aa Add tcic PCMCIA controller. 1999-03-23 20:08:55 +00:00
bad 23d89d53f3 config(8) glue for the TCIC PCMCIA backend. 1999-03-23 20:07:39 +00:00
bad f44fb0d91c A backend for Databook's TCIC family of PCMCIA chips.
Thanks to Andreas Lohrum, O'Reilly Verlag, Terry Moore, and Holger Czukay
for hardware, documentation, and support.
1999-03-23 20:04:14 +00:00
mycroft 1bb64b0636 __SWAP_BROKEN is no longer useful here. 1999-03-23 19:16:03 +00:00
perry 75b15f7534 first cut of whatis for 1.4 1999-03-23 18:57:19 +00:00
mycroft 6bb727e736 Nuke some more code that was fetching PT_M and PT_H from pv_flags. 1999-03-23 18:39:38 +00:00
thorpej c939af8267 Oops, some source files use __IDSTRING() directly, so provide one in
the ELF case, as well.
1999-03-23 18:28:12 +00:00
drochner a9ddfb696d allow to set location of INSTALL kernel from command line so that
bootfloppies can be built with r/o /usr/src or with other kernels
1999-03-23 18:10:57 +00:00
wrstuden 3c8e65b670 Oops. macppc doesn't use PCLK as a baud rate source. 1999-03-23 18:07:19 +00:00
drochner ccb094136e find "mdsetimage" in ${DESTDIR} 1999-03-23 18:05:45 +00:00
mycroft 5f63cab877 The page and section fault handling paths are essentially identical, so
combine them.  This also fixes a performance issue, in that we always
faulted pages twice in order to write them.
1999-03-23 18:02:02 +00:00
wrstuden a7678930b4 Oops. mac68k does NOT use PCLK as a clock source, so don't enable it in
the default channel setup.
1999-03-23 17:55:03 +00:00
mycroft 79e56d3237 The ARM has the same copy-on-write bug as the i386 -- the write enable bit in
PTEs is ignored when in kernel mode.  Hack around this just like we do on the
i386, by adding a prepass to copyout() to check for write permission on the
destination pages.
1999-03-23 17:14:34 +00:00
drochner 5575305f99 If no screen got the "focus" (which happens with serial console or if
the current screen is deleted), automatically give focus to the next
screen created. Saves the need to switch to a usable screen manually.
1999-03-23 15:56:56 +00:00
minoura 87c8a7e347 u?vm_page_physload args are in page. 1999-03-23 15:55:43 +00:00
christos f36829e285 s/DEBUG/LDT_DEBUG/ This got too verbose when running Wine. 1999-03-23 15:48:19 +00:00
kleink 6558e04aea Translate _PC_FILESIZEBITS. 1999-03-23 14:57:00 +00:00
bouyer 491d912f59 Implement a read cache, as announced on tech-userlevel. Default is 32k
read buffer size, 512 buffer or 15% of the user memory. Can be changed
with the -k and -s options.
1999-03-23 14:22:59 +00:00
mycroft 8f3d31a32b More cleanup...
* Don't bother pulling PT_M and PT_H bits from pv_flags; they can't ever be
  set there!
* Actually make pmap_clear_reference() do something useful.
* Also set the referenced bit (PT_H) when emulating a write fault.
1999-03-23 13:52:48 +00:00
mycroft da99fe308e Repeat after me:
If we're doing modified bit emulation, we must revoke write permission in
pmap_clear_modify().  This is non-negotiable.  I will revoke write permission
in pmap_clear_modify(), or suffer the wrath of a thousand bricks.
1999-03-23 13:27:48 +00:00
mycroft 3c8512dbb5 We could not possibly have been updating the pv attributed correctly in
pmap_enter(), so... make the obvious change.
1999-03-23 12:30:45 +00:00
pk b0de87c45f To clear a chunk of bus memory use bus_space_set_regionN(). 1999-03-23 12:01:45 +00:00
mycroft b88d12625c Fix the `missing footer' problem. See the comment for details. 1999-03-23 11:50:09 +00:00
lukem 0a10e5dd4b document new bind() restrictions 1999-03-23 10:59:11 +00:00
lukem 8a931fcdd8 Ensure that you can only bind a more specific address when it is done by the
same uid or by root.

This code is from FreeBSD. (Whilst it was originally obtained from OpenBSD,
FreeBSD fixed it to work with multicast. To quote the commit message:
    - Don't bother checking for conflicting sockets if we're binding to a
      multicast address.
    - Don't return an error if we're binding to INADDR_ANY, the conflicting
      socket is bound to INADDR_ANY, and the conflicting socket has
      SO_REUSEPORT set.
)
1999-03-23 10:45:37 +00:00
leo 4ca3cf8411 Use libhack.o to make this all fit on the miniroot again. 1999-03-23 10:22:31 +00:00
leo 9c6b700adf Allow for a 'LIBS' directive in the 'list'-files. 1999-03-23 10:20:01 +00:00
mycroft 508d292759 .Bl/.El cleanup. 1999-03-23 09:40:53 +00:00
itohy f1a39637c9 cleanup 1999-03-23 09:29:51 +00:00
mycroft 8b0c29593a Make Qo and Qc callable again. 1999-03-23 09:29:11 +00:00
itohy e4d7e0a023 Update to OSF/1 V4. 1999-03-23 09:19:25 +00:00
dbj c1824c37af more minor changes, mostly in minor tweaks to debuggin output.
tweaks to handling dmasize != dmalen correctly.
changed minimum dma segment length for tail buffer.
1999-03-23 08:42:39 +00:00
mycroft 0d83fb3bab Fix the `mysterious blank lines' problem (in 98% of cases, anyway). This was
due to unconditional use of .ne.  groff apparently inserts some virtual trap
at the end of each page, and this was causing the .ne commands to output extra
lines.  Solution is to only use them in troff.

Also fix a related bug in .It, where it would insert a page break in the middle
of a sentence.

Remove the end of page trap in nroff mode, as this causes .sp to sometimes eat
the space due to the nearby trap.

Lastly, undue a previous change that broke the formatting of the SYNOPSIS
section, until we determine the right way to fix that.
1999-03-23 06:44:38 +00:00
cgd 676318637d revert usage string to be like it was, but with '[-p] ' added. the new
spacing was bogus, and didn't match other commands' usage strings.
The change really should have been looked at more carefully...
1999-03-23 05:59:09 +00:00
cgd aa82d7442e fix bug introduced in rev 1.11: freopen 'fn' (as before), not 'buf' (as
changed in rev 1.11).  The former is the file name on the 'begin' line,
thel atter is the whole 'begin' line.  This could never have worked;
it should have been better tested.
Bug pointed out by Andrew Gillham <gillhaa@ghost.whirlpool.com>.
1999-03-23 05:55:40 +00:00
gwr c19324e6bb Fix prototype mismatch. 1999-03-23 05:54:11 +00:00
minoura 86ecebe5e8 Move high-memory detect routine.
This seems to fix the problem that it hangs up on 040turbo without
high-memory.
1999-03-23 04:18:50 +00:00
mycroft 286b628b2a Remove blank line. 1999-03-23 03:53:26 +00:00
thorpej 9d49c8139a Regen; pread(2) and pwrite(2). 1999-03-23 03:01:48 +00:00
thorpej e8a3256e7f Add support for emulating the Linux pread(2) and pwrite(2) system calls;
just call the native NetBSD versions.

PR #7202, Jaromir Dolecek <dolecek@ics.muni.cz>.
1999-03-23 03:00:51 +00:00