Commit Graph

20553 Commits

Author SHA1 Message Date
tsubai 3488febf81 Move dma_intr() to here. 1999-12-18 05:00:56 +00:00
thorpej a7f264fd2f Update for BATU()/BATL() changes. 1999-12-18 01:37:00 +00:00
thorpej 8fc6795a77 - Comment the BAT bits.
- Add defintions for the PowerPC 601 BATs.
- Change the BATU()/BATL() macros to be a bit more flexible; allow size,
  permissions, etc. to be specified.
1999-12-18 01:36:06 +00:00
thorpej 05684a14e6 Comment the MSR bits, and note which ones are not present on the PowerPC 601. 1999-12-18 01:34:15 +00:00
thorpej 0352041467 Hardware Implementation Dependent registers for the PowerPC 601. 1999-12-18 01:33:45 +00:00
msaitoh 45cbcdba34 round textsize only if the binary is demand-pagable
(for backward compatibility)
1999-12-17 08:25:35 +00:00
jeremy a1c67d1d61 Renamed a temporary variable in pmap_enter() that conflicted with the
name of the new 'flags' argument, added as part of the new pmap_enter() API.
Added a comment which explains why there are still sun3x-specific flags
being passed in the unused bits of the physical address, and how these flags
are independent of the new 'flags' argument.
1999-12-17 08:10:59 +00:00
tsubai 4990e1cf94 Move common objects and libraries to common/. 1999-12-17 07:40:09 +00:00
tsubai 03ff4cb4df Moved to common/romcalls.S,v 1999-12-17 07:33:21 +00:00
tsubai 0271e4c36a Moved from bootxx/romcalls.S,v 1999-12-17 07:33:20 +00:00
jeremy d6a3f7a016 Added inet_addr.c to the list of required modules from the kernel stand
library.
1999-12-17 07:28:01 +00:00
thorpej 6926d0d4b1 Hand-tuned pmap_zero_page(). 1999-12-17 07:24:05 +00:00
tsubai be68900e77 Add interrupt level locator and use it instead of hard-coding. 1999-12-17 06:05:37 +00:00
tsubai 5577683a2b s/-G0/-G 0/ 1999-12-17 03:24:33 +00:00
tsubai 9df2e626d6 Use hb_intr_establish(). 1999-12-17 03:21:10 +00:00
tsubai 8a2b8d9a8b Implement hb_intr_establish(). 1999-12-17 03:06:13 +00:00
garbled e89216c73c avoid uninterruptable sleep on a CMD_REQ ioctl. 1999-12-17 00:32:25 +00:00
thorpej 18ab712015 Provide cpu_boot_secondary_cpus(). 1999-12-16 20:24:58 +00:00
thorpej a07b7d60e2 Garbage-collect. 1999-12-16 20:20:11 +00:00
thorpej 81f44f09a5 - Remove a misguided attempt to use procs as idle contexts for secondary
processors.  Instead, allocate separate idle PCBs for them (including
  the primary -- don't use proc0's for its idle context).
- Use SysValue to store the cpu_info for each processor.
1999-12-16 20:17:22 +00:00
msaitoh e7924755fa - round_page(ep_tsize). This fixes a bug which cause panic in pmap_enter_pv().
- DPRINTF cleanup.
1999-12-16 16:50:08 +00:00
shin 79adf0a66b display CPU clock at boot time(Ex. NEC VR4121 rev0.0 131.072MHz). 1999-12-16 13:09:02 +00:00
shin 9751951da4 add CPU pipeline clock calculation function for VR41xx.
display CPU clock at boot time(Ex. NEC VR4121 rev0.0 131.072MHz).
1999-12-16 12:10:02 +00:00
sato 30c02c0abe - support WSDISPLAYIO_GTYPE. (but currently return WSDISPLAY_TYPE_UNKNOWN.)
- support WSDISPLAYOP_GINFO. (but cmsize maybe not correct.. )
- not display kernel message when group 't' ioctl.
- support mmap()
1999-12-16 09:46:56 +00:00
sato b92082a557 - dump some pmu registers at attach. 1999-12-16 09:37:33 +00:00
sato 0941c3a3c9 - cleanup a little.. 1999-12-16 09:36:19 +00:00
thorpej a5b316c4d5 Key off NSIO and NPCEB for (E)ISA interrupt support.
XXX Can probably nuke the SIO test; don't all of the Noritake-class systems
XXX have EISA?
1999-12-15 22:31:04 +00:00
thorpej 4f580f447c Key off NSIO and NPCEB for (E)ISA interrupt support.
XXX Can probably nuke the SIO test; don't all of the Mikasa-class systems
XXX have EISA?
1999-12-15 22:30:40 +00:00
thorpej 58a51e3b72 Key off NSIO and NPCEB for (E)ISA interrupt support.
XXX Can probably nuke the SIO test; don't all of the ALCOR-class systems
XXX have EISA?
1999-12-15 22:28:15 +00:00
thorpej c557690acc Key off NSIO and NPCEB for (E)ISA interrupt support.
XXX Can probably nuke the SIO test; don't all of the Rawhide-class systems
XXX have EISA?
1999-12-15 22:25:21 +00:00
thorpej 3ffe65b597 Use alpha_shared_intr_{get,set}_private(). 1999-12-15 22:21:45 +00:00
thorpej deed2b3b4b Fix a botch in stray interrupt reporting; report the kn300 IRQ, not the
interrupt enable bit on the MCPCIA the interrupt is mapped to.
1999-12-15 20:10:04 +00:00
ad f607dfe4dd - Change prefix for Bt459 register defs to BT459_IREG to indicate that
these are indirectly accessed registers.
- Add defs for directly accessed registers to bt459reg.h.
1999-12-15 15:09:36 +00:00
ad f458e50bdf Since mfb.c is the only user of defCursor[], move it from fb.c into there
and remove the extern'ed declaration in xcfb.c.
1999-12-15 14:48:24 +00:00
ad 278cb41098 Clean up a little. 1999-12-15 14:44:59 +00:00
ad 8307818a9b Don't declare rcons_connect() - pull in <pmax/dev/rconsvar.h>. 1999-12-15 14:44:32 +00:00
ad 788d82a891 Clean up decl. 1999-12-15 14:36:41 +00:00
garbled f02b80418b add <machine/tctrl.h> where needed.
Add some undocumented commands to the ts102 registers file, and fix a few
typos.

Modifications to tctrl.c:

Add entrypoints to driver for open/close/ioctl/poll.
Make device work with apmd. (still no support for suspend/sleep)
Make device work with ENVSYS API.
Slightly restructure handling of events.
Add function to make microcontroller requests.
1999-12-15 08:12:30 +00:00
garbled dd9ad672a9 add entrypoint for tctrl device, and add <machine/tctrl.h> to includes for
machdep.c
1999-12-15 08:03:43 +00:00
garbled 5e200de9b7 Add new spl level for tadpole devices splts102.
Device entrypoints for tctrl device (tadpole micro controller)
add header for direct-access ioctl to the tadpole microcontroller.
1999-12-15 08:01:00 +00:00
thorpej 30df737885 Nuke unused btinfo_symtab field. 1999-12-14 22:39:14 +00:00
thorpej 617f5f4169 Add console type for APCI. 1999-12-14 21:48:48 +00:00
thorpej dd7c54248a Add a type field to btinfo_bootpath. 1999-12-14 21:42:34 +00:00
thorpej 2eaf013302 Optimize for space. 1999-12-14 21:38:31 +00:00
thorpej 1ad07ba016 Recode the kernel transfer point entirely in assembly to completely
avoid compiler surprises.
1999-12-14 20:57:44 +00:00
thorpej 344d11c5f4 Make it possible to strip this down a little more. 1999-12-14 20:55:27 +00:00
thorpej 58ffb9ba82 Include loadfile() (and a.out support for loadfile()) in libsa. 1999-12-14 20:54:04 +00:00
thorpej 25c48ec858 First cut at loadfile() support for the hp300 boot program. Doesn't
work yet (kernel fails before MMU can be enabled).
1999-12-14 20:52:58 +00:00
thorpej 3f9e459666 Make sure the compiler doens't reuse the registers we use to convey
information to the kernel.
1999-12-14 19:14:49 +00:00
thorpej 56b2a5174c Add a bootinfo facility, as is used on i386 and pmax, ports. We expect
the bootinfo to be located in the first page of kernel text (which has
been zero-filled for a Very Long Time to allow us to unmap KVA 0); the
boot loader will place it there after loading the kernel image.
1999-12-14 17:51:20 +00:00
thorpej a817ac2b7c Add COMPAT_LINUX, COMPAT_SVR4, EXEC_ELF32. 1999-12-14 17:46:05 +00:00
dbj cf7de63ef3 add files needed to use KGDB as suggested by Christian Limpach <chris@Nice.CH> 1999-12-14 11:17:26 +00:00
sato 63a8704a00 - initialize vrdsu_softc sc_iot member in vrdsuattach(). 1999-12-14 04:21:10 +00:00
augustss d71ddb5075 Add Cirrus Logic CS4280 driver. 1999-12-13 20:22:53 +00:00
drochner d057216913 add parsing of the "32bit memory descriptor" tag type 1999-12-13 20:12:22 +00:00
drochner d9549f09b8 add EGA console support 1999-12-13 16:30:15 +00:00
uch 46fb1c9fce initialize pciirq. 1999-12-13 15:42:05 +00:00
leo ef4d7a827f Change the copy_region function to shutup gcc's unused warnings in some
cases. Use the bus_space_tag without doing something useful... (idea from
Matthias Drochner).
1999-12-13 15:40:28 +00:00
sato 254fb071e7 - Vr4102 does not have PMUWAIT_REG_W register, so comment it.
- Vr4121 only have PMUDIV_REG_W register, so comment it.
1999-12-13 06:53:01 +00:00
sato 93482f6705 - change some comments.
- vr4102 have not BCUCNT3_REG_W register, so comment it.
1999-12-13 03:11:36 +00:00
sommerfeld c86b5b3d08 Add new CPU feature flags (up through recent Pentium III and Celerons) 1999-12-13 01:31:30 +00:00
uch 0ad989b87a remove unreferrenced header file. 1999-12-12 18:40:33 +00:00
uch 78a5012f77 add Telios keyboard (tc5165buf) information. 1999-12-12 17:11:20 +00:00
uch 97c3960184 SHARP Telios keyboard driver TOSHIBA TC5165 (tentative) 1999-12-12 17:10:01 +00:00
uch b2098820d6 Telios keyboard support. 1999-12-12 17:08:37 +00:00
uch f76253722c clean up 1999-12-12 17:07:13 +00:00
uch 573725bd34 set stop timer interval. 1999-12-12 17:06:22 +00:00
uch 7780f42e8c update comment. 1999-12-12 17:05:38 +00:00
uch c8296edee4 code clean up. 1999-12-12 17:04:55 +00:00
ragge ffbd2c2f5e CL* discarding. 1999-12-12 14:39:18 +00:00
soren 0d5146155c s/16x450/16x50/ 1999-12-12 11:51:29 +00:00
scottr 3310f57beb Replace references to PGOFSET with m68k_trunc_page() and m68k_page_offset(),
as appropriate.
1999-12-12 08:18:48 +00:00
scottr 8759c4e95e Add m68k_seg_offset() and m68k_page_offset() to complement m68k_trunc_seg()
m68k_trunc_page(), respectively.  Motivated primarily by a desire for
code clarity and symmetry.
1999-12-12 07:45:46 +00:00
thorpej 2128a07943 Put an interrupt-safe mutex around PCI configuration space access. 1999-12-11 20:48:25 +00:00
sommerfeld 85ba879817 MP: spinlockinit actually takes 3 args, not 4. 1999-12-11 19:39:31 +00:00
ragge 9beccd4e88 Detect "Infoserver 1000" also. 1999-12-11 17:55:13 +00:00
ragge ae6ef93106 CL* discarding. 1999-12-11 17:54:04 +00:00
ragge e921b99ca0 CL* discarding.
Move physmem setting to pmap_bootstrap().
Fix security problem in process_write_regs(), found by Klaus Klein.
1999-12-11 17:51:34 +00:00
simonb f981fe2ed7 Don't need "extern int physmem" - <sys/systm.h> has this already. 1999-12-11 14:05:04 +00:00
simonb 3af7b06f11 Revert previous - the problem was a hard-coded KN01 dc address, not the
cookie value.
1999-12-11 13:49:18 +00:00
castor e91bafa460 Replace unused keys with IGN instead of UNK for NEC MobilePro 750c,
to match usage of other systems.
Also, modify ALT keys to return AltL keysym so debugger key sequence
will work.
1999-12-11 08:23:29 +00:00
takemura a9fc09cb1a I've took 1 for i. 1999-12-11 03:29:26 +00:00
takemura 9fb0ec1daf Recompile to support MobilePro 750 and Mobile Gear II for DoCoMo. 1999-12-11 02:58:22 +00:00
jun a29e89ddf6 regen. 1999-12-10 09:14:27 +00:00
jun 5b17c4459e change MG2 for Docomo,MCR-500A platid 1999-12-10 09:13:06 +00:00
mhitch 2553fa2352 Add multicast capability to the A4066 (es) driver; now it will do IPv6. 1999-12-10 05:44:58 +00:00
mhitch 0e63301bc7 Check for valid device when starting a request with interrupts; device
probes are now done with interrupts, and would hang when probing for
non-existent device.
1999-12-10 05:39:20 +00:00
scottr a15eb6dc13 An interrupt handler may change adbInCount underneath us, so qualify the declaration
with volatile.  The bug didn't show its face until more agressive
optimization showed up, apparently a result of the last egcs upgrade.
(The interrupt handling changes from June have certainly also played
a part.)  Thanks to Ken'ichi Ishizaka for discovering the problem.
1999-12-10 00:03:47 +00:00
castor 855917ea08 Fix typo on _MIPS_BSD_API switch. 1999-12-09 15:39:46 +00:00
tsutsui a109943094 Initial import of news68k port. 1999-12-09 14:53:00 +00:00
leo 748a00abd5 Fix argument of extent_free(). 1999-12-09 13:07:41 +00:00
msaitoh 650e62ebf5 demand paging for ZMAGIC SH COFF binary! 1999-12-09 08:33:15 +00:00
jun d4524d28d7 MobilePro750c keyboard mapping table contributed by "Castor Fu" <castor@geocast.com> 1999-12-09 03:14:06 +00:00
jun 20e8996454 add mobilepro750c_keytrans 1999-12-09 03:03:55 +00:00
jun 30f0c17cb2 add entry for NEC MobilePro 750c 1999-12-09 02:51:30 +00:00
jun a565cabff0 Regen. 1999-12-09 02:48:43 +00:00
jun f169738a6b add NEC MobilePro 750c a.k.a. MCR_500A 1999-12-09 02:47:24 +00:00
simonb ef246ec592 Add a few comments for unsupported systems. 1999-12-09 02:31:37 +00:00
sato 4765859db3 vrbcu related change. 1999-12-09 02:15:27 +00:00
sato 30dbdb3a28 - cleanup a little.
- vrbcu_vrip_getcpuid()
- exported prototype move to header.
1999-12-09 02:14:00 +00:00
simonb 8433a7d9eb Enable DECsystem 5100 support. 1999-12-09 02:11:55 +00:00
sato 22f343c7ba - tail \n
- add needs-flag for vrbcu & vrpmu.
1999-12-09 01:56:23 +00:00
simonb 77aea66917 Use "u_char *" instead of "caddr_t" for all colormap references. In line
with recent MI rasops changes, and fixes compile problems with -current.
1999-12-09 00:16:14 +00:00
thorpej 8b34a5b689 Revert previous. 1999-12-08 23:54:55 +00:00
thorpej fd6f6e85b2 Slight changes so that bounce buffers can be implemented for the Jensen. 1999-12-08 23:40:35 +00:00
ad 6979dfbd2b Accessing the ringbuffer from KSEG0 is too naughty to contemplate. Mother
would never approve.
1999-12-08 21:38:10 +00:00
ad 48eb7986d4 - If we call px_init() at attach time, then we're not the console, so don't
set the console arg to 1. Noted by mhitch.
- In px_init(), don't compute pxi_fontscale if we're not the console,
  since we don't have a font in the first place. This is a relic from
  when the driver was converted to use 'struct wsdisplay_font'.

Should fix crashes if a px board is installed and isn't the console.
1999-12-08 21:33:43 +00:00
msaitoh f7bd242b6f calculate microtime() correctly. 1999-12-08 20:39:45 +00:00
msaitoh e7c433b9d5 fix copyinstr(9) bug (from Charles M. Hannum). 1999-12-08 17:12:21 +00:00
joda 3ae2d6605b defopt APM_DISABLE_INTERRUPTS 1999-12-08 16:46:32 +00:00
uch bf823f92da fix typo. 1999-12-08 16:22:10 +00:00
uch a46d11d667 don't define DEBUG in source code. 1999-12-08 15:57:12 +00:00
uch 395dc11439 sync with skbd. 1999-12-08 15:54:11 +00:00
uch 866a7053d6 MITUBISHI M38813 keyboard controller. 1999-12-08 15:51:07 +00:00
uch 7584977dc8 Remove old keyboard driver for Compaq C.
Add driver
 PHILIPS 74ALVC1624? buffer chip + simple keyboard driver.
1999-12-08 15:49:18 +00:00
simonb e065c9fbda Store only the kernel name itself in the bootinfo BOOTPATH record, and
not the full boot device specification.

With this change, /etc/rc doesn't spew garbage when kvm_mkdb can't
find a kernel called "3/rz0/netbsd" or some such...
1999-12-08 14:23:34 +00:00
jun d93cbc13dd add MobileGearII for DoCoMo 1999-12-08 07:34:58 +00:00
jun 2952df34ed Regen. 1999-12-08 07:30:28 +00:00
jun 7c4f8a7f07 add MobileGearII for DoCoMo 1999-12-08 07:29:24 +00:00
jun 2335cc052c add Compaq PRESARIO 213 1999-12-08 05:35:30 +00:00
jun d7ec450645 regen 1999-12-08 05:27:07 +00:00
jun b06bff8f39 add Compaq PRESARIO 213 1999-12-08 05:25:11 +00:00
jonb 34c41c47d3 Update to get closer to the current reality... 1999-12-08 04:46:40 +00:00
simonb 24a48d8b87 Oops, back out some test 5500 stuff from previous commit - only RAMDISK
was meant to be changed.
1999-12-08 04:16:16 +00:00
simonb 3b874faeb3 Add newline to last line of file. 1999-12-08 04:12:15 +00:00
simonb 369211f9ca We now need a 3MB miniroot. 1999-12-08 04:11:07 +00:00
simonb 09af3823bf In dc_ds_consinit(), choose the address of the dc device based on
systype.  Fixes lockup on 5000/200 - tested on 5000/200, 3100 and
5100.
1999-12-08 04:03:28 +00:00
simonb f3867cd79f Don't need to prototype consinit() - it's in systm.h. 1999-12-08 02:56:17 +00:00
sato 1ff57633a7 - clear all intr status and show old status when attached. 1999-12-08 01:54:59 +00:00
sato 0df4960b03 - PMUINT_ALL, PMUINT2_ALL.
- some registers.
1999-12-08 01:51:56 +00:00
thorpej 781149bb12 Handle the case where PCI dense memory and PCI sparse memory don't
overlap; don't require allocation from the dense extent if the PCI
memory address isn't mapped into dense space.

Also, make sure to return an error if a liner mapping is requested
and dense space is not available (not just not requested).
1999-12-08 01:48:39 +00:00
sato 2c24f58ba1 Vr41xx LED control register definitions. 1999-12-08 01:43:58 +00:00
simonb c2f5cc273c Don't use our own defines for SCCDEV or RCONSDEV - pull in
<pmax/pmax/cons.h> for these values.
1999-12-08 01:29:11 +00:00
thorpej 9beb275ae8 Oops, committed the wrong version of this file previously. 1999-12-08 00:35:43 +00:00
simonb dcf49845cb Remove one of two (different!) prototypes for dc_consinit(). dc_ds.c
now includes <pmax/dev/dc_cons.h> to get the correct prototype.
1999-12-08 00:13:33 +00:00
simonb 3742b697d5 Fix gaff in previous - need <kn230.h> and use _SYS_DZ0 not _SYS_DZ for
5100 console device.
1999-12-08 00:04:11 +00:00
simonb 12ed1b07a3 Use KN230_SYS_* names for 5100 device addresses. 1999-12-07 23:23:19 +00:00
thorpej a4f30c3f19 Add entry for AlphaServer 2100 (Sable, Sable-Gamma). 1999-12-07 21:51:53 +00:00
thorpej fcf35a8417 Add options, files, etc. for the AlphaServer 2100 (Sable, Sable-Gamma).
Actual source files not yet committed.  Very Soon.
1999-12-07 21:47:12 +00:00
thorpej 25a665e643 Avoid a spurious warning when establishing a pulsed interrupt handler
on an IRQ which was marked "initially-pulsed".
1999-12-07 21:36:16 +00:00
thorpej 4056ebc587 When doing a badaddr check, insert an extra `mb', which is highly magic
on some systems (due to quirky bus adapters).
1999-12-07 21:35:06 +00:00
thorpej 388112cd09 Add nsphyter. 1999-12-07 19:38:54 +00:00
thorpej 1488729b56 Update for reality. 1999-12-07 19:38:36 +00:00
thorpej 28de1b15a4 Add tlp at cardbus, and nsphyter. 1999-12-07 19:37:40 +00:00
uch dd4be4cdba Fix iocorrect defines. 1999-12-07 17:53:04 +00:00
uch 7dd8599060 supply power. 1999-12-07 17:37:21 +00:00
uch 90c7b962a6 frame buffer device support. 1999-12-07 17:25:00 +00:00
uch 1bf65c154a Supply power before attaching socket. 1999-12-07 17:23:54 +00:00
uch e96dc9806b changing power up sequence.
disable all power before probing plum2 devices.
1999-12-07 17:21:45 +00:00
uch af18379afb TX3922, tx39_poll_intr uses stop timer interrupt as sampling interrupt. 1999-12-07 17:11:05 +00:00