Commit Graph

14399 Commits

Author SHA1 Message Date
mark
44e22f7606 Fix a couple of unused variable warnings for RC7500 builds. 1998-02-21 23:40:03 +00:00
mark
35c234d2a6 Replace -Wreturn-type with -Wall for CWARNFLAGS. 1998-02-21 23:30:56 +00:00
mark
88aa559e5e Remove inclusion of machine/katelib.h
Remove local prototype of savectx().
Comment all the #endif lines for PMAP_DEBUG
Remove un-necessary variable 'up' from cpu_fork().
Use %p rather than %x for several debug print messages.
1998-02-21 23:27:10 +00:00
mark
018ce60490 Remove functions for disable_interrupts(), enable_interrupts() and
restore_interrupts() as these have been replaced by macros in
machine/cpufunc.h.
1998-02-21 23:21:28 +00:00
mark
2553c95bde Include machine/cpufunc.h for interrupt disable/restore routines. 1998-02-21 23:19:36 +00:00
mark
24aaa5f9dd Add macros for the CPU functions disable_interrupts(), enable_interrupts()
and restore_interrupts().
1998-02-21 23:17:05 +00:00
mark
ccb81fe3d3 Remove prototype declarations of disable_interrupts(), enable_interrupts()
and restore_interrupts() as these are CPU related functions.
1998-02-21 23:16:28 +00:00
mark
706589adb9 Update the L1_SEC() macro to take a cache enable mask.
Add a macro L1_SEC_SIZE to define the size of a L1 section.
1998-02-21 23:11:28 +00:00
mark
854d928a14 Fix typo in a DMA dummy stub function. 1998-02-21 23:09:37 +00:00
mark
6eccd50f49 Remove local prototype for savectx().
Update all map_section() function calls to map I/O sections as
non-cacheable.
1998-02-21 23:08:17 +00:00
mark
c273b285d8 Remove local prototype of savectx().
Updated all map_section() function calls to map sections as non-cacheable.
1998-02-21 23:04:54 +00:00
mark
99ae0b08fe Updated all map_section() function calls to map I/O sections as
non-cacheable.
1998-02-21 23:02:34 +00:00
mark
1c782f5da1 Add a cacheable flag field to the map_section() function so that L1 page
table section mappings may be made cacheable.
Remove a few nasty hardcoded shifts and use macros from machine/pte.h
instead.
Cleaned up a few comments.
1998-02-21 23:00:57 +00:00
mark
745e11a2b1 Remove local prototype of savectx(). 1998-02-21 22:57:44 +00:00
mark
628ae33403 Remove register declarations. 1998-02-21 22:56:58 +00:00
mark
1bd5283fb7 Remove inclusion of katelib.h and include cpu.h and cpufunc.h. 1998-02-21 22:52:50 +00:00
mark
ba8b28d360 Remove local prototypes of strstr(). 1998-02-21 22:51:43 +00:00
mark
c81dae4473 Move some prototypes form katelib.h to a more suitable home in cpu.h 1998-02-21 22:49:18 +00:00
mark
ea04275578 Remove local prototype of disassemble() and include disassm.h instead
for prototype.
Fix compiler warnings about unused variables with certain config options.
1998-02-21 22:43:29 +00:00
mark
d13b903579 Remove local prototypes for disassemble() and include disassem.h instead
for the prototype.
1998-02-21 22:41:34 +00:00
mark
83fcf2d5c8 Define prototypes for disasm() and disassemble(). 1998-02-21 22:38:40 +00:00
jonathan
f7bd3a0119 Move existing contextsw-avoidance code in rzdump() earlier, since rzready()
also calls biowait().

Some drives seek to modepage on every modepage geometry-sense in rzready()
cache dev_t of last readied device in rzdump() to elide rzready() calls.
2x speedup of dumps on rz25 and 20x-30x speedup on some IBM OEM 4gig drives.
1998-02-21 20:20:55 +00:00
scw
d38d12d85a Whoops, cgd's pmap_map change got lost! Put it back. 1998-02-21 19:22:00 +00:00
scw
0e88177c0b Implement changes for MACHINE_NEW_NONCONTIG and UVM. 1998-02-21 19:03:25 +00:00
christos
4e915f8681 PR/4950: Rene Hexel: Add id for Terratec EWS64 joystick 1998-02-21 13:19:14 +00:00
mark
3fa53fb439 Check the for the TODCLOCK_FLAG_FAKE flag in the attach args to allow
a "real" driver to have priority.
Make sure that a todclock service does exist before trying to read and
write the time.
If no RTC read routine exists, just use the suggested time in inittodr().
1998-02-21 03:19:02 +00:00
mark
fb161c5c9c Set the flags field in the todclock_attach_args to 0.
Fix typo in currently commented code.
1998-02-21 03:13:46 +00:00
mark
50f9bf3cb5 Add a flags field to the todclock_attach_args structure.
Define a flag bit to indicate that the todclock is faking the RTC
read and write routines.
1998-02-21 03:12:32 +00:00
mark
59be9f9e0e Don't configure the qms mouse device into A7000 kernels as the A7000
only supports a PS2 mouse and not a quad mouse.
1998-02-21 02:46:11 +00:00
mark
5b4cb30e30 Recognise the ARM7500FE IOMD id as supporting a podulebus. 1998-02-21 02:44:42 +00:00
mark
b302819fbe Nuke db_show_fs_cmd() and the "machine fs" command in the debugger. The
command has not been used for years and is really broken now vfs_conf.c
is no more.
1998-02-21 02:42:42 +00:00
scottr
81d2791bd9 Unify ADB options and place them all into opt_adb.h. Provide a knob to
enable ADB debugging messages if ADB_DEBUG is configured.
1998-02-21 00:37:07 +00:00
gwr
5f0963e887 Switch to MACHINE_NEW_NONCONTIG 1998-02-20 21:51:29 +00:00
scottr
0ca6188f89 Fix for ADB hang while probing, based on information from Colin Wood:
Rather than waiting indefinitely for a mouse or extended keyboard to
respond -- which may not even exist -- time out after 2 seconds and
continue.  This corrects a very common problem with the MRG-based ADB
driver that has bitten many people running 1.3.
1998-02-20 18:14:10 +00:00
frueauf
5e3035adb1 include <unistd.h> for optarg/optind. 1998-02-20 09:19:11 +00:00
mycroft
7aad596fa6 Fix formatting glitch. 1998-02-19 23:21:33 +00:00
thorpej
17eae81dc5 Use the generic NetBSD/mips crash dump code. 1998-02-19 23:13:33 +00:00
thorpej
2f74d0222a savectx() is prototyped in <mips/cpu.h> 1998-02-19 23:10:18 +00:00
thorpej
0743f83f64 Implement new style crash dumps for NetBSD/mips, lifted from NetBSD/alpha. 1998-02-19 23:09:30 +00:00
thorpej
cf06aa7c03 Prototype dumpsys() and savectx(). 1998-02-19 23:07:14 +00:00
thorpej
c5862712ae New crash dump format definition for NetBSD/mips. 1998-02-19 23:06:11 +00:00
thorpej
50f58080f4 Rewrite rzdump(); the previous one was completely broken. 1998-02-19 23:04:41 +00:00
gwr
ce396c52e6 can not use star 1998-02-19 22:50:04 +00:00
gwr
43cbb05833 Support MACHINE_NEW_NONCONTIG 1998-02-19 22:21:28 +00:00
leo
c281cb0e23 Update Hades PCI support:
- Initialize the PCI bus and hand-out mem and i/o addresses. (there is
    still lots of room for improvements here...)
  - Implement the interupt functions
1998-02-19 16:16:51 +00:00
drochner
0587f7e6e7 add COMPAT_386BSD_MBRPART option 1998-02-19 14:21:57 +00:00
drochner
ce380ad936 enable "old partition ID" compatibility per default 1998-02-19 14:18:36 +00:00
drochner
ad33d83f8b Add compatibility code (#ifdef COMPAT_386BSD_MBRPART): look for 386BSD
partition ID if the NetBSD ID was not found.
Cleanup, use definitions from <machine/disklabel.h>
1998-02-19 14:15:38 +00:00
drochner
411e77cac8 Add compatibility code (#ifdef COMPAT_386BSD_MBRPART): look for 386BSD
partition ID if the NetBSD ID was not found.
1998-02-19 14:12:48 +00:00
drochner
7d1b6dbcbf -define new own partition ID for NetBSD (0xa9)
-protect structure definitions from inclusion in assembler files
1998-02-19 14:10:34 +00:00
drochner
b3019be867 Use an own NetBSD MBR partition type. Add compatibility code for fallback
to the old 386BSD ID (#ifdef COMPAT_386BSD_MBRPART).
basically from Duncan McEwan <duncan@MCS.VUW.AC.NZ>
1998-02-19 14:07:33 +00:00
thorpej
69c27a1dfb Make sure the compile directory is always there. 1998-02-19 09:17:56 +00:00
thorpej
c3a02725ea Use a reasonable default for NKMEMCLUSTERS. Previous default value wouldn't
run multi-user for very long at all, and every kernel configuration file
overrides it!
1998-02-19 06:40:09 +00:00
thorpej
772da350d4 Disable the message buffer during crash dumps by clearing msgbufenabled,
not msgbufmapped.
1998-02-19 04:18:30 +00:00
cgd
0924c4443d Make sure the reason that NOLINT is set is documented. Additionally
in places where it should be set (or has to be set right now), do so.
1998-02-19 02:17:05 +00:00
thorpej
258bdac2d5 Include the MFS option header. 1998-02-19 00:32:11 +00:00
thorpej
1870f7af79 Include MFS option header. 1998-02-19 00:31:08 +00:00
thorpej
8a5a1155cf Include KERNFS option header. 1998-02-19 00:30:38 +00:00
perry
8486362eaf remove obsolete boot code -- we now use the code in stand/ 1998-02-18 19:23:23 +00:00
perry
3add465995 remove obsolete netboot code -- we now use the code in stand/ 1998-02-18 19:21:36 +00:00
tsubai
117df8f77a Initial import of NetBSD/news. 1998-02-18 13:48:03 +00:00
mycroft
2e55db84dd Sync with powerpc/include/vmparam.h; removes some things which are not used. 1998-02-18 11:11:24 +00:00
mycroft
b7bc9342a8 Fix typo. 1998-02-18 11:10:08 +00:00
mycroft
3b9429b248 Minor changes to make all the float.h files match. 1998-02-18 11:01:27 +00:00
mycroft
5197bf8085 Minor changes. 1998-02-18 10:55:48 +00:00
mycroft
f0a5dd43ce Multiple-inclusion crap, correct precision of DBL_*, etc. 1998-02-18 10:54:10 +00:00
mycroft
ec9c3ce899 DBL_MIN and DBL_MAX were less precise than they should have been.
Other minor changes to match other float.h files.
1998-02-18 10:37:04 +00:00
mycroft
d47ec6f1ae Include correct information for long doubles (mc68881 extended precision). 1998-02-18 10:24:45 +00:00
mycroft
c525e48e35 Include correct information for long doubles (i387 extended precision). 1998-02-18 09:22:02 +00:00
thorpej
edbfcebb6a Fixup an inconsistency in the declaration of PTDpaddr, pointed out by
Chris Demetriou.
1998-02-18 03:04:40 +00:00
cgd
3bbb7f7d45 Move pmap_map() function definition to MD headers, as appropriate. It's
an internal function, and the VM system shouldn't try to prototype it.
(Note that some ports _don't_ prototype it.)
1998-02-18 02:05:32 +00:00
cgd
f19c0ee648 nuke pmap_map(). it's an internal MD function, and it's unused 1998-02-18 01:44:32 +00:00
thorpej
b7d1ce7766 Switch the i386 port to the new kernel crash dump format. 1998-02-18 01:09:25 +00:00
is
31c87441a4 Cosmetics. Pointed out by Matthias Scheler. 1998-02-17 19:42:38 +00:00
thorpej
8354e68508 Remove "class" declarations, and add "devclass" declarations where
appropriate.  Fix several inconsistencies between device class and
attributes.  Mostly from Chris Demetriou.
1998-02-16 22:12:45 +00:00
thorpej
65e20aa9a8 Add first-cut support for UVM. NOTE! User page table allocation does not
currently work with UVM in this pmap!  This is due to a bug in the interaction
between kernel_object and submaps which will be addressed shortly.
1998-02-16 21:01:39 +00:00
thorpej
d8f3ddff17 Add support for UVM. 1998-02-16 20:54:51 +00:00
drochner
07fdccb3a4 Document new WD80x3 option. 1998-02-16 11:41:14 +00:00
drochner
509f891bd0 -Completely reset the card in EtherStop(), otherwise the next
open can fail.
-Disable interrupts in the mask register - EP_W0_RESOURCE_CFG is not
  sufficient for PCI cards.
1998-02-16 11:26:36 +00:00
drochner
b8cdacb8d5 Redo standalone driver for WD8013 / SMC Ultra boards.
(The old one was buggy.)
Frontend / backend splitup and most code taken from sys/dev/ic/dp8390.c
and sys/dev/isa/if_we.c.
1998-02-16 11:21:59 +00:00
thorpej
b4e77b173a Add support for non-contiguous physical memory, using MACHINE_NEW_NONCONTIG.
These changes also recover memory that is located before the kernel in
the first system software segment on systems which do not use the PROM
for console I/O.  Written by Chris Demetriou and myself.
1998-02-16 03:59:55 +00:00
thorpej
2b06ffd5f9 Add support for UVM. 1998-02-15 21:19:34 +00:00
thorpej
8559f25d47 Implement kcopy(), like bcopy(), but aborts if a fault is encountered.
Required for UVM.
1998-02-15 21:18:45 +00:00
pk
0fc808b760 Think-o in pmap_extract4m(), detected by UVM. 1998-02-14 09:28:52 +00:00
cgd
1584dc4420 The pmap_emulate_reference warning about the page not being managed should
be a panic instead.  If it's hit, "random" memory is going to be corrupted.
1998-02-14 02:04:05 +00:00
cgd
1538076f47 fix pasto in last (sigh) 1998-02-14 01:18:46 +00:00
cgd
ab67040f58 fix for (harmless) bogon introduced in last commit 1998-02-14 01:17:19 +00:00
cgd
e719e8f703 adjust kernel core dump code for changes in kcore.h, also clean up
slightly.
1998-02-14 00:53:26 +00:00
cgd
69d88fbfd6 replace the single phys_ram_seg_t with a count. an array of segment
descriptors will be placed after this structure in the core file.
1998-02-14 00:17:57 +00:00
scottr
f49dd3ef30 Avoid declaring the "astpending" and "want_resched" globals in cpu.h,
as this breaks C++ code that happens to indirectly include this header.
Both Matthias Scheler and I noticed this, independently.

This problem notably does not affect the atari and sun3/sun3x ports,
which have already implemented a similar solution.
1998-02-13 07:41:45 +00:00
scottr
a3675acf9f Make space for want_resched here, like most of the other m68k-based ports. 1998-02-13 07:39:02 +00:00
enami
2c12105cda Remove comment which says that fxp is untested (it is known to work now).
Also, make model name closer to what driver prints startup.
1998-02-13 04:33:30 +00:00
mrg
7d9acb9bb6 add a commented out PMAP_NEW. 1998-02-13 04:12:33 +00:00
cgd
25d056473c Clean up kernel initialization. Use the bootinfo structure (or innate
knowledge) earlier, and gather all information needed earlier.  Mark the
init code carefully re: when it can print stuff out, when it can expect
the firmware to stop working, etc.  Be more careful about using the PROM
console and other PROM facilities, and hint that in the future all use
of firmware/boot program callbacks by the kernel should go away (since
the world may not be mapped the way the firmware/boot program wants!).
1998-02-13 02:09:03 +00:00
thorpej
b22ad9fe1a Define a lookup table for Alpha platform variation names. 1998-02-13 01:29:09 +00:00
thorpej
bdc328cb13 Use the platform family name in alpha_unknown_sysname(). 1998-02-13 00:27:37 +00:00
thorpej
bd60d9c62d Rewrite the way the platform model string is determined:
- Attempt to find the model string in the HWRPB's DSR area.  Failing that
  (if the HWRPB version is too old)...
- Look up the system variation in a variation/string table.  Failing that
  (unknown variation)...
- Create a default model string using the variation number.

Also, factor out a bunch of common code.
1998-02-13 00:12:45 +00:00
thorpej
44df600994 Define the structure of the HWRPB's Dynamic System Recognition area. 1998-02-13 00:07:25 +00:00
thorpej
7fbc685c06 Make it a little more clear that the "eb164" systype doens't necessarily
mean that a machine is a DEC EB164 (it may be an AlphaPC 164, which is
different, from the firmware's perspective).
1998-02-12 20:46:47 +00:00
thorpej
314f40f8d8 We can't count on the CIA revision register telling us if we're a 21171
or 21172, so make the chip/revsion output a little more sane.
1998-02-12 20:43:45 +00:00
sakamoto
d053bf6ffe Eliminate unnecessary code.
The bebox has only one PCI-ISA bridge(82378ZB).
1998-02-12 05:19:04 +00:00
sakamoto
e6ebe3f36f Add avail_end for DMA (temporary). 1998-02-12 05:16:06 +00:00
cgd
5a1a26d325 set 'hwrpb' in a way that works exactly the same way as the previous
code, but looks significantly less gross.
1998-02-12 02:54:02 +00:00
cgd
c7ba12ab93 rename struct rob's "rpb" element to "rpb_phys" for clarity. also,
change its type from a pointer to a never-defined structure to a
u_int64_t.
1998-02-12 02:27:48 +00:00
cgd
92d17b5b50 clean up the way bootinfo information is passed and used: move the version
number passed by the boot block into a register, change the kernel's
bootinfo handing so that it always uses bootinfo to get bootinfo-ish values
(filling them in if the boot blocks didn't pass them), and make versioning
a small bit more sane.
1998-02-12 01:53:18 +00:00
sakamoto
eef219fd43 Sync with powerpc/include/endian.h 1998-02-12 01:28:48 +00:00
sakamoto
4a3839dbdd Sync with powerpc/include/ansi.h 1998-02-12 01:21:10 +00:00
sakamoto
fcfdcaa513 Sync with port-i386. 1998-02-12 01:19:04 +00:00
sakamoto
4429e5c5fe Import memory disk filesystem hook from port-i386. 1998-02-12 01:03:58 +00:00
gwr
948e07a5ec remove ifdef sun3x 1998-02-11 19:42:29 +00:00
thorpej
c26f962957 Use kernel_map in bus_dmamem_{map,free}(). 1998-02-11 03:08:31 +00:00
thorpej
cb9500aac0 Fix for defopt'd UVM and PMAP_NEW. 1998-02-11 03:05:35 +00:00
thorpej
e9017a5ab3 Use kernel_map in bus_dmamem_{map,free}(). 1998-02-11 03:03:52 +00:00
thorpej
bdecbe552b Use M_DMAMAP where appropriate. 1998-02-11 01:50:36 +00:00
thorpej
30aa56fc66 Use M_DMAMAP where appropriate. 1998-02-11 01:37:51 +00:00
cgd
e21b7a5995 leave space for bootstrap stack when calculating kernstart 1998-02-11 00:05:33 +00:00
mrg
d90485202c - add defopt's for UVM, UVMHIST and PMAP_NEW.
- remove unnecessary UVMHIST_DECL's.
1998-02-10 14:08:44 +00:00
leo
301a4b3f87 Build the library before using it.... (Thomas Gerner). 1998-02-10 10:28:34 +00:00
leo
dda805c3d4 Accept an 68060 as cpu-type. (Thomas Gerner). 1998-02-10 10:25:08 +00:00
thorpej
1951c4b19b Bump KNMEMCLUSTERS slightly, and make it more obvious how to tune it
(lifted from i386 port).
1998-02-10 03:53:01 +00:00
thorpej
68d3b764ce Make it easier to keep the scaled VM_*_SIZE values in sync w/ the
constants.
1998-02-10 03:52:05 +00:00
thorpej
5887833ac7 Kernel for babylon.netbsd.org. 1998-02-10 00:48:14 +00:00
is
cb1085870c Add the LIMITMEM workaround for the kernel address space size problem.
Will be removed as soon as the kernel can auto-adapt to its address space.
1998-02-09 22:14:43 +00:00
jeremy
a1efa84a4d Modified the comments for the recentlty implemented pmap_map() function. 1998-02-09 19:56:37 +00:00
scottb
2ee5fa7f17 iBCS2 code cleanup
added support for ELF binaries
added support for ELF shared libs via mmap code borrowed from svr4_misc.c
incorporated a few XENIX patches from Andreas Wrede <andreas@planix.com>
1998-02-09 02:30:42 +00:00
thorpej
da21f06eb5 Remove the pager options; they're in std.sparc, and will stay there
until UVM is no longer optional.
1998-02-08 19:24:28 +00:00
thorpej
93b0450b6a Back out previous change (again, grrrr). 1998-02-08 19:23:20 +00:00
thorpej
223caea788 pmap_page_index() is not used in the MACHINE_NEW_NONCONTIG case. 1998-02-08 18:47:06 +00:00
thorpej
2f55a48f5c Implement MACHINE_NEW_NONCONTIG and switch the hp300 port to use it. 1998-02-08 18:37:55 +00:00
tv
40f13df5bc the *PAGER options were moved to the generic config files, but not moved
out of here (causes duplicate opeion errors) -- fix.
1998-02-08 17:46:47 +00:00
ragge
c5b2acd27f Split out MSCP floppies as a separate device (rx) instead of handling
them as disk drives. It is now also allowed to change floppies without
the system complaining :-)
1998-02-08 14:03:45 +00:00
thorpej
54aa7dfae0 Correct a think'o I made some time ago, and note that the dump routines
here are broken if VME memory cards exist in the system.
1998-02-08 09:33:14 +00:00
thorpej
1305ecbe62 Allow callers of uvm_km_suballoc() to specify where the base of the
submap _must_ begin, by adding a "fixed" boolean argument.
1998-02-08 06:15:53 +00:00
gwr
22c20779d0 Rewrite the match/attch routines to use the P4 register
(when it exists).  Also get the size right; other fixes.
1998-02-08 05:22:08 +00:00
gwr
0378cb2ff6 Define the CG4B_OFF_* values to be relative to the location of
the P4 register so the probe routine finds the P4 at off=0.
1998-02-08 05:20:08 +00:00
gwr
99fd045ec0 Add fb_eeprom_setsize() for setting the FB size based on the EEPROM
value (to be used only if unit=0).  Add P4 helper functions:
fb_pfour_id, fb_pfour_setsize, fb_pfour_{get,set}_video
1998-02-08 05:15:35 +00:00
gwr
ab8340e9da cosmetic 1998-02-08 05:13:17 +00:00
gwr
0bc9d95f95 Move the sun3-vs-sun3x stuff into std.sun3 and std.sun3x
Configure P4 frame buffers at the address of their P4 reg.
Move messy Sun3 bw2 and cg4 configs to included files.
1998-02-08 05:10:45 +00:00
gwr
e3400ad779 Improve some diagnostics. 1998-02-08 05:07:06 +00:00
gwr
5b69e41858 Default the interrupt priority in match functions. 1998-02-08 05:05:54 +00:00
gwr
5193e1e30e Factor *peek out of bus_subr.c and move it to autoconf.c
(to reduce duplication).  Add bus_tmapin and bus_tmapout
for use in probe functions (gets a temporary mapping).
Add bus_mapout() to undo bus_mapin() if needed.
1998-02-08 05:02:50 +00:00
gwr
e387ffba22 Add pmap_map 1998-02-08 04:57:58 +00:00
gwr
bb082938e2 Fix pmap_map 1998-02-08 04:56:37 +00:00
pk
334b20bbd6 Define a `DMA_FLUSH' macro; dma chip revs 0 & 1 have a different bit
to reset the internal state engine.
1998-02-07 22:41:27 +00:00
chs
abf50cf8c3 add UVM stuff. 1998-02-07 17:28:18 +00:00
chs
50328f94f4 fix initialized variable. 1998-02-07 17:26:34 +00:00
chs
17755a8fae fix typo in locking. 1998-02-07 02:36:58 +00:00
thorpej
9eb328b495 RCS ID police. 1998-02-06 22:26:13 +00:00
thorpej
2d1cb11d5b Allow userland access to pd_entry_t and pt_entry_t, like the old pte.h
used to do.  Also, RCS ID police.
1998-02-06 21:58:05 +00:00
cgd
82bb6682da re-indent the EX_FAST change (try to keep a given argument on one line,
so that it's more apparent what the code is going).
1998-02-06 19:51:54 +00:00
mrg
30a584067f remove paging options from kernel files. 1998-02-06 11:20:27 +00:00
thorpej
c0c3c30be3 When allocating bus space in bus_space_alloc(), use EX_FAST to find
the first fit in the map.  The previous behavior violated the principle
of least surprise (especially annoying when you're debugging space allocation
problems).  Suggested by Chris Demetriou.
1998-02-06 10:06:51 +00:00
thorpej
840bd3d7b3 Back out previous change. Until the default VM system is UVM, these
"options" ARE required, and leaving them here doens't hurt anything in
the UVM case.
1998-02-06 08:21:55 +00:00
thorpej
374b6294f9 Back out previous change. Until the default VM system is UVM, these
"options" ARE required, and leaving them here doens't hurt anything in
the UVM case.
1998-02-06 08:19:23 +00:00
thorpej
10a076eee1 Kernel for zhadum.netbsd.org, soon-to-be CVS server. 1998-02-06 08:08:56 +00:00
thorpej
424e1858c4 Use __BROKEN_INDIRECT_CONFIG where appropriate. 1998-02-06 08:00:52 +00:00
thorpej
b16f0280e3 Add pceb at pci and {eisa,isa} at pceb attachments. 1998-02-06 07:53:26 +00:00
thorpej
9c9a25df29 Don't attach an EISA bus if it's already been configured. 1998-02-06 07:52:13 +00:00
thorpej
cacadb7fbe Erg, typi. 1998-02-06 07:51:46 +00:00
thorpej
fce12f0081 Notify other machine-dependent code that the EISA bus has been configured
in the attach hook.
1998-02-06 07:51:11 +00:00
thorpej
e56b1d0b2d Add an autoconfig node for PCI-EISA bridges. Configures EISA and ISA
bridges via callback.
1998-02-06 07:50:07 +00:00
mrg
6bcccb887c oops, forgot to add these new files 1998-02-06 07:41:33 +00:00
mrg
29e93b8bea add the i386 MD portions for UVM. 1998-02-06 07:21:42 +00:00
thorpej
939995c0dc On the 486 and higher, actually make the bus mem space mapping noncacheable
if mapped with BUS_SPACE_CACHEABLE unset.
1998-02-06 05:35:16 +00:00
mrg
919667a0c7 backout previous change. 1998-02-06 01:22:54 +00:00
pk
0725302eac vme_bus_probe() takes an `offset' argument. 1998-02-06 00:22:41 +00:00
mrg
40b61fb276 put PIL_CLOCK and splclock together, like the rest.. 1998-02-06 00:02:30 +00:00
pk
86f595fb3e This file has been moved to dev/vme a while ago. 1998-02-05 22:14:35 +00:00
wrstuden
2d3036fc0e Add NETATALK support for mips machines. Somehow the NETISR_ATALK code
didn't make it in. Aproved by Jonathan and tested here at Stanford.

While I'm here, add conditional prototypes for clnlintr() and nsintr()
so that NS and ISO will compile correctly.
1998-02-05 21:48:23 +00:00
is
dcc4b3ec64 Get rid of std.draco file.
Amiga specific devices must be named in GENERIC, too.
While here, add vnd pseudo-devices to DRACO.
1998-02-05 20:07:15 +00:00
drochner
ac884fce95 Allow DELAY() to be called anytime:
-don't enable interrupts at the end of gettick(), restore the previous
 state instead
-start timer/counter 0 from delay() if necessary
-comment out "findcpuspeed()", it would clobber the timer again, and it
 is unused anyway
1998-02-05 19:59:54 +00:00
drochner
3f38ea4063 provide pushfl/popfl to C code 1998-02-05 19:53:52 +00:00
mrg
5e91ce6ef1 initial import of the new virtual memory system, UVM, into -current.
UVM was written by chuck cranor <chuck@maria.wustl.edu>, with some
minor portions derived from the old Mach code.  i provided some help
getting swap and paging working, and other bug fixes/ideas.  chuck
silvers <chuq@chuq.com> also provided some other fixes.

this is the sparc portion.

this will be KNF'd shortly.  :-)
1998-02-05 07:57:48 +00:00
jonathan
68f29b9316 Increase delay between mouse reset/self-test and autoreport commands
from DELAY(100) to DELAY(150). The newer accurate DELAY() calibration
left some mice (mostly VSXXX-GA square, not VSXXX-AA hockeypuck)
ignoring the MOUSE_INCREMENTAL command.

The 150ms delay is verified to work on 3100s on both kinds of mice.
1998-02-05 05:19:45 +00:00
gwr
eff2e270bd Merge arch/sun3x into arch/sun3 1998-02-05 04:56:24 +00:00
jonathan
bd968fbc68 Add kernel_text symbol to old Pica locore for final removal of KERNBASE. 1998-02-05 04:19:42 +00:00
sakamoto
9a3f7a093f Use dev/isa/isadma.c. 1998-02-05 03:06:28 +00:00
jonathan
580a0a4d12 Add local `extern' declaration of ioasic_cd, as in alpha/tc/scc.c.
Missed here after the removal of  ioasic_cd decl from ioasicvar.h.
1998-02-05 01:57:35 +00:00
thorpej
8e69ee392a Fixup includes. 1998-02-04 23:41:45 +00:00
pk
dcf0846ffe * Correct vme addresses in xd' and xy' declarations.
* Renamed option: MMU_3L => SUN4_MMU3L
* Enter NFS_BOOT_PARAM option.
1998-02-04 21:49:12 +00:00
pk
90be3b559d Use vme_bus_probe() in si_attach(). 1998-02-04 20:50:47 +00:00
sakamoto
a2b24d5571 Change "__BUS_SPACE_NEED_STREAM_METHODS" to "__BUS_SPACE_HAS_STREAM_METHODS". 1998-02-04 14:13:40 +00:00
thorpej
612aea038c Use the common _bus_dmamap_sync() as the _dmamap_sync method in the
bus_dma_tag_t.
1998-02-04 07:37:28 +00:00
thorpej
1a2b1a18f2 The _dmamap_sync method is no longer optional. 1998-02-04 07:36:10 +00:00
thorpej
b1d8bffad8 Flush the CPU write buffer in _bus_dmamap_sync(). 1998-02-04 07:35:30 +00:00
thorpej
8abe76d2f0 Add offset and length parameters to bus_dmamap_sync(), used for specifiying
partial syncs of a DMA mapping.
1998-02-04 05:12:46 +00:00
thorpej
99cc8482d1 Change the last argument of bus_dmamap_sync() from bus_dmasync_op_t to int,
and allow more than one synchronization operation to be specified in
a single call.  Dissallow mixing of PRE and POST operations.
1998-02-04 01:57:27 +00:00
pk
bee3aa34cc Account for changed vme_bus_probe() arguments. 1998-02-04 01:04:48 +00:00
pk
f060ed68ba sparc_vme_probe(): handle callback argument. 1998-02-04 01:01:14 +00:00
thorpej
a7c5c1ef3c Add dm_mapsize to bus_dmamap_t and rename BUS_DMAMEM_NOSYNC to
BUS_DMA_COHERENT.
1998-02-04 00:32:55 +00:00
thorpej
f35992633d - Implement bus_dmamap_load_mbuf() (copied from i386 port).
- Add dm_mapsize to bus_dmamap_t and rename BUS_DMAMEM_NOSYNC to
  BUS_DMA_COHERENT.
1998-02-04 00:32:22 +00:00
thorpej
4e7c05e588 Add dm_mapsize to bus_dmamap_t and rename BUS_DMAMEM_NOSYNC to
BUS_DMA_COHERENT.
1998-02-04 00:31:33 +00:00
thorpej
2d403996b2 Add dm_mapsize to bus_dmamap_t and rename BUS_DMAMEM_NOSYNC to
BUS_DMA_COHERENT.
1998-02-04 00:10:30 +00:00
thorpej
5fd0d10994 Add dm_mapsize to bus_dmamap_t and rename BUS_DMAMEM_NOSYNC toBUS_DMA_COHERENT. 1998-02-04 00:04:25 +00:00
thorpej
b7b27cb6e4 Back out a change that wasn't supposed to be in here. 1998-02-03 19:16:04 +00:00
mark
b280ec0268 Update copyright. 1998-02-03 19:08:27 +00:00
sakamoto
484f3e93b1 Correct copyright notice. 1998-02-03 07:00:34 +00:00
sakamoto
4cec855834 Change bebox_bus_{io,mem} to BEBOX_BUS_SPACE_{IO,MEM} 1998-02-03 04:38:53 +00:00
sakamoto
e65fe12381 Remove MD ed,wdc drivers. 1998-02-03 04:34:49 +00:00
sakamoto
e3fee92b6e Change bebox_bus_{io,mem}.bus_base to BEBOX_BUS_SPACE_{IO,MEM}. 1998-02-03 04:32:17 +00:00
sakamoto
821174f3ba Remove MD ed,wdc drivers and Support MI ne,wdc drivers.
Change assembler source suffix.
1998-02-03 03:59:53 +00:00
sakamoto
1f9630f4a8 rename {locore,setjmp}.S to {locore,setjmp}.s 1998-02-03 03:53:23 +00:00
sakamoto
cf5d09dc82 Add bus_space_{read,write,set}_{,multi,region}_stream_{2,4,8}().
These methods would be used where "raw" data needs to
{read,write,set} unchanged.
Add define __BUS_SPACE_NEED_STREAM_METHODS.
1998-02-03 03:11:15 +00:00
sakamoto
7026df0613 remove unnecessary cast. 1998-02-03 03:10:24 +00:00
mycroft
b5c132e4d2 Prototype __flt_rounds() consistently. 1998-02-03 01:26:20 +00:00
cgd
f98d915597 remove gross temporary hacks implemented to pacify com.c. That's
been done in a cleaner way by cleaning up the com.c #ifdefs some.
Software tty interrupts should be implemented on NetBSD/arm32,
but these hacks are no longer necessary to work around the lack.
1998-02-02 23:05:50 +00:00
jonathan
8b8b6ca51d garbage-collect unused MMSEG. From PR# 3898. 1998-02-02 22:21:32 +00:00
jonathan
adac7274cc Finish bi-endian support: add code to sum odd start/end bytes
correctly on both big and little endian systems.
From Tsubai Masanari <tsubai@iri.co.jp> in PR# 4434.
1998-02-02 21:27:17 +00:00
thorpej
2d33c2a97c Implement OF_getproplen(). 1998-02-02 21:02:30 +00:00
jonathan
e50f17aab7 Delete incorrect private declaration of db_maxoff. 1998-02-02 12:49:15 +00:00
sakamoto
d5e690b8b7 Eliminate __BROKEN_INDIRECT_CONFIG 1998-02-02 05:54:20 +00:00
sakamoto
f94197be4a Eliminate unnecessary define. 1998-02-02 05:17:40 +00:00
sakamoto
56620b3054 Move "read clock information from bootinfo" to initppc() from cpu_initclocks()
for delay() before cpu_initclocks().
Sync with powerpc/powerpc/machdep.c.
1998-02-02 04:59:19 +00:00
thorpej
172b242837 Rearrange slightly the way the debugger exception vectors are initialized. 1998-02-02 03:01:28 +00:00
is
b3fa451227 Amiga uses the common m68k/sig_machdep.c now. Also moved its definition from
the other 68k ports' files.${port} to arch/m68k/conf/files.m68k.
1998-02-01 21:23:24 +00:00
thorpej
cfa47dfc11 Add support for installing boot blocks into ISO-9660 file system images. 1998-02-01 06:59:30 +00:00
thorpej
fea34a1cf2 Bump the ramdisk size to 3M. 1998-02-01 02:55:42 +00:00
jonathan
5ca978e981 Use correct name ("ioasic") when checking parent bus. 1998-02-01 02:25:34 +00:00
jonathan
696b21e65f Change VM_WAIT --> vm_wait() in mips pmap code, where waiting after
vm_page_alloc1() fails to return a page for use as a segtab.

XXX there must be a better way to do this.
1998-02-01 01:55:15 +00:00
thorpej
4efe4fc0da le* at isa? isn't ready for prime-time yet. 1998-02-01 00:24:26 +00:00
ragge
a355d0bc1b Re-implement page reference bit emulation by using the (otherwise unused)
valid bit. This is faster than the "unmap all" solution that were described
in that Mach paper _and_ it eliminates the need for checking the wired bit.
As a result of this; swapping started working again on vax :-)
1998-01-31 12:17:34 +00:00
ross
d0cce6d144 Take Jason's most excellent advice on platform.model. 1998-01-31 10:55:42 +00:00
ross
1e62e0ffd9 Remove the #include of rpb.h from clock.c and set hz from the hwrpb
in alpha_init() instead of from a hardwired 1024 in cpu_initclocks().
1998-01-31 10:32:47 +00:00
cgd
58fb6574f9 valloclim() was unused; kill it. #undef valloc() at the end of
allocsys().
1998-01-31 02:20:44 +00:00
ross
6270ed1711 Add the A12 fast ethernet controller, an if_de.c hacked (prior to
bus_dma's appearance in the tree) to support sram bounce buffers.
When a busified if_de.c appears, this module can join awd.c at the
end of that long walk on a short pier.
1998-01-31 01:43:40 +00:00
ross
3a83745247 In some hp300-derived pmaps, in pmap_page_protect(), don't walk off the
end of the list of physical->virtual entires into NULL space if the last
entry is (mysteriously) wired in the pmap. Add a DEBUG printf on alpha.
1998-01-31 01:32:55 +00:00
ross
1559f49cd1 Correct a number of apparent errors in a few reboot paramemter block fields. 1998-01-29 22:28:52 +00:00
ross
ccafd3dcb9 Define the A12 names. 1998-01-29 22:26:24 +00:00
ross
f2d2b6bf68 defopt for AVALON_A12 and specifiers for all the platform modules. 1998-01-29 22:23:06 +00:00
ross
18beceb2f9 Recognize Avalon A12 cputype code. 1998-01-29 22:20:15 +00:00
ross
43a3471986 While here in alpha/stand, add a technically required imb coherency op
just before transferring to the kernel entry point.
1998-01-29 22:13:25 +00:00
ross
c1972a428c Avoid VMS palcode ops by using a different technique for cpu_number(),
and don't execute the VMS->OSF palcode switch if the OSF palcode
is already running...which will be the case if the console is not
the venerable SRM.
1998-01-29 22:09:37 +00:00
ross
8430acf1e7 Add a12 platform support. The A12 is a scalable, distributed memory parallel
processor.
1998-01-29 21:46:33 +00:00
ross
12f93343cd Add basic platform support for NetBSD on the Avalon A12. I'm running this
CVS commit on one right now...
1998-01-29 21:42:50 +00:00
ross
683fada0e3 Clean up duplicated code sequences and add an imb (a coherency operation)
whenever the console code is mapped and unmapped.
1998-01-29 21:11:58 +00:00
ross
0c4d28f49e Fix an alpha-specific page daemon wedge...the new pmap_clear_reference()
may be faster, but it was supposed to _clear_ PMAP_ATTR_REF, not _set_ it.
1998-01-29 05:44:57 +00:00
tron
56ba21e271 Add option "#options IPFILTER_LOG", fixes port-i386/4858. 1998-01-29 01:53:03 +00:00
thorpej
d454388747 Fix think-o. Noted by Ian Dall. 1998-01-28 18:26:09 +00:00
bouyer
2edc21452a The name of cyrix's CPU family 6 model 0 is 6x86MX. Also set this name
for the default name.
1998-01-28 17:08:05 +00:00
gwr
6b745182fc No need for NFS_BOOT_RWSIZE here (root is always md0) 1998-01-28 16:41:10 +00:00
gwr
d2f145c059 Add NFS_BOOT_BOOTPARAM (fixes PR#4904) 1998-01-28 16:40:19 +00:00
thorpej
2538ed1062 Use offsetof() from libkern.h 1998-01-28 02:23:04 +00:00
pk
d8dc32e559 It's no longer necessary to deal with the timers early. 1998-01-28 00:15:09 +00:00
cgd
a34a81d49b fix change made in rev 1.5: clock was moved to ioasic, but ioasic
_requires_ offset locator (which may be wildcarded).  No offset locator
was supplied, so kernel configs using this file would fail.
1998-01-27 18:17:39 +00:00
ragge
fe52d237fd Fix to make vfork work on machines with separated PCB/mtpr PTE registers. 1998-01-27 17:35:03 +00:00
sakamoto
a013a80854 Import DDB from OpenBSD/powerpc. 1998-01-27 15:13:09 +00:00
sakamoto
7055a6a919 Import DDB from OpenBSD/powerpc. 1998-01-27 09:15:58 +00:00
sakamoto
8c2e671594 Fix PR/4679:missing cast, from SUNAGAWA Keiki. 1998-01-27 05:46:59 +00:00
thorpej
5d3fc3e8bc Implement bus_dmamap_load_mbuf(). 1998-01-27 03:31:54 +00:00
thorpej
5ac7e550d1 Implement bus_dmamap_load_mbuf(). 1998-01-27 02:35:58 +00:00
gwr
995291fbac Deal with the fact that PROM driver descriptors are allowed to have
zero-length list of "standard addresses" by ignoring d_devbytes if
there are no addresses provided.  In these cases, the PROM will map
the device without our help.
1998-01-26 22:02:17 +00:00
gwr
faf4390c38 Save the "bustype" from our attach args in the controller "softc"
and use that instead of hard-coding BUS_VME32 everywhere.
(The Sun3X needs a more specific bustype value.)
1998-01-26 21:03:43 +00:00
gwr
3ba1e07ef5 Simplify the colormap and blanking stuff a little. 1998-01-26 20:53:17 +00:00
gwr
ac930c3c4d Moved back to sun3/sun3 1998-01-25 22:41:07 +00:00
pk
72f0ab269f These drivers are now in dev/vme.
The `ie' driver has been split in a VME and OBIO front-end. The latter
lives on in this directory as `if_ie_obio.c'
1998-01-25 20:33:54 +00:00
pk
3d46658e38 disk_establish(): add xd & xy cases (XXX - need more thought). 1998-01-25 19:59:14 +00:00
pk
f937c21c08 VME device declaration changes:
- `vmes,vmel' => `vme'
	- interrupt locator is the VME interrupt priority (`pri')
1998-01-25 19:56:30 +00:00
pk
531a4b2d77 sparc/obio bus front-end to the i82586 driver. 1998-01-25 19:50:50 +00:00
pk
8bc346d14a All VME stuff is gone from here. 1998-01-25 19:44:43 +00:00
pk
7a39d28b24 bus_map() & bus_untmp() are only used for sun4/obio devices. 1998-01-25 16:51:16 +00:00
pk
d44f401c95 bus_tmp() => obio_bus_tmp() 1998-01-25 16:49:33 +00:00
pk
bcb062819f The VME bus is now called `vme'. 1998-01-25 16:47:21 +00:00
pk
333b6319fc Convert to new VME interface. 1998-01-25 16:38:01 +00:00
pk
4efb52487a Split si & sw attach routines, and make the si part use the new VME interface. 1998-01-25 16:37:08 +00:00
pk
f8ba1e0bd9 sparc/VME bus implementation. 1998-01-25 16:06:25 +00:00
mycroft
63162f08ec Add a svr4_setregs() (that just calls setregs() right now). 1998-01-24 18:26:09 +00:00
mycroft
15ae963bea When dumping, print out the device number as major,minor. 1998-01-24 16:46:23 +00:00
pk
8a5023e38c After writing to the IOMMU flush registers, read something back from
IOMMU control space to a flush register to drain internal write buffers (?).
This avoids utter lossage on some machines (SS4s & SS5s) where our caller
would see some of its local (`%lx') registers trashed. This is probably
caused by a silicon bug allowing interference on internal data paths..
1998-01-24 16:22:47 +00:00
mycroft
1f21545d93 Correct an oversight in the startup changes that caused the wrong exception
to be reported in one case.
1998-01-24 15:50:42 +00:00
mycroft
8661bee5de Minor change. 1998-01-24 14:22:44 +00:00
ragge
eda1eecede Remove __BROKEN_INDIRECT_CONFIG and change all drivers to use
config_search instead.
1998-01-24 14:16:11 +00:00
mycroft
d664bf39b8 Add some comments about what the control words do. 1998-01-24 14:00:36 +00:00
mycroft
a963fe5864 Store the initial NPX control word appropriate for the emulation in the saved
FPU state, and use it when initializing the FPU on demand.
1998-01-24 13:19:46 +00:00
mycroft
a9a7cc88d1 Need foo_exec.h. 1998-01-24 12:45:16 +00:00
drochner
ae1a2006c5 -take over debugging printf format fixes from sys/lib/libsa/nfs.c rev.1.23
-make error reporting for mount working as in sys/lib/libsa/nfs.c
1998-01-24 12:43:09 +00:00
mycroft
8bd9717302 Add local versions of setregs(), so I can tweak some registers later. 1998-01-24 12:42:22 +00:00
mycroft
4b8a102fbb Fix process_{read,write}_fpregs(). 1998-01-24 12:11:15 +00:00
pk
49d2bfe020 Add a couple of options I forgot in last commit. 1998-01-23 22:47:20 +00:00
mycroft
d15d246d32 Add wdc* at isapnp?. 1998-01-23 20:42:34 +00:00
thorpej
cacd48c0d6 Print the correct error number if nfs_mount() fails. From Chris Demetriou. 1998-01-23 19:13:28 +00:00
mycroft
c1d56d473f Add wdc* at pcmcia. 1998-01-23 01:16:03 +00:00
mycroft
22c1670658 Some rearrangement of the startup code:
* Move some of the memory bootstrapping and the DDB startup earlier.
* Always put the IDT and the initial GDT and LDT in a separate page.
* Various minor changes.
1998-01-23 00:44:02 +00:00
gwr
119b962a9d Add: extern struct cfdriver cgtwo_cd; 1998-01-23 00:01:28 +00:00
gwr
66be7643e5 Use the same names as the sun3x (DVMA_MAP_*) 1998-01-22 23:59:45 +00:00
gwr
5ba5bda641 Use the same names as the sun3x (DVMA_MAP_*) 1998-01-22 23:45:05 +00:00
gwr
b6be0a1994 Use MONEND instead of DVMA_SPACE_START in the "DDB convenience" symbols. 1998-01-22 23:39:03 +00:00
gwr
dd049a163c Add config flags for tty[cd] to set TIOCFLAG_SOFTCAR.
Remove the framebuffer devices (not useful here).
1998-01-22 23:21:57 +00:00
is
53d89006d1 If on the M68060, make cache-inhibited pages imprecise. Reads and writes
are still in-order, but cached reads dont wait for the last write to finish.
Xamiga on a Altais in 8bit-mode became 30% faster servicing xanim (well, 6%
if you count xanim, too).
1998-01-22 23:13:40 +00:00
gwr
2c9c7a74bd Remove the config flags from "si" lines so the driver default will
be used.  That also makes it possible to patch the kernel in case
the default option causes boot failures or something...
1998-01-22 23:00:24 +00:00
gwr
8c3664b216 Remove the config flags from "si" lines so the driver default will
be used.  That also makes it possible to patch the kernel in case
the default option causes boot failures or something...
1998-01-22 22:27:57 +00:00
gwr
c292276dcf Change our DVMA map from the last 16MB to the last 1MB because that is
the only part that is visible to VME masters, and is adequate space.
This allows the "si" driver (on VME) to use DMA transfers.
1998-01-22 22:20:35 +00:00
gwr
56100bea19 When calling iommu_* functions, use IOMMU_VA_MASK. 1998-01-22 22:12:36 +00:00
gwr
0c50bf6487 No need to print the size (it's constant). 1998-01-22 22:09:11 +00:00
gwr
19e7bf4dcd Add: IOMMU_VA_MASK 1998-01-22 22:07:45 +00:00
gwr
cc1b4e4724 In pmap_bootstrap_copyprom, copy only the last PTE from the PROM's
DVMA segment (for the page reserved by the PROM).  If we copy all
the mappings, pmap_enter_kernel may complain about finding valid
PTEs that are not recorded in our PV lists.  Make pmap_remove_pte
do something reasonable if it finds a PTE for a managed page that
has not been recorded in the PV lists.  (Plus other minor stuff).
1998-01-22 22:00:25 +00:00
gwr
58126a3b29 Separate pmap_activate() from _pmap_switch(), so the latter can remain
equivalent to what locore.s:cpu_switch does with in-line assembly when
PMAP_DEBUG is not defined.  Also do splimp/splx in pmap_activate.
1998-01-22 21:48:42 +00:00
gwr
43013bccbb Use MONEND instead of DVMA_SPACE_START in the "DDB convenience" symbols. 1998-01-22 21:35:27 +00:00
gwr
ccf791aa2e Add: extern struct cfdriver fdc_cd; 1998-01-22 21:26:25 +00:00
mycroft
c654cd6a87 Fix a bogon that flared up when XSERVER was defopted. 1998-01-22 20:55:48 +00:00
drochner
9219f22775 strchr.c disappeared from libkern, use index.c instead
(we can't control the libkern build as we want, but it works...)
1998-01-22 15:48:02 +00:00
thorpej
2ee3e0153d Generate dependencies on the exec format options EXEC_AOUT, EXEC_ECOFF,
EXEC_ELF32, EXEC_ELF64, and EXEC_SCRIPT.
1998-01-22 01:32:14 +00:00
thorpej
dd4cb910db Generate dependenices on the XSERVER option. 1998-01-22 01:16:23 +00:00
thorpej
122364206a Generate dependencies on the DUMMY_NOPS option. 1998-01-22 00:44:06 +00:00
thorpej
54a35a6019 Generate dependencies on the USER_LDT option. 1998-01-22 00:39:16 +00:00
mark
09be9c026e Only update the intrcnt array if IRQSTATS is defined. 1998-01-22 00:04:10 +00:00
thorpej
9ba18e2255 Generate dependencies on the MATH_EMULATE option. 1998-01-21 23:29:08 +00:00
mark
2b66ad2b89 Implement severl missing prototypes. 1998-01-21 22:55:19 +00:00
mark
330df4c754 Added missing prototypes. 1998-01-21 22:51:38 +00:00
thorpej
9c3ef8899b Don't conditionally define the sgmap_log_entry structure, and turn off
SGMAP logging by default.
1998-01-21 22:36:10 +00:00
mark
b0e99b3251 Cleanup various debugging printf format strings. 1998-01-21 22:34:39 +00:00
thorpej
3d9cd8a05a Extent names are const. 1998-01-21 22:34:38 +00:00
mark
dfbf823cea Cleanup various debugging printf format strings. 1998-01-21 22:34:38 +00:00
mark
a108da3f00 Cleanup function prototyping in disasm_interface structure. 1998-01-21 22:33:10 +00:00
mark
ce1e283415 Axe some unused variables. 1998-01-21 22:28:12 +00:00
mark
74ff2dac9d Cleaned up various debugging printf format strings. 1998-01-21 22:25:37 +00:00
mark
52adaefc18 Include sys/systm.h for various prototypes. 1998-01-21 22:20:02 +00:00
leo
8d5fa0c992 Fix a bug in the colormap handling. (Thomas Gerner) 1998-01-21 09:07:46 +00:00
mrg
c71457ab4a KNF, and use splzs over splhigh in one place. 1998-01-21 05:54:39 +00:00
jonathan
ac937aafed Fix clock attachment to match (pseudo) ioasic attachment in 5000/200 kernel. 1998-01-21 02:38:26 +00:00
pk
ab37013309 Put back `le0 at lebuffer0' for backwards compatibility. 1998-01-20 22:12:51 +00:00
drochner
66e093ada9 remove unused and misleading KERNSIZE definition 1998-01-20 13:11:25 +00:00
drochner
ae5f11c8d7 fix typo in DEBUG code 1998-01-20 12:48:05 +00:00
mark
0c0da40168 Removed a load of unused variables. 1998-01-20 05:01:14 +00:00
mark
75b044ab61 Prefix the SPL macros to avoid clashes with userland macros (e.g. ipf). 1998-01-20 01:18:18 +00:00
mark
20323bb58c Enable disassembly of ldc and stc instructions.
Fix a couple of prototypes.
1998-01-20 00:51:24 +00:00
mark
6924ceb598 Declare arm8_clock_config() to return an int rather than void. 1998-01-19 23:51:01 +00:00
drochner
6e2af98681 adapt to changed <dev/ic/i8253reg.h> 1998-01-19 11:39:57 +00:00
sakamoto
39d4125cc3 add com0,com1,com2,com3
comment out wdc0, wd*(temporary)
1998-01-19 03:58:35 +00:00
sakamoto
9c3c5ad478 Support bootinfo like i386-port.
-define a buffer for information passed by the bootloader
-add a function ("lookup_bootinfo") to extract data
-use passed console information, for console attachment (VGA or SERIAL)
-use passed clock information, for timebase, decremente register
1998-01-19 03:47:41 +00:00
thorpej
12809e3434 If mapping only one segment of DMA memory into KVA space, use K0SEG. 1998-01-19 03:12:20 +00:00
sakamoto
5f78a36791 Add findcpuspeed for delay() and to pass to the kernel(BUS FREQ information).
some bug fix.
1998-01-19 03:00:55 +00:00
thorpej
c6d1f2e018 G/c LANCE DMA allocation goop. 1998-01-19 02:57:28 +00:00
thorpej
e5e8573d5c Allocate the LANCE DMA area and set it up here. This is still not
optimal (really should be done further down the food chain), but we
can't really do that in a nice way right now, and this is much better
than what we had before (which was to steal memory pages before the
VM system was bootstrapped).
1998-01-19 02:56:05 +00:00
thorpej
bf92ae27ef Pass a pointer to the "get this slot's DMA tag" function pointer to
the tc instance just like we do with the interrupt functions.
1998-01-19 02:54:24 +00:00
thorpej
806e953f2c Get the per-slot DMA tag a bit differently. 1998-01-19 02:53:29 +00:00
thorpej
70da5cdba9 G/c an unused function pointer. 1998-01-19 02:53:03 +00:00
sakamoto
7bffb69b4c Add btinfo_clock for BUS FREQ information.
some fix.
1998-01-19 02:52:02 +00:00
sakamoto
9b5302f3da eliminate unnecessary declaration. 1998-01-19 02:47:33 +00:00
sakamoto
5a1a1979bb eliminate unnecessary code.
include dev/ic/i8253reg.h instead of timerreg.h
1998-01-19 02:20:55 +00:00
sakamoto
0075503ee7 Sync with arch/i386/isa/pccons.c 1998-01-19 01:49:43 +00:00
ragge
01eb1bb746 Make kernel compile & run again after latest config changes. 1998-01-18 22:09:13 +00:00
ragge
afb1a37379 Fix page size initialisation. 1998-01-18 22:07:50 +00:00
ragge
37f6125fdd Garbage-collect unnecessary functions. Don't have blkcpy/blkclr
as inline.
1998-01-18 22:06:01 +00:00
drochner
32d94859ea adapt to changed <dev/ic/i8042reg.h> 1998-01-18 14:45:10 +00:00
gwr
2628e0df8a Add the sif_macaddr member to struct saif, which can be used
in version 3.X PROMs (gets our Ethernet address).
1998-01-18 05:24:38 +00:00
mark
3f9be879af Removed unused variables and prototypes.
Added missing prototypes.
1998-01-18 04:55:20 +00:00
mark
ce9284e134 Make sure halt() is prototyped. 1998-01-18 04:16:06 +00:00
mark
057522ef3f Remove unused variables for the benefit of gcc -Wall -Werror. 1998-01-18 04:13:53 +00:00
mark
3a8b7284b0 Include sys/buf.h for the minphys() prototype.
Fix several printf() format strings.
1998-01-18 04:11:41 +00:00
mark
3224f7c301 Removed unused variables for the benefit of gcc -Wall -Werror. 1998-01-18 04:09:46 +00:00