Commit Graph

32396 Commits

Author SHA1 Message Date
chs 9b01e8d8ce split off the part of cpu_attach_common() that pokes at special CPU registers
into a separate function so that we can run it on each CPU we configure
rather than always on the boot CPU.
2002-07-28 07:03:15 +00:00
chs 84b41b2adb rearrange the PCB structure a bit so it's easier to look at in ddb. 2002-07-28 07:02:54 +00:00
chs 4b5a2a3f79 define CPU_INFO iterators so that the CPU-states sysctl works for MP. 2002-07-28 07:02:29 +00:00
chs 1fab9d5375 remove a spurious printf. 2002-07-28 07:00:58 +00:00
fredette ee28fd70d7 Fixed kgdb support by including <sun2/dev/cons.h>. 2002-07-27 15:55:36 +00:00
hannken ba3784ca91 Convert to new device buffer queue interface.
Approved by: Reinoud Zandijk <reinoud@netbsd.org>
2002-07-27 11:09:35 +00:00
hannken 69d849b171 Convert to new device buffer queue interface.
Approved by: Marcus Comstedt <marcus@netbsd.org>
2002-07-27 11:07:35 +00:00
hannken c32ed76dba Convert to new device buffer queue interface.
Approved by: Jason R. Thorpe <thorpej@netbsd.org>
2002-07-26 13:19:52 +00:00
tsutsui aa1cd5db22 vga_common_attach() now seems to take quirks arg.
BTW, why don't we put it into vc_quirks member of vga_softc directly
in MD attachments?
2002-07-26 12:57:38 +00:00
simonb 13c96f8103 Split out the {b,c}dev to a separate file, which many devices declared
conditionally so that other eval boards (say without PCI support) can
share the basic "conf.c".
2002-07-26 03:23:04 +00:00
simonb 328bb37293 Add support for detecting Alchemy Semiconductor CPUs. Alchemy use the
processor ID field to donote the CPU core revision and the company
options field do donate the SOC chip type, so we need to add an extra
field to the "pridtab" structure to identify these CPUs.
2002-07-26 00:43:54 +00:00
matt f9be6bb495 Cleanup AltiVec data stream issues with context switching. Don't stop
data streams on execptions/interrupts since the processor will suspend
them for us.  Only stop them on 1) process exit, 2) another process gets
its address space loaded, and 3) (for completeness only) we save a process's
AltiVec context.
2002-07-25 23:46:47 +00:00
simonb f416cb43ee Use "#define<tab>". 2002-07-25 23:41:33 +00:00
matt a660a9325f Set normal memory PTEs with PTE_M (memory coherent). Change how we
remember the "exec"ness of a page.  If a managed page is pmap_enter'ed
with VM_PROT_EXECUTE, remember that it's an "exec"page.  Such that when
additional mapping are performed, no synch'ing of the I-cache is needed.
Revoke "exec"ness when the page is mapped into the kernel with VM_PROT_WRITE
or the pmap_page_protect is called with VM_PROT_NONE.
2002-07-25 23:33:04 +00:00
he af9f155a33 Add identifiers for newer 21264 CPUs (B, C and D), EV68 variants.
Information gleaned from corresponding code in FreeBSD.
2002-07-25 15:39:41 +00:00
thorpej efe71a8aac Add support for DMA to/from the on-chip devices of the i80321 (no
PCI window translation).

XXX This would be better done by overhauling the shared ARM bus_dma code.
2002-07-25 15:00:48 +00:00
ragge 9e16460053 Count adapter, stray and device interrupts separately.
From Johnny Billquist.
2002-07-25 12:02:00 +00:00
ragge 2236994142 Increase the interrupt stack, to avoid problems reported on port-vax by
Olaf Seibert. (IPSec takes much stack space).
2002-07-25 10:44:25 +00:00
hannken ab45bd509d Fix a bug from last commit: Look for more work AFTER the current buf
is removed from the queue.
2002-07-24 19:49:28 +00:00
ragge 236406e440 Don't complain about Abuses that don't exist and tell about unsupported CI's.
From Johnny Billquist.
2002-07-24 10:17:45 +00:00
chs 4e9f286b98 for MP builds, save and restore sprg0 (which contains the curcpu pointer)
around restoring OFW's sprg registers while calling into OFW.
2002-07-24 06:04:43 +00:00
chs 185a5bbcf0 rename the intr_depth field of struct intrframe to avoid a name conflict
in MULTIPROCESSOR builds.
2002-07-24 05:44:37 +00:00
chs 804e68d33a reimplement copy{in,out}str() similarly to copy{in,out}()
(instead of the old way of calling [fs]ubyte() in a loop).
2002-07-24 04:59:32 +00:00
hannken 9c4c15c084 Convert to new device buffer queue interface.
Approved by: Nathan J. Williams <nathanw@netbsd.org>
2002-07-23 20:49:54 +00:00
hannken bfc31ebc74 Convert to new device buffer queue interface.
Approved by: Anders Magnusson <ragge@netbsd.org>
2002-07-22 21:48:36 +00:00
manu 2126ded42f Implements WSKBDIO_GTYPE 2002-07-22 20:55:48 +00:00
manu 861152fbd3 Enable two WSDISPLAY options needed by the X server 2002-07-22 20:55:09 +00:00
mycroft 98763c9300 Set addr_shift and size_shift to 0 for the dense region. 2002-07-22 20:05:23 +00:00
briggs c13ee269dd Handle i80200 step D0 and i80321 step B0 2002-07-22 18:17:42 +00:00
tsutsui f776dc6376 Add (commented out) options BSDDISKLABEL_EI. 2002-07-22 15:25:12 +00:00
tsutsui b44bea5ce0 Add options BSDDISKLABEL_EI and options COMPAT_MMEYE_OLDLABEL. 2002-07-22 15:21:05 +00:00
tsutsui b55adcb049 Fix disklabel handling on sh3 ports:
- By default, use disklabels in the native endian.
- With options BSDDISKLABEL_EI, kernels can read/write labels
  in the opposite endian.
- With options COMPAT_MMEYE_OLDLABEL, kernels accept labels
  in format used on old mmeyes.
  (Some old mmeyes have "the bootstrap kernel to load kernel from disks"
   on their flash ROMs and it is not easy to update kernels on the ROMs.)
- While here, use leXXtoh() to read some values in MBR.
2002-07-22 15:11:09 +00:00
wiz 8077be0f11 ADW_*_DISABLE -> SCSI_ADW_*_DISABLE in comments. 2002-07-22 15:10:53 +00:00
wiz c530b39df1 Correct some commented out variables from ADW_DISABLE_* to SCSI_ADW_DISABLE_*.
From Julio Merino in port-alpha/17677.
2002-07-22 14:51:01 +00:00
wiz f3de6108f8 Sync (commented out) SHMMAXPGS value with vmparam.h.
Closes port-i386/12708 by Patrick Welche.
2002-07-22 11:05:59 +00:00
ichiro 6349df15da cdev_tty_init(NIXPCOM,ixpcom) move to end of cdevsw array 2002-07-22 01:12:24 +00:00
ichiro ea20391445 make compile when PCI_DEBUG was defined 2002-07-21 22:16:58 +00:00
manu a719492472 Added a commented out J720KBD_LAYOUT option, to show how default keymap can
be changed.
2002-07-21 19:20:55 +00:00
manu 11bde95a38 Added a french keymap, but the altgr key does not work yet (to be fixed later) 2002-07-21 19:16:39 +00:00
ichiro 6cac77a3ea cosmetic change
mapping i21555 control/status registers
2002-07-21 14:26:05 +00:00
ichiro 517449c38c some bug fix and cosmetic changes 2002-07-21 14:19:43 +00:00
gmcgarry 2e0c7e68a5 Implement true LL/SC emulation. Mostly from Jason Thorpe in PR17548. 2002-07-21 05:47:51 +00:00
mrg 154a2d2a42 use <sparc/foo.h> where appropriate. now these files become very
very difficult to get out of sync.  add bootinfo.h and promlib.h
(using the same method) so that sparc64 headers can build sparc
stand (not yet finished.)
2002-07-20 11:52:21 +00:00
mrg e723e36e79 create a "sparc" symlink as well. sync kernels. 2002-07-20 11:48:17 +00:00
mrg 950cb7a7a6 install "sparc" includes for sparc64 as well 2002-07-20 11:46:14 +00:00
mrg 8543c0c2bc make sparc64 friendly. 2002-07-20 11:43:43 +00:00
mrg 44a3eec3a0 sync these with the sparc64 versions. 2002-07-20 08:37:30 +00:00
grant 6742cb1812 sweep of errx/warnx, remove unnecessary trailing \n 2002-07-20 08:36:17 +00:00
ichiro 2556a42f35 attach/match separated from ixp12x0_com
Some bug of com driver have been improved.
2002-07-20 03:09:03 +00:00
ichiro c0a235d462 change path of include file 2002-07-20 01:36:56 +00:00