dsl
d91455ce26
Change return type of readdisklabel() to const char *
...
I hope I've found all the correct places!
2003-05-02 08:45:10 +00:00
ragge
1989d659bb
Preserve the symbol table in the LKM || KSYMS cases also.
2003-04-27 10:42:48 +00:00
ragge
4a0e449b1e
Add pseudo-device ksyms.
2003-04-26 14:34:16 +00:00
ragge
69a66687f8
Call ksyms_init() instead of ddb_init() in case of
...
NKSYMS || defined(DDB) || defined(LKM)
2003-04-26 11:05:05 +00:00
ragge
766d04f56a
Add ksyms device major.
2003-04-25 21:10:46 +00:00
bouyer
aec10dd80c
Nake return values from bounds_check_with_label() conform to the man
...
page: -1 for error, 0 for EOF, 1 otherwise. Inspired by an OpenBSD commit
message, pointed out by Miod Vallat in private mail.
vax/mba/hp.c: check return value <= 0, not < 0 to be concistent with how
other places handle return values from bounds_check_with_label().
2003-04-16 15:00:59 +00:00
thorpej
c9228c8ddd
Use PAGE_SIZE rather than NBPG.
2003-04-02 04:17:50 +00:00
matt
8a5a3a480a
Switch/adapt to new bus space infrastructure.
2003-03-18 16:40:18 +00:00
matt
a190651169
Make most of PPC (OEA) bus_space's identical (or as identical as possible).
...
(except mvmeppc).
2003-03-06 05:25:18 +00:00
matt
0b8a5fd80f
Adapt to powerpc/bus.h changes.
2003-03-06 00:20:39 +00:00
matt
92d0498c3d
Remove port-specific procfs_machdep.c (since they are all identical and
...
a better one resides in powerpc/powerpc/).
2003-03-05 05:43:42 +00:00
perseant
eab869e1c0
Make BRIDGE_IPF an option, and document it. Add it (commented) to GENERIC.
...
Let brconfig tell whether the bridge is using the ipfilter hook, or not.
2003-02-27 19:22:36 +00:00
matt
a8ef834105
Set cpu_timebase so sysctl() can report it.
2003-02-12 17:51:02 +00:00
nakayama
e3e4805068
Replace machine/rnd.h with more appropriate name to share it
...
with cycle counter based microtime in kern/kern_microtime.c.
2003-02-05 13:57:50 +00:00
matt
2b0e97a561
Rename PPC_MPC6XX to PPC_OEA (and any mpc6xx reference to oea).
2003-02-03 17:09:53 +00:00
matt
3e793a03a1
More cleanup for OLDPMAP.
2003-02-03 05:15:51 +00:00
matt
193a5761aa
Remove OLDPMAP support.
2003-02-02 21:22:11 +00:00
matt
7c1e50a21a
Perform a rototill of the powerpc code. Mandate use of SPRG0 to store
...
a pointer to current cpu's cpu_info structure. Use cpu_info for
intstk,intr_depth,still_stk,idle_pcb,curpcb,curlwp,etal even on
non-MULTIPROCESSOR machines. Add common macros GET_CPUINFO and
INIT_CPUINFO to get and initialize the cpu_info struct on startup. Make
ibm4xx use the standard <powerpc/frame.h>. Use IFRAME_xx in ibm4xx
trap_subr.S instead of explicit magic offsets. Move INTSTK and SPILLSTK
to std.<platform>. Change faultbuf to a struct instead of an array.
On MPC6XX cpus, stop using the vector page for temporary space and use
reserved space in cpu_info.
2003-02-02 20:43:17 +00:00
kleink
2ee2952854
G/c the pmap_bootstrap() segtab interface again. Silly me.
2003-01-22 21:55:14 +00:00
thorpej
f91b0bb3f2
Merge the nathanw_sa branch.
2003-01-18 06:23:28 +00:00
lukem
4bb41ae2f2
Rework how KERNOBJDIR functions; now it's always determined with
...
cd ${KERNSRCDIR}/${KERNARCHDIR}/compile && ${PRINTOBJDIR}
This is far simpler than the previous system, and more robust with
objdirs built via BSDOBJDIR.
The previous method of finding KERNOBJDIR when using BSDOBJDIR by
referencing _SRC_TOP_OBJ_ from another directory was extremely
fragile due to the depth first tree walk by <bsd.subdir.mk>, and
the caching of _SRC_TOP_OBJ_ (with MAKEOVERRIDES) which would be
empty on the *first* pass to create fresh objdirs.
This change requires adding sys/arch/*/compile/Makefile to create
the objdir in that directory, and descending into arch/*/compile
from arch/*/Makefile. Remove the now-unnecessary .keep_me files
whilst here.
Per lengthy discussion with Andrew Brown.
2003-01-06 17:40:18 +00:00
thorpej
95fa2e148a
Use aprint_normal() for cfprint routines.
2003-01-01 01:57:51 +00:00
thorpej
78ea2dd367
Use __LDPGSZ (which must be == USRTEXT) as the text address for a.out
...
executables, and eliminate the USRTEXT constant, which was only used
by the a.out exec code.
2002-12-10 05:14:24 +00:00
manu
9f6565f2bd
A working fork/vfork implementation. Darwin fork differs from our fork by
...
two ways:
- the child gets its pid as retval[0] (userland stub will turn it into a 0),
retval[1] is 1 and it is 0 in the parent.
- in the child, the fork syscall is successful, hence we must skip the next
instruction.
2002-12-08 21:53:10 +00:00
lukem
0635de35a3
Remove KDIR=, since SYS_INCLUDE=symlinks and KDIR are not supported any more.
2002-11-26 23:30:07 +00:00
matt
c9699a165e
Add missing file.
2002-10-30 18:31:39 +00:00
manu
fe4e91080d
Moved binary compatibility options from arch directory to cpu directory
2002-10-30 06:26:42 +00:00
jdolecek
c82ab2eb79
now that mem_no is emitted by config(8), there is no reason to keep
...
copy of more or less identical iskmemdev() for every arch; move the function
to spec_vnop.c, and g/c machine-dependant copies
2002-10-26 13:50:17 +00:00
elric
5ab71e20b0
Added commented out cgd(4)s to GENERIC configs.
2002-10-14 18:39:22 +00:00
elric
d19d268a95
assign majors for raw and cooked cgd's.
2002-10-04 18:28:24 +00:00
thorpej
89bf5a8f8e
Add trailing ; to CFATTACH_DECL.
2002-10-02 15:52:22 +00:00
thorpej
a942508291
Use CFATTACH_DECL().
2002-10-01 21:36:00 +00:00
thorpej
f818766afe
Declare all cfattach structures const.
2002-09-27 20:31:45 +00:00
provos
0f09ed48a5
remove trailing \n in panic(). approved perry.
2002-09-27 15:35:29 +00:00
thorpej
71404bb533
Don't include <sys/map.h>.
2002-09-25 22:21:01 +00:00
lukem
3ea2e21f82
enable USERCONF by default; it's small and extremely useful to have available.
2002-09-18 02:43:53 +00:00
gehenna
77a6b82b27
Merge the gehenna-devsw branch into the trunk.
...
This merge changes the device switch tables from static array to
dynamically generated by config(8).
- All device switches is defined as a constant structure in device drivers.
- The new grammer ``device-major'' is introduced to ``files''.
device-major <prefix> char <num> [block <num>] [<rules>]
- All device major numbers must be listed up in port dependent majors.<arch>
by using this grammer.
- Added the new naming convention.
The name of the device switch must be <prefix>_[bc]devsw for auto-generation
of device switch tables.
- The backward compatibility of loading block/character device
switch by LKM framework is broken. This is necessary to convert
from block/character device major to device name in runtime and vice versa.
- The restriction to assign device major by LKM is completely removed.
We don't need to reserve LKM entries for dynamic loading of device switch.
- In compile time, device major numbers list is packed into the kernel and
the LKM framework will refer it to assign device major number dynamically.
2002-09-06 13:18:43 +00:00
briggs
0b956d0b8b
Implement pmc(9) -- An interface to hardware performance monitoring
...
counters. These counters do not exist on all CPUs, but where they
do exist, can be used for counting events such as dcache misses that
would otherwise be difficult or impossible to instrument by code
inspection or hardware simulation.
pmc(9) is meant to be a general interface. Initially, the Intel XScale
counters are the only ones supported.
2002-08-07 05:14:47 +00:00
chs
301f1ebf31
move more inlines to cpu.h: mftb(), mftbl() and mfpvr().
...
(the mftb() in pmap.c only wanted the lower 32 bits, so that's now mftbl()).
2002-08-06 06:14:33 +00:00
thorpej
3912e469dd
Rename cdev_systrace_init() to cdev_clonemisc_init(), so it can
...
be properly used by any misc. cloning device. While here, correct
a comment to indicate that "open" is the only entry point and that
everything else is handled with fileops.
2002-07-19 16:38:14 +00:00
matt
685778b53b
Peform a rototill over the powerpc-based ports.
...
Move the trap/vector initialization for MPC6xx ports to mpc6xx_machdep.c
Also move softnet, install_extintr, mapiodev, kvtop. Add common BAT
initialization code.
Add user Altivec support.
Fix calls to OF_call_method in macppc/macppc/machdep.c.
Use ci_fpuproc in cpu_info instead of separate fpuproc.
Add separate syscall.c and defined __HAVE_SYSCALL_INTERN.
2002-07-05 18:45:15 +00:00
abs
eb73becae2
Ensure all INSTALL config files consistantly include PIPE_SOCKETPAIR,
...
MALLOC_NOINLINE, and VNODE_OP_NOINLINE. The exceptions are when they
include another config files that already defines the options, or if
they are for an embedded board, just define a few extra options, and
do not already define PIPE_SOCKETPAIR.
2002-07-05 13:40:10 +00:00
christos
3b50728cf4
MD systrace gluons.
2002-06-17 16:32:57 +00:00
lukem
fde6ae6f04
Enable "pseudo-device clockctl" in all kernels, except
...
installation related kernels (INSTALL* and RAMDISK*).
This enables rc.conf(5) $ntpd_chroot to be used "out of the box"
2002-06-17 05:14:02 +00:00
briggs
2070a8bccc
Only attempt to handle mapping IDE interrupts if we are in SERIAL mode.
2002-05-24 15:47:17 +00:00
briggs
62ee522426
Put options after include to please config(8).
2002-05-16 03:35:20 +00:00
thorpej
204183c0fa
* Add "pcitag_t *pba_bridgetag" to pci_attach_args. This is set to
...
NULL for root PCI busses. For busses behind a bridge, it points to
a persistent copy of the bridge's pcitag_t. This can be very useful
for machine-dependent PCI bus enumeration code.
* Implement a machine-dependent pci_enumerate_bus() for sparc64 which
uses OFW device nodes to enumerate the bus. When a PCI bus that is
behind a bridge is attached, pci_attach_hook() allocates a new PCI
chipset tag for the new bus and sets it's "curnode" to the OFW node
of the bridge. This is used as a starting point when enumerating
that bus. Root busses get the OFW node of the host bridge (psycho).
* Garbage-collect "ofpci" and "ofppb" from the sparc64 port.
2002-05-16 01:01:28 +00:00
briggs
5921f0ce6c
Split GENERIC into GENERIC (for the X3 revision of the board in native
...
interrupt mode) and GENERIC.X2 (for the X2 revision of the board or an
X3 in legacy interrupt mode).
2002-05-16 00:20:00 +00:00
briggs
a7656b0fb6
Comment out pciide stuff since it's not working yet.
2002-05-16 00:09:47 +00:00
thorpej
dada8613e1
Let machine-dependent code specify how to enumerate the bus.
...
Currently, everyone uses pci_enumerate_bus_generic().
2002-05-15 19:23:51 +00:00
matt
a0b018ab58
Remove redundant declarations.
2002-05-13 06:41:30 +00:00
briggs
69403fe32b
Remove unreferenced file.
2002-05-04 18:23:35 +00:00
atatat
d1b3852365
Add the INCLUDE_CONFIG_FILE option to all config files. In config
...
files that are generic (ie, GENERIC, GENERICSBC, GENERIC32, ALL, or
ALPHA), it is uncommented.
2002-04-25 15:06:20 +00:00
briggs
9fd5e995b2
Add makeoptions PPCDIR.
2002-04-25 15:03:26 +00:00
briggs
50d078343a
Use powerpc generic genassym.cf
2002-04-25 15:02:54 +00:00
kleink
3a03930d13
Add a third argument to pmap_bootstrap() which platform-specific
...
initialization can use to specify additional segment registers to be set
up in the kernel pmap.
2002-04-23 12:41:04 +00:00
wiz
bc768c8abb
Remove unneeded cdev_decl(pms).
2002-04-19 02:15:59 +00:00
mycroft
a03e2b5e1e
Remove TLP_MATCH_* options.
2002-04-17 02:26:48 +00:00
thorpej
eedd94475c
* Move the mii_bitbang attribute into dev/mii/files.mii
...
* Pull in dev/mii/files.mii from conf/files, rather than playing
the magic "files include order" dance in N machine-dependent
configuration definitions.
2002-04-16 20:50:16 +00:00
briggs
0c4a264e40
Really nuke pmsi
2002-04-15 02:05:10 +00:00
briggs
9d121c1c24
Nuke pmsi
2002-04-15 01:43:35 +00:00
briggs
e588351a82
Don't need to install spkr.h
2002-04-12 13:33:23 +00:00
gmcgarry
6e066ba77a
Add commented-out USERCONF option. Mainly useful for install media
...
and can be optionally enabled based on miniroot and ramdisk size
requirements.
2002-04-12 08:10:45 +00:00
briggs
8989cea6a8
Enable pciide, wd, atapibus, and atapi devices.
2002-04-12 02:57:00 +00:00
briggs
b5b11bf5f5
Map winbond interrupts.
2002-04-12 02:55:03 +00:00
lukem
d213d804f7
Rename MEMORY_DISK_SIZE (formerly MINIROOTSIZE) to MEMORY_DISK_ROOT_SIZE,
...
which was suggested by Izumi Tsutsui <tsutsui@ceres.dti.ne.jp> as
being more consistent with what it's controlling...
2002-04-02 05:30:34 +00:00
briggs
e0d951068b
Add fxp* (Intel EtherExpress PRO 10+/100B).
2002-03-27 06:39:16 +00:00
martin
94881fb123
Rename ISDN devices, per discussion on tech-kern. The network devices
...
become ippp (ISDN ppp) and irip (ISDN raw IP). The character device now
are called: /dev/isdn (isdnd <-> kernel communication), /dev/isdnctl (dialing
and other control), /dev/isdntrc* (tracing), /dev/isdnbchan* (raw B channel
access, i.e. for user land PPP) and /dev/isdntel* (telephone devices, i.e.
for answering machines).
2002-03-16 16:55:51 +00:00
lukem
cd19d52695
* rename MINIROOTSIZE to MEMORY_DISK_SIZE, so that all md(4) options
...
are now consistently named
* fold opt_mdsize.h into opt_md.h
2002-03-10 19:56:37 +00:00
chs
bd2a5f591d
switch all mpc6xx powerpc ports to NEWPMAP by default.
...
the old pmap is still available with the OLDPMAP option.
2002-03-09 23:35:56 +00:00
briggs
257f8fe26f
Add BAT_G for EUMB (incl. I/O) space. Per matt@netbsd.org's macppc change.
2002-03-05 19:06:38 +00:00
simonb
4324f37586
Use "#define<tab>".
2002-02-28 03:17:23 +00:00
christos
6b030ee036
- define other DEV_ constants that the local port uses.
...
- delete cdev_decl(mm) since <sys/conf.h> does it.
2002-02-27 01:19:03 +00:00
wiz
37e458fa45
strategy should have an 'r'. Inspired by similar change in OpenBSD.
2002-02-19 17:09:40 +00:00
jdolecek
6d265bd894
add options PIPE_SOCKETPAIR to individual kernel configs
...
the option is commented out on everything but kernels I was able
to recognize as INSTALL-like or ones for small memory machines
2002-01-27 13:23:08 +00:00
manu
5f90ae55b5
Added clockctl
2002-01-12 14:52:40 +00:00
martin
b506d6e135
Add PPPoE to all generic kernels that should be able to use it.
...
XXX TODO: do this for INSTALL kernels too, add sysinst support and make the
XXX needed binaries available on the ramdisk root fs.
2001-12-28 12:21:52 +00:00
briggs
ea6ecf9933
Match MPC107, too.
2001-12-14 22:42:01 +00:00
briggs
b7409e5213
Re-enable wscons stuff. Add rtk* as it's now confirmed to work on sandpoint.
2001-12-14 22:41:33 +00:00
gmcgarry
bdd225baa1
Add a blurb to the top of all GENERIC files. This serves three purposes:
...
- to clarify some terminology
- to clarify the intention of the GENERIC file
- to cross-reference some useful man pages
2001-12-14 05:34:45 +00:00
briggs
25e9f1f519
Provide basic bus_space_mmap(). Noted by self and in PR port-powerpc/14873.
...
This at least allows the compile to complete. There are still Issues with
vga_pci.c's assumptions about a PC-ish environment.
2001-12-10 20:30:21 +00:00
briggs
f9d1ec360b
16 partitions -- agree with files.sandpoint
2001-12-07 05:20:57 +00:00
briggs
757139f41d
Disable ws* until we can have a working vga* at pci.
2001-12-07 05:10:59 +00:00
briggs
43fd0c736b
Add INSTALL kernel (copy from RAMDISK).
2001-12-07 05:10:17 +00:00
thorpej
636e9cd08b
Add a "cacheline_size" argument to pci_configure_bus(). It is used
...
to set the cacheline size in the BHLC register. This should be the
size of the largest D-cache line on a system.
2001-11-28 23:48:34 +00:00
atatat
2bf2c362fb
The bridge(4) pseudo-device no longer requires the port to
...
__HAVE_GENERIC_SOFT_INTERRUPTS, so add it back to all GENERIC configs.
2001-11-23 05:00:22 +00:00
lukem
03aef4723c
cleanup:
...
options SPACE TAB
makeoptions TAB
psuedo-device TAB
remove trailing whitespace
replace multiple spaces -> tabs
options "FOO" -> options FOO
options "FOO=bar" -> options FOO=bar
options "FOO=\"bar\"" -> options FOO="\"bar\""
2001-11-20 12:56:17 +00:00
soren
662f877587
MAXSLP is defined to be a machine-independent scheduling parameter,
...
so move it into sys/param.h.
2001-11-15 18:06:11 +00:00
augustss
c5477b70aa
The wsmux pseudo device does not need a count anymore.
2001-11-13 17:54:46 +00:00
thorpej
b1ec255377
Add a "firstbus" argument to pci_configure_bus(), indicating the
...
first bus number to use, rather than always assuming that we should
start at bus #0 .
2001-11-09 19:29:12 +00:00
thorpej
e727e3f180
Split elf32 vs. elf64 handling in loadfile(), including support for
...
each separately and explicitly. BOOT_ELF is now BOOT_ELF32 and
BOOT_ELF64, and ELFSIZE should no longer be defined in loadfile_machdep.h.
2001-10-31 17:20:45 +00:00
thorpej
6fd8d278ed
pci_conf_interrupt() takes bus/dev/pin, not bus/dev/func.
2001-10-29 23:33:42 +00:00
briggs
0ac571b1e5
include dev/wsfont/files.wsfont
2001-10-11 03:52:13 +00:00
manu
dea90b1ed2
Linux emulation is no longer experimental, removed comment
2001-09-12 21:05:37 +00:00
chris
0e7661f023
Update pmap_update to now take the updated pmap as an argument.
...
This will allow improvements to the pmaps so that they can more easily defer expensive operations, eg tlb/cache flush, til the last possible moment.
Currently this is a no-op on most platforms, so they should see no difference.
Reviewed by Jason.
2001-09-10 21:19:08 +00:00
atatat
5f25c01eff
Comment out bridge pseudo devices from ports that don't
...
__HAVE_GENERIC_SOFT_INTERRUPTS. bridge(4) doesn't compile there.
2001-09-01 23:08:40 +00:00
atatat
97c67a9bae
Add bridge pseudo devices to GENERIC configs
2001-09-01 21:52:23 +00:00
briggs
f05abdee3c
- Change default time frequency to 100MHz from 66MHz.
...
- Support the serial mode interrupts (with a kernel configuration option)
on the Sandpoint X3.
- Initialize cpu_timebase.
- Enable tulip driver.
2001-08-30 02:08:42 +00:00
briggs
0667ea6c1c
text address is 0x90000, not 0x9000.
2001-08-27 04:53:27 +00:00
matt
550ffff41b
Make all powerpc ports use a common Makefile.powerpc (except walnut)
...
Enforce -Wmissing-prototypes -Wstrict-prototypes for all ppc ports.
Split out macppc cpu support and make common to mpc6xx ports. Make
other mpc6xx ports use it. Add evcnts for mpc6xx traps.
2001-08-26 02:47:33 +00:00
chs
ba2c8088f4
use pmap_k* for buffer cache pages.
2001-08-24 04:34:25 +00:00
wiz
c52d355d71
"wierd" is weird.
2001-08-20 12:20:01 +00:00
wiz
2f10ae1421
bcopy -> memcpy, bzero -> memset
2001-07-22 14:58:20 +00:00
abs
01b024cd5b
Standardise TCP_COMPAT_42 as commented out, grouped with other COMPAT options,
...
and with the comment '4.2BSD TCP/IP bug compat. Not recommended'
Add commented out 'TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG'
(All hail amiga and atari which make some attempt to automate the
multiplicity of config files...)
2001-07-08 16:32:12 +00:00
matt
f05d9cb58a
Add PM_SR
2001-07-01 21:41:58 +00:00
briggs
cec5a93a27
Include powerpc/spr.h.
2001-06-24 20:43:36 +00:00
briggs
9fb64d8fcd
Build with and without option NEWPMAP.
2001-06-21 16:30:05 +00:00
briggs
1e9e15b279
Bring back pte.h for non-NEWPMAP builds.
2001-06-21 16:28:51 +00:00
simonb
43eba60849
Make all the ppc delay() functions the same - formating change only, no
...
code changes. Step one of a unified ppc clock.c.
2001-06-19 08:34:49 +00:00
christos
0f380fac15
Add an e_trapsignal member to struct emul, so that emulated processes can
...
send the appropriate signal depending on the trap type.
2001-06-18 02:00:48 +00:00
tsubai
bee211fc53
Move "file .../bus_dma.c" line to MD place.
...
Add options PPC_MPC6XX on missed ports.
XXX I think PPC_OEA is better name.
2001-06-12 17:13:34 +00:00
tsubai
6650a1901e
Use the new pmap to compile again (sorry).
2001-06-10 11:07:36 +00:00
briggs
b1db1fba38
Adapt to new PowerPC pmap.
...
Use more common PowerPC code including bus_dma and unified bus_space.
2001-06-10 03:16:29 +00:00
briggs
5d512c674c
GENERIC + memory disk hooks.
2001-06-07 17:08:13 +00:00
briggs
af0929e6ce
Enable a few more devices (adw, dpt, siop, sip, sd). Do not compile DEBUG.
2001-06-07 17:05:11 +00:00
chs
821ec03ed9
replace vm_map{,_entry}_t with struct vm_map{,_entry} *.
2001-06-02 18:09:08 +00:00
simonb
37326d639b
Rename assembly files that are pre-processed by cpp to use an S suffix.
2001-06-01 04:20:04 +00:00
mrg
67afbd6270
use _KERNEL_OPT
2001-05-30 11:57:16 +00:00
mrg
3783ca5d30
define _KERNEL_OPT as well as _KERNEL. we will use this in the future to
...
get kernel "opt_foo.h" headers, rather than _KERNEL && !_LKM.
2001-05-29 02:20:20 +00:00
chs
11a9651c8f
replace vm_page_t with struct vm_page *.
2001-05-26 21:27:10 +00:00
lukem
33e8c1a04f
delint: don't try & return something from void pci_intr_disestablish()
2001-05-15 14:48:57 +00:00
lukem
88d538c21e
fix comment; cdev_notdef() is a funny pc console :)
2001-05-10 01:23:23 +00:00
soren
945b972563
PPC machine type tags haven't been used for a while.
2001-05-03 13:11:24 +00:00
thorpej
cf67ac7122
Per discussion w/ chuck and chuck, restructure the md page stuff
...
to use a structure called "vm_page_md", and use __HAVE_VM_PAGE_MD
and __HAVE_PMAP_PHYSSEG.
2001-05-01 02:19:13 +00:00
thorpej
2b27ac7a99
Add a VM_MDPAGE_MEMBERS macro that defines pmap-specific data for
...
each vm_page structure. Add a VM_MDPAGE_INIT() macro to init this
data when pages are initialized by UVM. These macros are mandatory,
but ports may #define them to nothing if they are not needed/used.
This deprecates struct pmap_physseg. As a transitional measure,
allow a port to #define PMAP_PHYSSEG so that it can continue to
use it until its pmap is converted to use VM_MDPAGE_MEMBERS.
Use all this stuff to eliminate a lot of extra work in the Alpha
pmap module (it's smaller and faster now). Changes to other pmap
modules will follow.
2001-04-29 22:44:31 +00:00
thorpej
1c3a62e066
Sprinkle pmap_update() calls after calls to:
...
- pmap_enter()
- pmap_remove()
- pmap_protect()
- pmap_kenter_pa()
- pmap_kremove()
as described in pmap(9).
These calls are relatively conservative. It may be possible to
optimize these a little more.
2001-04-24 04:30:50 +00:00
thorpej
d2fefd399c
ctype-like functions are in libkern now.
2001-04-18 15:43:01 +00:00
briggs
511ae4853c
Remove extra whitespace after \.
2001-04-16 13:45:31 +00:00
kleink
f06533a1ee
Add definitions of C99 integer format conversion macros.
...
XXX Fastest minimum-width integer types haven't been decided upon yet.
2001-04-15 17:13:04 +00:00
kleink
739cb75837
Add definitions of C99 specified-width integer type limits.
...
XXX Fastest minimum-width integer types haven't been decided upon yet.
2001-04-15 15:29:02 +00:00
kleink
cdcf9f46c5
Add definitions of C99 integer constant macros.
...
Tidy Makefiles up a little.
2001-04-14 22:46:19 +00:00
kleink
a7c20e5788
Add definitions of C99 integer constant macros.
2001-04-14 22:38:33 +00:00
kleink
7affdab52e
Add definitions of C99 minimum-width and greatest-width integer types.
...
XXX Fastest minimum-width integer types haven't been decided upon yet.
2001-04-14 12:19:49 +00:00
thorpej
bf2dcec4f5
Remove the use of splimp() from the NetBSD kernel. splnet()
...
and only splnet() is allowed for the protection of data structures
used by network devices.
2001-04-13 23:29:55 +00:00
manu
4678df7c23
Cosmetic change
2001-04-04 17:08:07 +00:00
manu
15fbc5943f
Added a comented out COMPAT_LINUX option in GENERIC kernels of PowerPC ports
2001-04-03 19:50:43 +00:00
lukem
9f60674a47
now that duplicated stuff has been moved to sys/conf.h, remove unnecessary
...
defs for: lpt, joy, pc
2001-03-21 23:42:14 +00:00
lukem
723cd818d8
move duplicate definitions for:
...
pc, lpt, joy, ocis, apm, satlink, i4bctl, i4brbch, i4btel, i4btrc, i4b
from the port-specific arch/*/*/conf.c files into sys/conf.h
2001-03-21 22:25:52 +00:00
soren
912c115675
s/vm_page_alloc_memory/uvm_pglistalloc/ in panic message.
2001-03-21 18:40:28 +00:00
chs
ac3bc537bd
eliminate the KERN_* error codes in favor of the traditional E* codes.
...
the mapping is:
KERN_SUCCESS 0
KERN_INVALID_ADDRESS EFAULT
KERN_PROTECTION_FAILURE EACCES
KERN_NO_SPACE ENOMEM
KERN_INVALID_ARGUMENT EINVAL
KERN_FAILURE various, mostly turn into KASSERTs
KERN_RESOURCE_SHORTAGE ENOMEM
KERN_NOT_RECEIVER <unused>
KERN_NO_ACCESS <unused>
KERN_PAGES_LOCKED <unused>
2001-03-15 06:10:32 +00:00
manu
c1faa5c059
enabled COMPAT_LINUX for sandpoint
2001-03-12 20:10:06 +00:00
thorpej
2c4c690f14
Add the BUS_DMA_STREAMING flag.
2001-03-07 22:42:16 +00:00
briggs
20d5755843
Set the PCI mem tag to 0. The BAR already contains the value that was here.
2001-03-07 05:52:28 +00:00
briggs
9fcf8e36a4
Sync with reality. Add NetBSD tag.
2001-03-06 20:16:09 +00:00
briggs
d6ff14bfde
Update the defaults of MAXTSIZ, DFLDSIZ, MAXDSIZ, DFLSSIZ to those used
...
in macppc.
2001-03-06 20:11:41 +00:00
briggs
7446055d62
Disable interrupts during autoconf.
...
Move identifycpu() from machdep.c to autoconf.c, make it table-driven, and
add a few more models to it.
2001-03-06 20:10:20 +00:00
briggs
a3ee43a4e6
Remove dump stuff that is now in powerpc_machdep.
2001-02-26 14:55:05 +00:00
matt
af212d3fda
Use common switch / setfault / trampoline code. (except amigappc because
...
it doesn't use trap_subr.S either).
2001-02-25 20:34:24 +00:00
matt
e7811ad9b6
Move cpu_sysct and dump{mag,lo,siz} & cpu_dumpconf to powerpc_machdep.c.
...
dumpsys is still port-specific for now. XXX dumpsys is still a stub
on all powerpc ports.
2001-02-24 22:39:16 +00:00
matt
45f666cb9d
Remove setregs since it now lives in powerpc/powerpc/powerpc_machdep.c
2001-02-24 04:35:33 +00:00
briggs
d5cb949785
Install int_types.h, too.
2001-02-13 01:12:56 +00:00
briggs
5b380e8c30
Keyboard, mouse, ws*
2001-02-08 20:27:24 +00:00
briggs
55a187d809
Add lpt and fdc/fd back in. Include i4b stuff, too.
2001-02-08 18:33:07 +00:00
briggs
5fb8680bf6
Add fdc and lpt.
2001-02-08 18:33:03 +00:00
briggs
c86117ec25
Make it a #error to define PCI without PCI_NETBSD_CONFIGURE.
2001-02-08 18:32:02 +00:00
briggs
c3e491058d
Get rid of warning if no com devices are specified.
2001-02-08 18:31:25 +00:00
briggs
d2b8b0adf8
We really don't want isapnp.
2001-02-08 18:29:28 +00:00
briggs
afb7789ae8
Enable devices on the SuperIO chip.
2001-02-08 18:29:05 +00:00
briggs
be0166b004
Add in ppb* for PCI-PCI bridge support.
2001-02-07 05:51:10 +00:00
briggs
7fe588dfd3
Handle setting the proper interrupt line for devices behind bridges.
2001-02-07 05:49:17 +00:00
briggs
2f624f78d6
Share a single pio.h instead of having 4 nearly-identical copies.
2001-02-05 19:33:54 +00:00
briggs
e96035c57c
Tsubai has convinced me that openpic_init() should remain machine-dependant
...
as the details might differ between archs, and passing the various options
leads to some clutter.
2001-02-05 19:22:23 +00:00
briggs
c8ef73b71f
Support for the Motorola Sandpoint reference platform using the
...
MPC8240 processor module. See the README for more information.
2001-02-04 18:32:10 +00:00