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
mrg
d66f9f3321
add a cast to fix a warning.
2000-10-19 05:38:35 +00:00
mrg
88c611ff12
- remove an unused variable
...
- in db_setpcb(), update 'struct proc *p' each loop iteration. (found by
gcc warning).
2000-10-19 05:30:29 +00:00
mrg
1191037add
remove unneeded cast.
2000-10-19 05:28:50 +00:00
takemura
0b805455eb
Swap reft and light key.
2000-10-19 01:08:15 +00:00
pk
44f6bd0d7f
When relocating, there's no need to copy the BSS area.
2000-10-19 00:16:03 +00:00
pk
9d61e4d9a6
Account for the top-most 4 bits of obio addresses being zero on sun 4/100
...
machines, when inferring zs PROM device numbers from the physical address.
2000-10-18 23:55:11 +00:00
matt
76afe54fae
add a clarifying comment.
2000-10-18 21:38:52 +00:00
onoe
26c411de58
Move APbus dependent unmapped DMA address stuff from bus.c to apbus.c
...
Support DMA mapping table with NEWSMIPS_DMAMAP_MAPTBL flag for APbus
(MAPTBL is not tested yet).
2000-10-18 12:47:37 +00:00
nisimura
90c97a3741
GENERIC root filesys had mistakenly typed nfs. Let it wildcarded.
2000-10-18 08:27:19 +00:00
matt
b30ca78c9b
Packets have the FCS append so set M_HASFCS.
2000-10-18 05:43:13 +00:00
dmcmahill
07f0a9daf8
add '-s' option which will cause the installboot program to recalculate the
...
16 bit sun checksum. This flag is needed when making iso 9660 images which
are bootable on both sparc and vax machines.
2000-10-17 22:11:22 +00:00
tsubai
03251ccf07
Pass correct packet length to the upper layer.
2000-10-17 15:57:51 +00:00
sato
d9781d7eb9
add new keyword "initvalue" on pwctl device.
...
if "initvalue 0", set the port initialy "off".
if "initvalue 1", set the port initialy "on".
otherwise keep initial value.
2000-10-17 11:37:20 +00:00
msaitoh
7cc4fa0618
fix shpcic* iomem size from 0x4000000 to 0x1000000
2000-10-17 10:02:11 +00:00
msaitoh
c258b5a193
delete PMAP_NEW
2000-10-17 09:59:29 +00:00
nisimura
77124c056b
Have zstty/zskbd/zsms attached appropriately with standard hardware
...
configuration.
2000-10-17 08:58:42 +00:00
nisimura
1fd2521475
- efforts to merge TC Alpha and IOASIC DECstation, derived from Mattias
...
Drochner's work made in nisimura-pmax-wscons branch. Still a little
to do before useful for DECstation. MI softintr required.
- allow wildcard matchs to have zstty/zskbd/zsms in default hardware
configuration.
- abandon to check zs_ioasic_cnattach() return value; it doesn't fail.
- have zs_ioasic_cnattach() serial line parameters hardcoded inside, in
symmetry with zs_ioasic_lk201_cnattach().
2000-10-17 08:55:43 +00:00
dmcmahill
028cdb58b4
add '-s' option which will cause the installboot program to recalculate the
...
16 bit sun checksum. This flag is needed when making iso 9660 images which
are bootable on both sparc and pmax machines.
this addresses PR port-pmax/10929
2000-10-17 01:54:30 +00:00
dmcmahill
7eb3c0fb47
make the MAGIC check be endian safe when clearing the bootstrap.
2000-10-16 13:47:17 +00:00
sato
59c8220584
DEBUG_FIND_COMPORT code. (by ngc@ff.iij4u.or.jp)
2000-10-16 03:32:44 +00:00
mjacob
7088593e82
Hmm- probably really ought to put ses into sparc GENERIC, since sparc
...
machines are one is very likely to run into SES units (what with all
the D1000's && A1000s out there now). I'll do it in sparc64 as soon
as I get that running for myself.
2000-10-16 01:29:06 +00:00
wiz
c374cadf43
Get RELEASEDIR setting from /etc/mk.conf. Fixes misc/11104 by Markus Kurek.
2000-10-15 22:42:49 +00:00
ragge
7ac8ee6f59
By accident, a previously unused bit in the PTE got used as wired bit.
...
Because of this kvtophys() of wired pages did set the leftmost bit, causing
the pager to hang while swapping. This is now fixed by using another
free bit in the PTE as wired bit instead.
This fixes PR#11121.
Many thanks to Chuck Silvers that found what the problem was!
2000-10-15 11:00:38 +00:00
minoura
7bb188de0c
WSCONS_DEFAULT_TYPE is obsolete; use VGA_CONSOLE_SCREENTYPE instead.
2000-10-15 10:08:00 +00:00
dmcmahill
339897211a
make this be endian independent. The installboot program now works correctly
...
on big endian machines as well as little endian machines.
2000-10-15 03:14:24 +00:00
bjh21
b4ef973eab
IDE hard discs seem to work -- turn them on by default.
2000-10-14 23:46:40 +00:00
bjh21
a449e4af6d
Ensure that the IOC is attached before any other devices, mostly because
...
the UPC driver needs to know whether the system's got an IOEB in it.
The way this is implemented is a mess -- I need to get my mind round
autoconfiguration again.
2000-10-14 23:44:42 +00:00
bjh21
7270db5ec0
Change to semantics of irq_establish: IRQs are now enabled by default, which
...
I think is the same as all other ports.
2000-10-14 23:41:01 +00:00
tsubai
5d6a22ffea
Use VNODE_OP_NOINLINE.
2000-10-14 19:14:06 +00:00
tsutsui
3d26e06673
- Initialize zs chip in zscninit() so that kernel can use
...
serial console even if the PROM uses bitmap console.
- Remove zs_hwflags since news68k does not have keyboard nor mouse at zs;
check zschan address set in zscninit() to detect console device.
- Use BPS_TO_TCONST() to set baudrate in zs_init_reg[].
- Remove zs_get_chan_addr(), which is not needed anymore.
2000-10-14 16:45:49 +00:00
tsutsui
230e4ff333
Clarify some intrnames.
2000-10-14 16:23:33 +00:00
tsutsui
1b5ed35b7a
Re-enable tt0 register temporary to map I/O space.
...
(for framebuffer support)
2000-10-14 07:19:24 +00:00
tsutsui
65d3436a47
Make this compile without "options news5000".
2000-10-13 17:22:52 +00:00
christos
c49fc8469f
void cast for lint.
2000-10-13 03:53:26 +00:00
wrstuden
07a9408ae6
Move ofwboot to 600000 hex. Should make loading better (less likely to
...
run into OF internals).
2000-10-13 00:19:30 +00:00
hpeyerl
87a8c94ed0
Sanity check the cursor position read from the 6845 and if clearly
...
off-screen, set it to 0x0. From dean@huxley.org .
2000-10-12 22:36:30 +00:00
christos
6b7dd5a41a
add sunkbd.c and sunms.c; apparently these are now needed because
...
tty_conf.c brings them in.
2000-10-12 21:27:13 +00:00
christos
6708aee34f
add missing kd_attach_input routine.
...
someone needs to clean this shit up.
2000-10-12 21:26:28 +00:00
tsubai
5fd4c9fe04
Remove a '^G'.
2000-10-12 15:42:47 +00:00
onoe
50159b60f0
Add support to boot on APbus machine (e.g. NWS-5000).
2000-10-12 05:34:29 +00:00
onoe
29780c8cd7
add Tulip (tlp) at apbus
2000-10-12 03:18:41 +00:00
onoe
3c201cca80
change the type of the apbus interrupt handler from void to int
...
for each driver to indicate the interrupt has been handled or not.
2000-10-12 03:17:25 +00:00
onoe
935577e7bc
Tulip driver for NWB-5852A, which is an APbus board with DEC-21140A chip.
...
without MII. It supports 100BaseTX only. Half duplex/Full duplex can
be specified manually, but there are no auto negotiation functionality.
XXX: It takes 34 seconds before sending/receiving packets on the wire
after initial setup. It is obviously a bug because the board
just works fine on NEWS-OS, but I cannot find what's wrong...
Once it starts working, it seems there are no problems.
2000-10-12 03:15:59 +00:00
onoe
31624ad662
use macro to access interrupt mask register.
2000-10-12 03:15:21 +00:00
onoe
f2c3050d29
change the type of the apbus interrupt handler from void to int
...
for each driver to indicate the interrupt has been handled or not.
2000-10-12 03:13:47 +00:00
onoe
be4c939451
change the type of the apbus interrupt handler from void to int
...
for each driver to indicate the interrupt has been handled or not.
add prototype of apbus_dmatag_init() function, which allocates memory
and initialize its member including bus space handle to flush DMA write
cache. Note that the allocated pointer must be freed.
2000-10-12 03:12:01 +00:00
onoe
655ba83924
Allow multiple interrupt handler on same interrupt event.
...
Clear interrupt mask for specified interrupt in apbus_intr_establish().
Add dma stuff; define apbus_dmamap_sync() to flush DMA write cache by
accessing the corresponding I/O port.
2000-10-12 03:11:38 +00:00
onoe
de22372491
Use 1MHz freerun counter for microtime().
...
Show address for bus error, and DMA address error.
should be panic, but only printf for now.
2000-10-12 03:10:37 +00:00
onoe
68f82490a3
Support scsi boot device for NWS-5000.
...
Support NWS-3700, which is very similar with NWS-3400.
Do not depend on modelid of idrom, which is useless in most cases.
2000-10-12 03:10:07 +00:00
onoe
4e2e140f75
Do not access graphic console if probing framebuffer fails for NWS-3400.
...
Use serial console instead regardless the dipsw.
2000-10-12 03:08:58 +00:00
onoe
1383251d9a
Bus I/O and DMA access macros/routines.
2000-10-12 03:07:59 +00:00
onoe
0ff12521fa
Add address for free running 1MHz 1counter.
...
Add registers for APbus I/F gatearray.
2000-10-12 03:07:02 +00:00
mhitch
28c4cc2851
Use uncached memory so this has a chance of working on R4x00 DECstations.
...
My 5000/260 hung hard when a PMAG-D board was probed during boot.
2000-10-11 17:55:56 +00:00
jeffs
bdbb241be6
Fix race between pmap_enter() and pagedaemon. If we are low on memory and
...
pmap_enter() cannot allocate the segmap return failure if PMAP_CANFAIL
instead of sleeping. Otherwise panic. Both alpha and i386 do this. Do
not pmap_enter_pv() until after this is done so the data structures are
not partially allocated. This should prevent pmap_page_protect() from
getting stuck when called from pagedaemon.
2000-10-10 20:39:42 +00:00
he
489b832f9b
Add randomness sampling from hil, sd and rd devices.
2000-10-10 19:58:42 +00:00
ad
e126f09103
Switch to sys/dev/md_root.c.
2000-10-10 10:25:55 +00:00
dbj
15034fe38a
add rnd_source field to mb8796_softc
...
this fixes compile problems with rnd pseudo-device added to GENERIC kernel
patch submitted by greg oster
2000-10-09 10:45:45 +00:00
nisimura
778081cbf4
Add mtc0 insn to load TX3900 config register value to determine Dcache size.
2000-10-09 10:14:23 +00:00
nisimura
89e5c346a4
mips1_ConfigCache() has gone.
2000-10-09 07:33:31 +00:00
leo
c36cc80ceb
Fix a typo that slipped in with the last round of scheduler changes. The
...
register numbers were exchanged.
2000-10-09 06:15:02 +00:00
thorpej
3290ef5fe8
Re-order the TLB operations in pmap_zero_page() and
...
pmap_zero_page_uncached(). This seems to prevent the
lossage with those functions people have seen on Cyrix
CPUs.
2000-10-08 22:59:38 +00:00
thorpej
87a787f7b4
Make sure we use kvtopte() only on kernel addresses. Should
...
fix a panic that occurs when using KGDB repored by Nathan Williams.
2000-10-06 18:37:39 +00:00
tsutsui
fbc8920b4b
variable clock_attached is not needed.
2000-10-05 21:20:48 +00:00
tsutsui
bc0aec12fa
Make leds_intr() __inline.
2000-10-05 19:04:59 +00:00
tsutsui
50570826e7
Remove garbage in comment.
2000-10-05 18:22:41 +00:00
tsutsui
911552b39a
pasto (s/mips/m68k/)
2000-10-05 18:21:10 +00:00
ragge
de4982c7fa
Fix bug that prevented DMA to work on SCSI chain B. This fixes PR#11124
...
but in a different way than suggested by the submitter.
2000-10-05 07:34:49 +00:00
cgd
59706f1322
clean up and consistency for CP0 Count, Compare, Wired, and Config
...
access function names and prototypes.
2000-10-05 02:36:44 +00:00
cgd
b1b364243d
always have to declare cpu_arch and the related constants (since setting
...
it isn't conditionalized). (d'oh!)
2000-10-05 02:13:14 +00:00
cgd
7fefa594f7
add two blank lines
2000-10-05 01:17:20 +00:00
cgd
36123017cb
nuke mips3_clearBEV(). There's really no point in coding a
...
special-purpose assembly routine for things like this.
2000-10-05 01:06:06 +00:00
cgd
3f1d3c3066
tweak cpu_arch. Eliminate all direct checks of it (making them
...
use the macro CPUISMIPS3 -- which is badly misnamed), and set it
from #defines named CPU_ARCH_N (where N is 1..5, 32, 64).
2000-10-05 00:52:59 +00:00
jdolecek
2fa1ccfa6e
bootpath_build(): implement slighly more clever algorith to find boot
...
flags in the bootpath: only treat the rest as boot flags if the '-'
follows whitespace (space or tab)
This should fix the "boot disk4 netbsd-20001004-RFHS8036" lossage
Hubert Feyer pointed out in private e-mail.
Tested by: jdolecek (userland version)
Reviewed by: eeh
2000-10-04 23:05:08 +00:00
cgd
e9e1084ea3
rename mips_read_causereg -> mips_cp0_cause_read. nuke prototype
...
for mips_read_statusreg (which was apparently never implemented).
Provide prototypes and implementations for mips_cp0_cause_write,
mips_cp0_status_read, and mips_cp0_status_write. (Writing can, of
course, be quite dangerous.)
2000-10-04 22:44:01 +00:00
itojun
0c84fad435
more rnd(4).
2000-10-04 22:26:49 +00:00
eeh
6638fc7c06
Fix interrupt lossage problem and some cosmetic changes.
2000-10-04 22:18:25 +00:00
cgd
8b8afc8d07
the generic MIPS code doesn't even play at doing anything useful
...
with a MIPS4 option at this point -- all the code except for one single
spot is conditionalized with MIPS3. So, don't even pretend about
MIPS4 for now, until it all gets cleaned up.
2000-10-04 21:41:47 +00:00
cgd
13eb329ef1
provide indicators of a few more things that might go in opt_cputype.h
2000-10-04 21:31:06 +00:00
is
b0ee22422c
Regenerate from INSTALL.
2000-10-04 20:44:53 +00:00
is
6458912fb4
regenerate: INSTALL changes as implemented in GENERIC and Makefile.
2000-10-04 20:40:06 +00:00
is
986619df97
Reimplement the INSTALL changes in GENERIC and Makefile.
2000-10-04 20:38:11 +00:00
is
1c9bb33fcb
resync, mostly for the rnd addition.
2000-10-04 20:13:42 +00:00
itojun
779fc41d88
enable rnd(4)
2000-10-04 18:14:35 +00:00
tsutsui
39787038e9
Switch to MI mk48txx driver.
...
XXX All config files should be updated since now clock address does not
XXX contain clock register offset in NVRAM.
2000-10-04 16:35:43 +00:00
tsutsui
3f1232147d
Initial bus_space(9) support for news68k. From hp300.
2000-10-04 16:26:43 +00:00
uch
478ab76ca3
experimental power management support for TX3912/TX3922 based model.
2000-10-04 13:53:54 +00:00
nisimura
8d263719b9
Merge exception return path of SystemCall and UserGenException into
...
proc_trampoline.
2000-10-04 08:46:21 +00:00
tsubai
9fa9ef4716
Add rnd.
2000-10-04 08:26:42 +00:00
itojun
9e47af8814
enable rnd device. they are now mandatory for ssh/sshd support,
...
so it makes more sense to enable it.
please disable them if there's any issues, but in that case, in-tree
ssh/sshd won't work.
2000-10-04 03:35:53 +00:00
sato
832204750a
fix mistake of sigmarion cmdmap.
2000-10-04 03:31:14 +00:00
nisimura
a46cefdf5b
Redo the previous change to save MIPS1 only configuration. It's
...
uncertain whether a multiple page flush with a single HitFlush()
call is safe.
2000-10-04 02:02:05 +00:00
cgd
11e8e89dd4
add some additional info re: MIPS32 PRID encoding, derived from
...
the ``MIPS32 4K Processor Core Family Software User's Manual
Revision 01.07 June 19, 2000", available on the web from:
http://www.mips.com/declassified/Declassified_2000/MD00016-2B-4K-SUM-01.07.pdf
2000-10-03 23:15:58 +00:00
tsutsui
2f6ed1a331
Reorganize news68k clock device configuration and
...
prepare to switch to MI mk48txx driver.
XXX news68k does not have bus_space(9) support yet.
2000-10-03 13:49:24 +00:00
wdk
6b207c8f05
Add netbsd.ecoff to list of files to cleanup. Forgot in previous commit.
2000-10-03 10:09:12 +00:00
wdk
ff5d9dc3a7
Change default kernel format from ECOFF to ELF now we can boot ELF using
...
libsa based bootstraps. This is now the prefered format.
ECOFF format kernel renamed to netbsd.ecoff - still required for network
booting.
2000-10-03 09:46:39 +00:00
wdk
e705396abb
Switch to MI md_root.c
2000-10-03 09:38:20 +00:00
sato
af1dcf13da
flash led when intrrupt.
2000-10-03 03:16:16 +00:00
sato
c419b94c00
vr41xx LED unit driver.
2000-10-03 03:13:04 +00:00
sato
ca7374c959
add POWERCONTROL_LED.
...
add PMEVENT_AC, PMEVENT_BATTERY.
2000-10-03 03:08:33 +00:00
nisimura
fc21cc81e1
- Hide MachHitFlushDCache() symbol by enclosing #ifdef MIPS3 to make
...
compilable with MIPS1 only configuration.
- MIPS3 virtually addressed cache op can do its work in a single call for
range of address space.
2000-10-02 22:56:51 +00:00
cgd
8dbc5c0c51
provide mips3_ld() and mips3_sd(), functions which provide safe wrappers
...
for mips3 (and later) 'ld' and 'sd' instructions. These currently
only are properly implemented for the _MIPS_BSD_API_LP32 and
_MIPS_BSD_API_LP32_64CLEAN 'API's. They're pretty messy, but when you
need them, you really need them.
2000-10-02 22:13:38 +00:00
abs
2824f4906d
Ensure all INSTALL* kernels have two ptys, and a note explaining why:
...
pseudo-device pty 2 # pseudo-terminals (Sysinst needs two)
(Some installers may not be using sysinst, in which case this just reduces
the number of ptys from 16 that are not used to 2 that are not used)
For i386 conf files, no change other than comments.
2000-10-02 18:43:34 +00:00
tsutsui
c29947d800
Switch to MI md_root.c.
2000-10-02 15:24:09 +00:00
fvdl
654c1d3603
Adjust after some comments from Noriyuki Soda:
...
apm was enabled in the wrong file, it's not needed in INSTALL_LAPTOP,
but should be there in GENERIC_LAPTOP.
wss0 at isa irq 10 may cause conflicts on some laptops; remove it.
Despite its name, PCIBIOS_INTR_GUESS is safe option, so enable it.
2000-10-02 12:54:39 +00:00
fvdl
32a995f65b
Oops, remove test leftover setting of REALEXTMEM.
2000-10-02 12:22:53 +00:00
fvdl
09440c52d2
Squeeze some more. Do what it has been advertising all along: no SCSI. Use
...
-Os. Remove NFSSERVER.
2000-10-02 08:12:04 +00:00
wdk
2bc18c0ead
Add parenthesis to TICKS_TO_USECS macro avoiding side-effects.
...
Fixes glitch where microtime goes backward. KNF rules!
2000-10-02 07:58:26 +00:00
wdk
d7ff540d90
Boot to multiuser by default.
2000-10-02 07:57:29 +00:00
wdk
68e8ad5120
Fixup missing entries in chrtoblktbl
2000-10-02 07:56:31 +00:00
wdk
77c68f1f9c
downsized kernels for installation & recovery
2000-10-02 07:54:34 +00:00
sato
ee8000c4ad
check NBIVIDEO.
2000-10-02 04:15:51 +00:00
sato
3c83f44fa3
experimental ite8181 video driver for hpcfb.
...
- just copy from bivideo.
- erase WindowsCE hardware cursor initialy.
- LCD power management codes exist, but currently disabled.
Because some devices(include ite8181) confuse after LCD power turn on.
WorkPad z50 power unit seem to be very weak
2000-10-02 04:14:59 +00:00
sato
59de160368
- DPRINTF -> VPRINTF for verbose.
...
- don't attach other video driver under hpcfb.
2000-10-02 04:03:06 +00:00
sato
938b01e688
experimental ite8181 video driver for hpcfb.
...
- just copy from bivideo.
- erase WindowsCE hardware cursor initialy.
- LCD power management codes exist, but currently disabled.
Because some devices(include ite8181) confuse after LCD power turn on.
WorkPad z50 power unit seem to be very weak,
2000-10-02 03:57:53 +00:00
sato
a50307118c
add sigmarion cmdmap and use it.
2000-10-02 03:45:10 +00:00
thorpej
7ca3fb9ef0
Move the check for "promisc + unicast + not for us" into ether_input(),
...
and change Ethernet drivers to always pass all received frames to
ether_input() (with a few exceptions, which are documented in the
code).
2000-10-01 23:32:39 +00:00
pk
d26132e2be
cpu_initialize: global registers aren't preserved across calls to
...
prom_printf(), so replace %g3 with %l7 (which isn't used despite
the `usage' comment).
Also, clean up white-space turds.
2000-10-01 19:13:16 +00:00
tsubai
442b9b5df2
Get the correct OF node of the screen because PowerBooks have two screens
...
in one PCI device.
2000-10-01 19:08:30 +00:00
uch
f88fbde7ac
don't reset RTC in tx39clock_set()
2000-10-01 18:12:04 +00:00
fvdl
f47a0f34f9
Squeeze even more by removing some COMPAT_1X options, com* (serial
...
ports aren't supported for installation), MFS, slip and ppp. There
was no room for pppd and slattach on the "tiny" floppies anyway, so
there was nothing to use them.
Add pcic at isa, pcmcia, wdc at pcmcia, and 'wireful' cards @ pcmcia
(ne, ep, mbe, sm). Installing is now possible on a 4M laptop over
ethernet (tested with ep at pcmcia, and 640+3200 available memory).
2000-10-01 16:20:01 +00:00
scottr
2c7ec6839c
In ems_init(): make sure there's valid data in the buffer after sending
...
a TALK command to a device. Noticed by Ken'ichi Ishizaka.
2000-10-01 05:10:57 +00:00
takemura
ccac45b532
Modify keymaps of MC-R and MC-CS series to add backlight control keycommand.
...
Modify keymap of btnmgr to add backlight control keycommand.
Add backlight control function to bivideo.
2000-10-01 03:45:33 +00:00
leo
d7e0d02e8b
Add include of <machine/asm.h>. C_LABEL is defined there.
2000-09-30 20:40:34 +00:00
leo
ec2e9cd4c8
Add PCB_REGS_* defines. This makes ddb compile again.
2000-09-30 20:36:40 +00:00
fvdl
890dedaed3
Set the # of ptys to 2.
2000-09-30 13:25:12 +00:00
eeh
8e5075103f
This seems to fix the interrupt lossage of non-debug kernels.
2000-09-29 17:02:38 +00:00
tsutsui
cdb3d9df80
Add sip* at pci.
2000-09-29 14:45:59 +00:00
fvdl
2e6f523813
Bump CPU_MAXFAMILY to 7.
2000-09-29 14:17:17 +00:00
fvdl
3cb9873a8d
Recognize Pentium 4. Treat everything with model > 6 as model 7 for now,
...
in the hope that Intel doesn't start number backwards now that they
picked 15 for the P4.
2000-09-29 14:16:23 +00:00
fvdl
243ae4806b
oops, typo in previous (|| -> &&)
2000-09-29 13:15:48 +00:00
fvdl
33234ff066
Don't print anything when the serial number is not supported. There are
...
a lot of other features that may not be supported either, no need to
print them.
2000-09-29 13:05:12 +00:00
wdk
caccbc2e21
Add kernel support for memory disks
2000-09-29 12:43:14 +00:00
tsubai
e256cfb9ec
Fix a bug that prevents the kernel from detecting the root device.
2000-09-29 10:14:20 +00:00
explorer
62da00b60c
clean up printing when serial number not supported or disabled.
2000-09-29 09:07:53 +00:00
explorer
be5f26e138
print CPU serial number at boot time. After all, we have a million other flags printed, what's one more interesting one.
2000-09-29 09:03:18 +00:00
msaitoh
3c5d2c7fac
avoid SH7709A's serious bug (it fails to read IPR* registers under particular
...
circumstances)
2000-09-29 08:08:37 +00:00
deberg
623e319553
add support for 12-bit color displays, from Timm Wetzel w/ changes by
...
me. closes 10741.
2000-09-29 06:35:57 +00:00
deberg
a295f43fb1
merge lines
2000-09-29 06:33:37 +00:00
deberg
b01c657c80
add RCONS_BPP16 for color display
...
also lose esp0 since i have no disc in this machine, and build symbols.
2000-09-29 06:33:17 +00:00
deberg
44c2ad4763
add RCONS_BPP16 for color display
2000-09-29 06:32:38 +00:00
eeh
15eaba378c
Only call pcons_dopoll() if there's a pcons device.
2000-09-29 00:27:13 +00:00
eeh
5c98160d2b
Separate user and kernel address spaces and move the kernel down to
...
0x0000000001000000 -- 0x00000000f0000000, below the PROM where the
PROM thinks we should be.
2000-09-28 19:56:13 +00:00
eeh
d21456569e
Fix INTR_SETUP() to properly distinguish kernel and user addresses.
...
Make microtime() return the correct time on %tick machines.
Re-enable debug stuff in dostart for now to detect kernel mapping issues.
2000-09-28 19:27:49 +00:00
eeh
1090c8a9cf
probeget() actually handles 64-bit values so fix the prototype.
2000-09-28 19:16:35 +00:00
eeh
0ca74ba0d8
Fix the `trap type 0x10' problem. Apparently, something has changed and
...
now makes use of lockmgr(). Since we broke into the debugger from an interrupt,
we don't have a curproc, so when lockmgr() tries to find our PID it barfs,
causing another break into DDB which then calls the mysterious code that
calls lockmgr() again.....
So set doing_shutdown while we're in DDB so lockmgr ignores locks.
2000-09-28 18:54:39 +00:00
thorpej
59ef356b35
Reintroduce the ACPI memory map code. The bug that caused the
...
IDT to be scribbled over on some systems was found and fixed by
T.SHIOZAKI <tshiozak@netbsd.org>.
2000-09-28 18:31:36 +00:00
uch
154f1e86b1
fix tx39clock_alarm_refill bug.
2000-09-28 16:18:26 +00:00
eeh
6776b270ae
Remove unneeded cache flushes.
2000-09-28 15:47:27 +00:00
eeh
a6205d98a9
Poll pcons for input on softints in case someone want to break into the debugger.
2000-09-28 15:38:49 +00:00
eeh
abeb734bb9
Cannot distinguish kernel and user addresses any more.
2000-09-28 15:34:38 +00:00
eeh
5b577f0c8f
Add a command that locates the page structure corresponding to a pa.
2000-09-28 15:32:36 +00:00
eeh
3a2599ebec
Don't take ref/mod faults on DMA segments mapped in to the kernel.
2000-09-28 15:28:43 +00:00
eeh
a5a8082482
Use prom_printf() for debugging instead of printf() since the console may
...
not be functional.
2000-09-28 15:23:06 +00:00
eeh
25ce73d7b3
Fix bad path specifier for finding fpu sources.
2000-09-28 15:19:56 +00:00
is
126ba78048
We do wired page accounting. Tell UVM about this.
2000-09-28 14:03:38 +00:00
is
f41561e9de
We do wired page accounting. Tell UVM about it.
2000-09-28 13:09:10 +00:00
abs
5aa0a5abb1
Prior art in naming would suggest INSTALL_SYSINST rather than INSTALL-SYSINST.
2000-09-28 12:46:43 +00:00
is
2c86369fc4
The Atari pmap does wired page accounting; advertize it to UVM.
2000-09-28 09:09:28 +00:00
leo
670b06c6e0
Move config_console() out of the grf-layer. This allows for more than just
...
grf-type consoles (wscons). Config_console() is now called from consinit(),
just after setting up the kernel msgbuf, so debugging is easy(er).
To further facilitate this move, the pcibus now allows for early-console
attaches by allocating static bus_space_tags (no mallocs possible at this
point).
2000-09-28 07:26:48 +00:00
leo
6cb04802f1
Nuke cf_unit abuse.
2000-09-28 06:39:52 +00:00
leo
af27893736
Correct some typos.
2000-09-28 06:32:10 +00:00
leo
a89f788198
Move the grfbus out of std.atari. You don't want a grfbus defined on headless
...
and wscons setups.
2000-09-28 06:19:06 +00:00
itohy
c2672f184b
Fix the type of pmap_zero_page_uncached from void (paddr_t) to
...
boolean_t (paddr_t) to make it compile again.
2000-09-28 03:41:50 +00:00
mhitch
f9521e4c70
Set the boundary to NBPG for bus_dmamap_create(). The IOASIC DMA segment
...
can not cross a page boundary. This fixes a problem when a dump(8) buffer
just crossed a page boundary and bus_dmamap_load() would coalesce the
the overlap onto the first segment. The NEXTPTR value would get set to
-1 when starting the DMA transfer and the residual data for unaligned
transfers would be copied to physical address 0x1ffffffc. On the R3000,
this would result in corrupted data, and on the R4000 would usually result
in a hard system hang.
2000-09-28 03:27:29 +00:00
mhitch
226b343323
Need to use MachHitFlushDCache() for the MIPS3 to ensure invalidating
...
both the primary and the secondary caches. MachFlushDCache() will not
invalidate the correct secondary cache lines for KSEG2 addresses.
R4000 systems should now be able to boot and run.
2000-09-28 03:19:12 +00:00
is
643b30ef1d
Admit that we count wired pages.
2000-09-27 21:34:29 +00:00
fvdl
c84826de03
Enable usb devices that may be useful during the install (hubs, keyboard,
...
ethernet, mass storage).
2000-09-27 20:41:35 +00:00
eeh
2b673aaef8
Add -V and -D bootflags to print out debug info in pmap_bootstrap() and
...
a fix for non-DEBUG kernels.
2000-09-27 18:20:33 +00:00
eeh
8a0dc83e07
Fix for prev (define fl).
2000-09-27 18:16:01 +00:00
uch
0ab2301b6b
hot plug support.
2000-09-27 17:32:34 +00:00
fvdl
3a999fb11f
A GENERIC and INSTALL tailored for laptop usafe (i.e. cardbus and
...
PCIBIOS options included).
2000-09-27 16:57:09 +00:00
fvdl
0619e37229
Reduce ramdisk size to the amount that is really needed for optimal
...
space saving. Reduce number of ptys to 2. Use NFS_V2_ONLY.
2000-09-27 16:54:56 +00:00
fvdl
48b43cdfb9
Remove some less-needed items to save space. Also add NFS_V2_ONLY,
...
to save more space. For installs, NFSv2 will do just fine.
2000-09-27 16:09:18 +00:00
uch
e1c01aff60
remove obsolete files.
2000-09-27 13:42:14 +00:00
shin
d3cf7525d3
add 'options VNODE_OP_NOINLINE' to reduce size.
2000-09-27 10:22:22 +00:00
shin
6ec1be8054
apply 'hpckbd' change.
2000-09-27 10:21:23 +00:00
sato
82d4c9df0e
add DoCoMo sigmarion cover button.
2000-09-27 09:32:23 +00:00
sato
b1d64a728d
add DoCoMo sigmarion keymap.
2000-09-27 09:30:47 +00:00
aymeric
5712405584
cross-compile properly
2000-09-27 08:28:34 +00:00
aymeric
25365607f3
minor aesthetic changes, plus explicitly state this is public domain
2000-09-27 08:24:02 +00:00
aymeric
97e929ff45
define PCB_REGS_* so that kdb compiles again
2000-09-27 08:23:50 +00:00
scottr
489ed1a908
The Duo ADB controller doesn't notify us that it needs to be polled
...
through the (emulated) VIA. Work around this problem by polling the
Power Manager chip directly. From Daishi Kato, PR 9852.
2000-09-27 03:57:51 +00:00
scottr
29923311f1
Set up ADB hardware type before making decisions based on same.
...
This is part of PR 9852 from Daishi Kato.
2000-09-27 03:27:23 +00:00
scottr
7c2fc39588
Now that we do collision detection and assign all ADB devices to distinct
...
addresses, it makes sense to print the actual address of the device rather
than the original address. The latter is useful to distinguish the type
of device only, so we maintain that data internally (as we always have).
This closes PR 10557 from Dave Huang.
2000-09-27 03:22:05 +00:00
wdk
ceb69697cd
Backout previous commit.
...
loadfile_machdep.h doesn't belong in /usr/include/machine
Pointed out by Simon Burge
2000-09-27 02:06:08 +00:00
msaitoh
f487c6c12e
check whether both COMPUTEXEVB and SH7709A is defined to access special
...
register.
2000-09-26 22:23:55 +00:00
msaitoh
7c1b5c5599
fix SDMR settings:
...
- s/BSC_SDMR_VAL/BSC_SDMR3_VAL/
- add options COMPUTEXEVB
2000-09-26 22:20:03 +00:00
eeh
008eadbac6
UltraSPARC machines don't have FP queues. Don't let userland code set them.
...
It tends to break the FPU emulation code.
2000-09-26 22:05:50 +00:00
jeffs
1bf0f4630f
Use a cast to handle syscall() copyin case with 64b clean ctx save/restore.
2000-09-26 18:24:45 +00:00
jeffs
d6f992112d
No longer save $at on syscall entry. v1 does appear to be used as if
...
you do not save it and pass it along in rval the system will start
to fail running user programs. This finishes the suggestion by cgd to
not save some registers on syscall entry.
2000-09-26 18:22:12 +00:00
uch
a21df3ae8e
fix R3900 FlushCache bug.
2000-09-26 17:47:40 +00:00
ad
a01a66c525
cac* at eisa? reported as working.
2000-09-26 11:51:14 +00:00
wdk
bbec09cae1
Add stand directory to build process
2000-09-26 11:45:06 +00:00
wdk
7378a103a0
Much needed installboot utility. Manual page to follow.
...
Builds and installs from stand directories, but untested from higher
level makefiles.
2000-09-26 10:00:19 +00:00
wdk
50e120c13f
Parse boot string intelligently to extract the boot device options.
...
This permits boot from any SCSI ID
2000-09-26 09:48:35 +00:00
wdk
7495cd76b1
Since we don't have a lseek function in the PROM firmware standalone libs
...
we have to poke the data structures directly to force the offset we need.
The open() function returns with the address of the IO control block in
register t0 so we take a copy of it for our brute-force lseek function.
This should be reasonably portable since the firmware writers closely
follow UNIX semantics and the open stubs should recompile and use the
same registers. May break on the rebadged clones -- buyer beware.
The alternative is to use dummy reads to go forwards and reopen followed
by dummy reads to go backwards. It takes around 60 seconds to boot
using this method if we use a clean filesystem.
Tested with firmware versions 5.40 and 5.43
2000-09-26 09:32:25 +00:00
wdk
9b4e50f624
Second stage bootstrap:
...
- Rename from boot.mipsco -> boot to be consistant with other ports
- use ELF format
2000-09-26 09:11:04 +00:00
wdk
1eec339f4b
First stage bootstrap is stored on boot sectors in ECOFF format. Ensure
...
entire file fits within the imposed limit.
2000-09-26 09:06:50 +00:00
simonb
215a3a5491
Add support for booting off RAIDframe RAID1 mirrors.
...
Check the first partition type in devopen(), and if it is of type
FS_RAID, add 64 to blkdev_part_offset.
NOTE: This brings the size of the alpha first-stage bootblocks up to
close to the maximum. RAID1 support is controlled by the
BOOTXX_RAID1_SUPPORT define, and is easy to disable if size
becomes an issue.
2000-09-26 05:13:36 +00:00
pk
2e79bfed2d
Missing `#if defined(MULTIPROCESSOR) || defined(LOCKDEBUG)'
2000-09-25 21:02:38 +00:00
simonb
ea0dd8a5fb
Reenable VNODE_OP_NOINLINE, and some white space nits.
2000-09-25 14:05:32 +00:00
abs
3ef92f0bdb
Use "options<SPACE><TAB>" not "options<TAB>" - noted by simonb.
...
Move VNODE_OP_NOINLINE and NFS_V2_ONLY into '# Filesystem options' section.
Consistently label '# Filesystem options' and '#File systems' sections.
2000-09-25 13:54:50 +00:00
abs
ccf1c822a6
Ensure all INSTALL config files have (at least) COPTS="-Os", cincluding bebox
...
based on it working already for macppc.
Also add commented out:
#options VNODE_OP_NOINLINE # Don't inline vnode op calls
#options NFS_V2_ONLY # Exclude NFS3 and NQNFS code
as suggestions for additional savings
2000-09-25 11:46:37 +00:00
sato
eb2da98d92
#include <sys/reboot.h> would probably suffice for those.
2000-09-25 09:03:32 +00:00
sato
67afa9cfe2
- when PMUINT_BATT or PMUINT_BATTINTR interrupts occured,
...
send CONFIG_HOOK_PMEVENT_SUSPENDREQ event.
2000-09-25 03:51:28 +00:00
sato
1efb55d0b4
- add debug/verbose functions.
2000-09-25 03:47:37 +00:00
sato
5125b04184
- can compile these files.
...
#include <sys/boot_flag.h>
2000-09-25 01:56:56 +00:00