Commit Graph

24224 Commits

Author SHA1 Message Date
eeh bc7363329c Adapt to new line discipline scheme. 2000-11-02 00:26:35 +00:00
eeh b43f8c30e4 pmap_growkernel() needs to return the new end of kernel. 2000-11-02 00:24:05 +00:00
eeh 23a0c49039 Adapt to the new line discipline scheme. 2000-11-02 00:21:03 +00:00
tsubai 08e43d95ca Don't set M_HASFCS flag twice. 2000-11-01 20:21:58 +00:00
pk b37856ac0e Update comment accompanying the SUN4_MMU3L option. 2000-11-01 14:34:22 +00:00
ragge 8aed9a24ac Define NO_MID_CHECK, to allow booting of old VAX kernels with other (or
none) mid.
2000-11-01 14:25:38 +00:00
ragge d89e5a54ad Start address must be == 0, otherwise loading on some MicroVAXen will
fail (boot program loaded at address 0 anyway, but tries to start at
the compiled entry point).
2000-11-01 14:06:44 +00:00
ragge a0bc5f5454 Declare revision correctly. 2000-11-01 14:04:28 +00:00
abs 0b8ff41f41 Recalculate NVRAM checksum when updating the NVRAM. Avoids 'reboot'
and 'halt' corruptring the NVRAM contents under RISC OS 4.
Taken from patch by Dave Daniels for PR/8759
2000-11-01 12:28:50 +00:00
abs e997060c61 Fix hanging problem with acorn scsi card on RiscPC and A7000 machines
PR port-arm32/10539 from Mike Pumford
2000-11-01 12:18:55 +00:00
leo 716d4c3866 Do not pull-in machine/intr.h when _KERNEL is not defined. This fixes
compilation problems in the regression tests.
2000-11-01 12:08:16 +00:00
mycroft 9572bf6261 These are incredibly out of date. 2000-11-01 07:58:42 +00:00
mycroft 204e210aef Enable DDB history by default. 2000-11-01 06:57:56 +00:00
eeh ec079ca021 Pass on the sbus frequency. 2000-11-01 06:27:45 +00:00
eeh b19423f823 Pass along bus frequency. 2000-11-01 06:19:59 +00:00
mycroft 94abfa5119 Actually attach the audio device... 2000-11-01 05:28:09 +00:00
mycroft e964414bc8 (Oops. There's no other audio support in this config.) 2000-11-01 04:34:41 +00:00
mycroft 105e2e4e4d Add awacs. 2000-11-01 04:31:20 +00:00
jeffs 196e858c40 Add mips_pagecopy/zero assembly loops for use by pmap_copy/zero_page*()
to allow the almost-64-bit compilation use ld/sd.
2000-10-31 23:39:24 +00:00
pk 47e4ec04e2 Dispose of `boot.net.big'. 2000-10-31 23:29:36 +00:00
pk 4bddbd7e5f Align the DVMA mapping on NBPSG boundaries. 2000-10-31 23:28:11 +00:00
pk 628fe3035f Change the relocation address of `boot' once again to steer clear of
memory used by the PROM on sun4 and early sun4c machines.
2000-10-31 23:21:47 +00:00
jeffs 50e0133709 At the end of pmap_zero/copy_page() use hit instead of index op when
running with multi-way caches.  Since we know the ops will mostly
hit as we just dirtied those lines a single hit op is cheaper than
an index op for each way.
2000-10-31 23:16:31 +00:00
jeffs 5ca84b9d89 Add MIPS3_NO_PV_UNCACHED option to handle virtual coherency issues by
only allowing one mapping at a time instead of mapping uncached.  Done
by removing conflicting mappings from the pmap when entering a new
mapping.  UVM will remember and re-fault the requested page when needed
for the original mapping.  Originally done to support our internal machine
that does not support uncached memory completely.  Not enabled by default
currently.  It may make sense to try on the cobalt or sgi ports.
2000-10-31 22:46:35 +00:00
pk f4dbaa7ac3 This file now lives in sys/dev/sun. 2000-10-31 21:55:14 +00:00
jeffs 11ef576801 Add mips_indexof() macro to make code for checking the cache index
easier to read.
2000-10-31 21:21:10 +00:00
ragge b43932dec2 If a process is locked into memory with mlockall() (like ntpd is)
pmap_enter() will get called trying to wire an already wired page again
if sysctl() is called. To avoid a panic the "wired" check is moved after
the double-mapping check.
2000-10-31 20:15:09 +00:00
tsubai b4b571ccb9 Match "chrp,mesh0". 2000-10-31 16:57:07 +00:00
fvdl 69e9b0392f Sync INSTALL with GENERIC and INSTALL_LAPTOP with GENERIC_LAPTOP with
regard to wireless network interfaces and pcic iomem size (i.e.
bump iomem to 0x1000 and enable cnw, awi and ray).
2000-10-31 15:54:50 +00:00
msaitoh d191cbf210 add interrupt mode into wdog
To use:

	ioctl(fd, SIOWDOGSETMODE, &val)

	val:	WDOGM_RESET	-> reset when counter expired
		WDOGM_INTR	-> print PC when counter expired (new!)

This interface is still under experimental.
2000-10-31 02:04:12 +00:00
msaitoh ec7e30e271 fix compile problem on SH3 (from Atsushi Noda) 2000-10-31 01:18:02 +00:00
msaitoh 13bed0a344 - fix error handing in getc.
Now we can handle BREAK signal and framing error correctly.

- cleanup.
2000-10-31 01:08:41 +00:00
pk 62dddfec3c Enable sun4 support and VME devices. 2000-10-30 23:23:15 +00:00
aymeric 79041c7a30 add a semicolon to make this compile again 2000-10-30 14:40:33 +00:00
tsubai 8853c17400 Add dmac for spifi. (commented out) 2000-10-30 10:16:31 +00:00
tsubai 123fba3de1 Add spifi SCSI (commented out yet). 2000-10-30 10:14:44 +00:00
tsubai c6c547497d NEWS5000 internal SCSI driver. 2000-10-30 10:07:35 +00:00
lukem b14a596beb Add support for booting off RAIDframe RAID1 mirrors. Check the first partition
type in biosdiskopen(), and if it is of type FS_RAID, add 64 to d->b_off.

NOTE: installboot(8) still needs some hacking to DTRT, but at least this way
if you can load "/boot" off another partition (e.g, wd0h), then wd0a can be
of type `RAID' with a raidframe mirror at the start and the kernel
will load OK of wd0a, and with raidctl -A root partitions, it will change
root as well.
2000-10-30 07:30:59 +00:00
thorpej 10203d4eca Change the RNG callout -- don't spin until data is available. If
none is available, just wait until the next clock tick.
2000-10-30 00:26:04 +00:00
eeh 400b7c8ee0 Add pmap_growkernel(). 2000-10-29 23:30:35 +00:00
tsutsui 89c951fa08 Switch to MI md_root.c. Checked by booting INSTALL kernel. 2000-10-29 12:36:35 +00:00
shin 1ddfbf7e96 fix cp0 hazard.
R4000 requires 3 nops between tlbr and dmfc0.
2000-10-29 08:01:29 +00:00
tsutsui 51d748392f Switch to sys/dev/md_root.c. Tested on an INSTALL kernel. 2000-10-29 01:39:19 +00:00
eeh 9746513520 Add bpp and make com match the sparc port. 2000-10-28 23:19:31 +00:00
tsutsui 5013e5d7f2 Enable options SOFTDEP. 2000-10-28 22:42:08 +00:00
tsubai 784da8d158 Use "doze" power-saving mode on 750 and 7400. 2000-10-28 21:57:43 +00:00
garbled b7c07855f6 make -> ${MAKE} 2000-10-28 15:41:25 +00:00
simonb bb33bb331d Fix NRND == 0 case (unused variable). 2000-10-28 13:30:35 +00:00
itojun 5bbd7d495e fix busy-wait logic against random number register. (missing semicolon) 2000-10-28 04:58:35 +00:00
enami 31ac87f602 Don't use memory map of no entry. Instead, fallback into old way.
This fixes one of ``can't find end of memory'' panic on startup.
2000-10-28 02:29:35 +00:00
thorpej 3c01d4cbca Add support for sampling the random number generator on
the 810, 815, 820, and 840 chipsets.  From OpenBSD, modified
for NetBSD by me.
2000-10-27 22:49:21 +00:00
thorpej 7f59704e6c Support the second PCI bus on SeverWorks chipsets. From OpenBSD. 2000-10-27 17:55:18 +00:00
thorpej 2644e830b7 BIOS BUG WORKAROUND! The 82443BX datasheet indicates that the only legal
setting for the "Idle/Pipeline DRAM Leadoff Timing (IPLDT)" parameter
(bits 9:8) is 01.  Unfortunately, some BIOSs do not set these bits properly.

Based on a hint from OpenBSD.
2000-10-27 17:47:44 +00:00
tsutsui 4774402d68 Use pool(9) for pmap structures. 2000-10-27 13:28:54 +00:00
sato b674d1f521 when apm version is not 1.0,
use APM_BATT_FLAG_XXX type value instead of APM_BATT_XXX type value.
2000-10-27 08:19:37 +00:00
sato e13d487465 - A/D converter port macro: PIUAB(n) 2000-10-27 08:13:54 +00:00
sato cbebb75a68 - add VPRINTF().
- show pwctl giu bit for verbose.
2000-10-27 08:12:18 +00:00
sato 5cf5562de3 probe message use dv_xname. 2000-10-27 08:10:32 +00:00
sato a15e59c0eb enlarge ITE8181_LCD_ON_SELF_DELAY. 2000-10-27 08:09:15 +00:00
sato 720875ffea correct comment. 2000-10-27 08:08:08 +00:00
sato 786287aac1 - add new event type: CONFIG_HOOK_SET/GET.
- add some new id in CONFIG_HOOK_PMEVENT.
2000-10-27 08:04:49 +00:00
abs 1ee75cc4e0 Add:
makeoptions        COPTS="-O2 -march=strongarm -mtune=strongarm"
2000-10-26 18:33:02 +00:00
abs 1bb1a44a90 Add (for StrongARM CPUs) commented out
makeoptions     COPTS="-O2 -march=armv3m -mtune=strongarm"
2000-10-26 14:15:33 +00:00
thorpej d05f0929dc We only support Intel PMCs for now, so don't try and read them
on non-Intel CPUs.
2000-10-24 22:03:36 +00:00
tsubai 251bc81879 Change ofwboot entry address to 0x600000. 2000-10-24 12:18:33 +00:00
castor 2a04de9c03 In mips3_TBIS(va) do not invalidate the other half of the JTLB entry if
the page is wired down.  Flushing both halves of a wired TLB entry resulted
in hangs when in programs called for and released kernel memory
soon after being invoked.  In particular, we see this when single-stepping
a process using GDB.

It would be better if we could arrange to use both halves of the TLB
entry for the PCB, but for some reason we frequently end up with things
on an odd page boundary.
2000-10-24 03:23:19 +00:00
tsubai 756f954ef1 Fix Conner CFP1080 problem (pr 7612) and add debugging messages. 2000-10-23 21:04:27 +00:00
ad c5e192cd50 Add `major' for lsu. 2000-10-23 11:32:30 +00:00
fvdl dfcc2820fa Add rtk at pci, some laptops have it.
Add cardbus network cards to INSTALL_LAPTOP (oops, they're largely
the point of INSTALL_LAPTOP..).

From Noriyuki Soda.
2000-10-23 09:31:49 +00:00
sato b394074d8c - change constant to static variable for
ite8181 access delay parameter after lcd power on.
- ITE8181_WINCE_CMAP.
  use presetting cmap by pbsdboot.exe(temporally)
2000-10-23 09:03:31 +00:00
jdc 9f329676c9 Correct `off by one' error when testing against size of disk. 2000-10-23 06:56:00 +00:00
jeffs ade1f640e1 Go to to splhigh() in trap when panicing before calling debugger as break
handling does.
2000-10-23 05:49:05 +00:00
pk bee12f6a67 Restore revision 1.102.
I hope it sticks this time..
2000-10-22 21:28:27 +00:00
uch b84e48b8bd forgot to set HPCFB_ACCESS_REVERSE. 2000-10-22 12:49:27 +00:00
uch 30373f3eb1 reorder color map adequately. 2000-10-22 12:44:16 +00:00
uch fc9212e594 new I/O modules framework for TX based system. 2000-10-22 10:42:31 +00:00
uch c3ceefe48c reverse color support. 2000-10-22 10:33:01 +00:00
uch a9869a4ed5 fix comment. s/DECstation/hpcmips/ 2000-10-22 09:38:23 +00:00
scottr a7a5cd8399 Replace the call to macfb_init() when attaching a non-console fb device
with a call to macfb_clear().

[The purpose of macfb_init() is almost exclusively to initialize the
raster console blitter.  We really, really do not want to do this unless
we are actually initializing the console device, else we'll give rcons
the attributes of the last-seen fb device.  These will not necessarily
correspond to the attributes of the actual console device!]
2000-10-22 05:05:39 +00:00
tsutsui e000111847 Initialize pmap->pm_refcount properly in pmap_pinit() and
add simple_locks where pmap->pm_refcount are refered.

This should fix a long-standing "out of space kmem_map" panic bug on sun3x.
2000-10-21 14:10:25 +00:00
takemura a2c5be7787 Add 'LIBSA_RENAME_PRINTF' in *.config and rebuild related files.
The version of the binaries get 1.16.3.
2000-10-21 13:51:01 +00:00
takemura 5e9e3fbf13 Add menu entries for CASSIOPEIA 'E-65' and 'for DoCoMo'
The version gets 1.16.2.
2000-10-21 09:03:57 +00:00
takemura 64e4d7108e Add platform IDs, Cassiopeia 'E-65' and 'for DoCoMo'. 2000-10-21 07:30:34 +00:00
takemura 9154a8ec27 BUGFIX: PCKBD_LAYOUT had not been effective. 2000-10-21 07:27:41 +00:00
eeh ad3ec5f6af Fix hang in 32-bit kernels caused by relocation of KERNBASE. 2000-10-20 16:43:54 +00:00
ad f0049a2ac4 ca -> lsu 2000-10-20 12:04:02 +00:00
pk 0e7d945483 This file is no longer used. 2000-10-20 11:31:59 +00:00
pk 2c6b19bec4 Add new-line to md attach message. 2000-10-20 11:28:04 +00:00
pk 4dd761fc83 Adjust md root filesystem size.
Enable MFS.
2000-10-20 11:24:48 +00:00
pk d037bc4f59 Change to relocation addresses that currently work on all machines.
boot programs at alternative addresses no longer built and installed
by default.
2000-10-20 11:21:08 +00:00
mrg cb17e80035 fix a comment. 2000-10-20 05:47:03 +00:00
mrg 82d7f3e331 #include <machine/sparc64.h> for prom_printf() prototype. 2000-10-20 05:32:35 +00:00
minoura aa8045ce9c Use up-to-date (newly installed) header files when DESTDIR is set. 2000-10-19 16:17:41 +00:00
ad 23f6f01a0d ca -> lsu 2000-10-19 14:35:41 +00:00
ad 15e25fe73f - ca -> lsu
- Hook in twe.
2000-10-19 14:32:20 +00:00
mrg f39b5cf92e wrap long lines. 2000-10-19 12:25:04 +00:00
leo c9b9b0253d %%<reg> -> %<reg> 2000-10-19 12:15:53 +00:00
nisimura 0c497d25f4 Add wsmouse support. 2000-10-19 10:36:32 +00:00
nisimura 1b3cb15ca9 Fix errors in mouse event handling;
- convert LMR bit pattern into RML since wsevent counts 0 for the leftmost
  mouse button.
- found hardware reports mouse button state in negated.
2000-10-19 10:35:34 +00:00
mrg bc4dd913e7 #if 0 unused code. 2000-10-19 05:44:39 +00:00