FreeBSD src
Go to file
Bill Paul af1c062105 On FreeBSD/i386, when you use the SYS_RES_MEMORY resource to allocate
a PCI memory mapped region, rman_get_bushandle() returns what happens
to be a kernel virtual address pointing to the base of the PCI shared
memory window. However this is not the behavior on all platforms:
the only thing you should do with the bushandle is pass it to the
bus_spare_read()/bus_space_write() routines. If you actually do want
the kernel virtual address of the base of the PCI memory window, you
need to use rman_get_virtual().

The problem is that at the moment, rman_get_virtual() returns a physical
address, which is bad. In order to get the kernel virtual address we
need, we have to play with it a little.

Presumeably this behavior will be changed, but in the meantime the
Tigon driver won't work. So for the moment, I'm adding a kludge to
make things happy on the alpha: the correct kernel virtual address
is calculated from the value returned by rman_get_virtual(). This
should be removed once rman_get_virtual() starts doing the right
thing.

This should make the Tigon actuall work on the alpha now.
1999-07-27 03:54:48 +00:00
bin Correct some style issues in my previous commit. 1999-07-22 14:26:21 +00:00
contrib Fix a problem where commands in backticks `` wont get executed in taint 1999-07-19 18:17:54 +00:00
crypto Merge from non-crypto version: 1999-06-17 09:24:37 +00:00
etc Start ppp before natd, not afterwards. 1999-07-26 15:17:23 +00:00
games Add recognition that Microsoft NT does not exist. 1999-07-26 03:35:08 +00:00
gnu Remove paths that are listed as compulsory (sorta). /usr/local is not 1999-07-25 19:33:06 +00:00
include Hide pthread cancellation routines behind #ifdef NOT_YET. They are 1999-07-27 03:29:01 +00:00
kerberos5 Link everything against libcrypt. ELF builds complain without it. 1999-01-25 06:49:43 +00:00
kerberosIV Link everything against libcrypt. ELF builds complain without it. 1999-01-25 06:49:43 +00:00
lib Add missing cause for an EINVAL return (msgtype < 1). 1999-07-26 11:39:02 +00:00
libexec Change many asserts into normal errors. They were all for conditions 1999-07-18 00:02:19 +00:00
release Add a default ppp.conf (mode 600). 1999-07-26 10:49:37 +00:00
sbin Add a sensible message if an invalid ID was entered 1999-07-25 11:00:05 +00:00
secure Typo in comment. 1999-04-25 13:14:36 +00:00
share Add a default ppp.conf (mode 600). 1999-07-26 10:49:37 +00:00
sys On FreeBSD/i386, when you use the SYS_RES_MEMORY resource to allocate 1999-07-27 03:54:48 +00:00
tools Move the proper set of libraries. 1999-04-05 21:41:56 +00:00
usr.bin This covers the previous version, since a null commit message was accidentally 1999-07-27 02:08:55 +00:00
usr.sbin Be a bit more consistent with variable names. 1999-07-27 00:30:32 +00:00
COPYRIGHT Add Id keyword 1998-09-13 23:11:13 +00:00
Makefile Change !defined(NOAOUT) knob to defined(WANT_AOUT). 1999-03-29 10:59:53 +00:00
Makefile.inc0 fix (non destructive) braino to do with quoting in makefiles. 1999-06-06 20:21:27 +00:00
Makefile.inc1 Per requests from the community, commit rudimentary cross compilation 1999-07-07 04:46:46 +00:00
Makefile.upgrade Set X11BASE to something deliberately bogus in elf_buildworld so that 1999-03-23 08:09:25 +00:00
README No more src/lkm dir... 1999-01-06 14:02:35 +00:00
UPDATING Spelling nits 1999-07-07 04:28:48 +00:00

This is the top level of the FreeBSD source directory.  This file
was last revised on: $Id: README,v 1.13 1998/09/13 09:38:34 markm Exp $

For copyright information, please see the file COPYRIGHT in this
directory (additional copyright information also exists for some
sources in this tree - please see the specific source directories for
more information).

The Makefile in this directory supports a number of targets for
building components (or all) of the FreeBSD source tree, the most
commonly used one being ``world'', which rebuilds and installs
everything in the FreeBSD system from the source tree except the
kernel and the contents of /etc.  Please see the top of the Makefile
in this directory for more information on the standard build targets
and compile-time flags.

Building a kernel with config(8) is a somewhat more involved process,
documentation for which can be found at:
   http://www.freebsd.org/handbook/kernelconfig.html
And in the config(8) man page.

The sample kernel configuration files reside in the sys/i386/conf
sub-directory (assuming that you've installed the kernel sources), the
file named GENERIC being the one used to build your initial installation
kernel.  The file LINT contains entries for all possible devices, not
just those commonly used, and is meant more as a general reference
than an actual kernel configuration file (a kernel built from it
wouldn't even run).


Source Roadmap:
---------------
bin		System/User commands.

contrib		Packages contributed by 3rd parties.

crypto		Export controlled stuff (see crypto/README).

etc		Template files for /etc

games		Amusements.

gnu		Various commands and libraries under the GNU Public License.
		Please see gnu/COPYING* for more information.

include		System include files.

kerberosIV	Kerberos package.

lib		System libraries.

libexec		System daemons.

release		Release building Makefile & associated tools.

sbin		System commands.

secure		DES and DES-related utilities - NOT FOR EXPORT!

share		Shared resources.

sys		Kernel sources.

tools		Utilities for regression testing and miscellaneous tasks.

usr.bin		User commands.

usr.sbin	System administration commands.


For information on synchronizing your source tree with one or more of
the FreeBSD Project's development branches, please see:

  http://www.freebsd.org/handbook/synching.html