Commit Graph

20460 Commits

Author SHA1 Message Date
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