Commit Graph

20607 Commits

Author SHA1 Message Date
uch d034b79aa3 clean up. 1999-12-26 17:06:02 +00:00
uch 124aa3ecd0 totaly rewritten. 1999-12-26 17:05:28 +00:00
tsutsui 2b643fda30 Oops, forgot to add scsibus* at ncr? 1999-12-26 13:02:24 +00:00
tsutsui 79a990ffa1 Add ncr* at pci? 1999-12-26 11:39:16 +00:00
tsubai fa34872358 Use software interrupt. 1999-12-26 09:05:38 +00:00
shin fbae81d242 regen. 1999-12-26 05:51:25 +00:00
shin 5723de16d3 add platid for MC/R530, INTERTOP CX310(IT310). 1999-12-26 05:50:59 +00:00
scottr 97a60329d2 Apparently, the Mac TV is a re-packaged Performa 550. Add code to
recognize this so that Mac TV users can finally ditch the MRG_ADB option.
1999-12-25 08:16:34 +00:00
minoura 58b3ac77bd Give up support of 4MB RAM machines for standard sysinst-based installer.
Restricted small installer must be used on those machines.
1999-12-24 17:02:13 +00:00
minoura 7330ce45ef Replace shell script version of newdisk utility with C version.
Add the man page newdisk(8).
1999-12-24 16:51:24 +00:00
msaitoh 1d5d46cad0 round_page(data_segment_size), too 1999-12-24 08:32:58 +00:00
msaitoh 05781b11af back to previous one (suggested by cgd) 1999-12-24 08:29:23 +00:00
tron e1e62b88e3 Correct description of "vnd" pseudo device. 1999-12-24 00:15:50 +00:00
uch 36380814c1 coding style clean up. 1999-12-23 17:24:30 +00:00
uch 26125dde8a Fix tx39clock_get bug. 1999-12-23 16:58:48 +00:00
uch 0028029538 Add TX39IO_MFIOOUTPORT_OFF option (debugging use) 1999-12-23 16:58:07 +00:00
uch 9481f398a2 Detect overrun interrupt. and add spl. 1999-12-23 16:57:14 +00:00
uch 115925987c Off LCD power when serial console. 1999-12-23 16:56:16 +00:00
ad 103246974d xcfbreg.h is essentially a copy of ims332reg.h with 3 xcfb specific board
offsets defined. Nuke it.
1999-12-23 16:07:58 +00:00
ad 7cc038239e More variable naming pedantry. 1999-12-23 15:42:06 +00:00
ad 977ce29db3 Rectify the jumbled naming scheme of routines in lk201.c. Function names
are now lower case and prefixed by 'lk_'. XXX lk_mouseinit() is bogus. It
belongs somewhere else.
1999-12-23 15:34:17 +00:00
ad e05b646600 mouseInput() should not be declared here. 1999-12-23 15:27:14 +00:00
tsubai 3a04d046b7 Fix typo. 1999-12-23 11:45:32 +00:00
kleink 11e6c54cfc C99: Define a NAN macro in <math.h> which evaulates to a constant expression of
a single-precision quiet NaN; only to be defined on platforms that do support
this value.
1999-12-23 10:15:05 +00:00
tsubai a2928f3d68 Remove 2 more unnecessary debugging codes. 1999-12-23 07:06:44 +00:00
tsubai 9909053174 * Apply updates from Shimizu-san received after the initial commit.
* G/C unused.
* Many cosmetic changes.
* etc...
1999-12-23 06:52:30 +00:00
takemura 98a2a24647 New button handler and power controller with configurable hooking mechanism. 1999-12-23 06:26:08 +00:00
tsubai dd30883b03 Comment out -DBOOT_DEBUG. 1999-12-23 01:41:11 +00:00
tsubai 8a56c134db Delete lines that I didn't intended to commit. 1999-12-23 01:40:06 +00:00
simonb 89b100b1a2 Get 2100/3100 model number correct (test was reversed). Bug report and
patch from Scott G. Akmentins-Taylor on port-pmax.
1999-12-22 22:10:07 +00:00
thorpej 7ec3575193 Update for BAT{U,L}() changes. 1999-12-22 18:57:47 +00:00
thorpej db1042f3bc Update some comments. 1999-12-22 18:57:12 +00:00
uch 508a4e8fd6 Implement TX3912/22 clock/timer module. 1999-12-22 15:35:33 +00:00
tsubai 1bc5465424 Remove unnecessary debugging code. (not intended to commit) 1999-12-22 08:16:45 +00:00
tsubai 70289b0f99 First cut of news5000 support.
Mostly from SHIMIZU Ryo <dejiko@di.gi.charat.org>.
1999-12-22 05:55:24 +00:00
tsubai c594e4d0a3 news5000 support. 1999-12-22 05:54:41 +00:00
tsubai ea69e534d2 * news5000 support.
* mips3_VCE[DI] now support L2CacheLSize != 32.
1999-12-22 05:54:18 +00:00
tsubai efaa549162 First cut of news5000 support.
Mostly from SHIMIZU Ryo <dejiko@di.gi.charat.org>.
1999-12-22 05:53:21 +00:00
jun 2db6d32929 FIX:
port-mips/9016 [serious/medium]:
        MIPS FPU emulator points wrong epc on exception case

	Responsible:    port-mips-maintainer (NetBSD/mips Portmasters)
	State:          open
	Class:          sw-bug
	Originator:     Shuichiro URATA
	Release:        current 12/11/1999
	Arrival-Date:   Fri Dec 17 10:18:00 1999
commit patch
     http://www.a-r.org/~ur/softfloat1211.diff.gz
     by Shuichiro URATA (ur@a-r.org)
1999-12-22 04:54:14 +00:00
msaitoh 8427734872 move sysctl definitions into ${MACHINE}/include/cpu.h 1999-12-21 22:19:16 +00:00
msaitoh 1e7bb23911 add some register definitions 1999-12-21 22:06:04 +00:00
msaitoh 67f8a5ca5b fix the usage of .align 2 1999-12-21 21:41:56 +00:00
frueauf 60332c17b5 As per Chris G. Demetriou <cgd@netbsd.org> don't install
loadfile_machdep.h into /usr/include/hp300/, instead create a
link for machine and hp300 in ${.OBJDIR} like
sys/arch/alpha/stand/Makefile.buildboot does for alpha.
1999-12-21 21:06:26 +00:00
msaitoh 79f94c37ab G.C. 1999-12-21 18:21:53 +00:00
msaitoh 4f62c264c8 ".align 2" for mova instruction 1999-12-21 17:46:54 +00:00
drochner a4cab38506 add rcsid + copyright
one more include file
1999-12-21 16:06:31 +00:00
drochner 5d8a0c0ddd add a function which prints out the memory descriptors (for debugging) 1999-12-21 14:22:54 +00:00
drochner b7b6c4bb4f machdep.c is becoming an unmaintainable mess
put console initialisation into a separate file
1999-12-21 12:34:11 +00:00
tsutsui 386f0ea7b6 Typo. 1999-12-21 08:37:36 +00:00
frueauf 8870b49ed5 Add loadfile_machdep.h to includes to be installed - this makes
sys/arch/hp300/stand/* compile again.
1999-12-20 20:45:56 +00:00
jdc 016b030623 Added tctrl.h 1999-12-20 09:49:20 +00:00
scottr 1c5a093819 Make this compile without bpf. Problem noted by Bob Nestor, fix from
Frederick Bruckman.
1999-12-20 01:06:40 +00:00
tsubai 3b2d2cffe1 Introduce bootinfo. 1999-12-18 08:01:25 +00:00
tsubai 4d08b56ebd Use hb_intr_establish(). 1999-12-18 06:54:05 +00:00
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