Commit Graph

22348 Commits

Author SHA1 Message Date
mrg
a632bcbe9c update for kern/sa lib Makefile.inc changes. 1996-10-05 23:46:43 +00:00
mrg
7b71cdec46 minor copyright update. 1996-10-05 23:41:53 +00:00
leo
84ed172edb Minimal bus.h. Together with the minimal pci implementation, we have just
enough functionality to find a VGA card....
Will be expanded when I buy more pci-cards ;-)
1996-10-05 21:45:30 +00:00
leo
080ee49d98 minimal pci support 1996-10-05 21:41:36 +00:00
christos
1b1e1884b3 Changes from file-3.21 1996-10-05 20:20:24 +00:00
thorpej
d01962702f General cleanup:
- make a prototyping sweep
	- do some garbage collection
	- always print the status of enabling memory parity checking
Still some more to do.
1996-10-05 09:22:47 +00:00
thorpej
84b3384afb Check for internal HP-IB in SYSFLAG much earlier (i.e. before the MMU
is turned on).
1996-10-05 09:19:58 +00:00
thorpej
f52b60c3a0 Prototype ledcontrol(). 1996-10-05 09:18:22 +00:00
thorpej
2ec75a3c3c Cast a volatile pointer to caddr_t for a call to badbaddr(). 1996-10-05 09:17:38 +00:00
thorpej
a6a1f78d0c Handle kernel trace traps and breakpoints like the Sun3 port:
- Only pass user trace traps and breakpoints on to trap().
	  Gets rid of some hair in the trace/breakpoint trap cases.
	- Before entering the debugger, switch to a temporary
	  stack so that the debugger can alter the stack pointer.
	- Add glue for KGDB (still not complete).
Some other minor cleanup:
	- Protect against some bad pointer derefs.
	- Be more a little more verbose when a fatal trap
	  occurs to aid debugging.
1996-10-05 07:24:10 +00:00
thorpej
8499e0131e Handle kernel trace traps and breakpoints like the Sun3 port:
- Only pass user trace traps and breakpoints on to trap().
	- Before entering the debugger, switch to a temporary
	  stack so that the debugger can alter the stack pointer.
	- Add glue for KGDB (still not complete).
Clearly mark the MMU enable trampoline code.
1996-10-05 07:16:52 +00:00
thorpej
0ff075f6e7 Define FR_SIZE as sizeof(struct trapframe) 1996-10-05 07:11:44 +00:00
thorpej
2f9a90e967 Don't lower spl before calling main. For now, do it right before
calling hilinit().  Eventually, would like to enable them only after
autoconfiguration is finished.
1996-10-05 07:06:11 +00:00
scottr
d2be4a69c2 Expand tab in copyright message; it loses on some consoles. 1996-10-05 06:32:43 +00:00
thorpej
2793eb282e If console is on an ite, make sure the HIL is initialized enough for
the keyboard to work.  Fixes a bug where booting with `-d' worked
only on systems using a serial console.

While I'm here, eliminate some redundancy in the ite console intialization
code.
1996-10-05 05:22:04 +00:00
jtk
fb2727b7e6 update to compile; needs new enum name 'Elf_sht_progbits' 1996-10-05 00:12:49 +00:00
thorpej
5f728fb6de Garbage-collect some now-unused PANICBUTTON code. 1996-10-04 22:22:15 +00:00
thorpej
608fae21af Clean up handling of non-maskable interrupts. 1996-10-04 22:19:47 +00:00
thorpej
5c34a4ce35 Use FBTYPE_RESERVED3 for our `unknown' fbtype ... RESERVED1 seems to
have disappeared.
1996-10-04 20:35:53 +00:00
thorpej
3db7555465 Returning ENODEV is not correct in a poll entry point. Instead, since
read/write returns an error, use seltrue().
1996-10-04 20:34:33 +00:00
cgd
c488b75b83 kill misnamed __indr_references() macro, that would have broken things
if it _had_ been properly named.
1996-10-04 19:30:04 +00:00
cgd
010a229c99 compare client names case-insensitively, since hostnames are case-insensitive. 1996-10-04 19:00:31 +00:00
scottr
d12b257695 Fix FMOVEM emulation; postincrement modes use different ordering than
predecrement modes, per 68K Programmer's Manual p. 5-88.  Pointed out
by Takeshi Nakayama <takeshi@sakabe.nuie.nagoya-u.ac.jp>, verified by me.
1996-10-04 18:07:24 +00:00
scottr
6f72cdccd4 Remove outdated BUGS section (from Mike Long, PR 2804) 1996-10-04 16:59:46 +00:00
scottr
d036bd234e Sync with Chris' changes to the alpha setroot() and friends to resolve some
problems with entering "halt" at prompts.
1996-10-04 14:07:03 +00:00
thorpej
8672fd704e At the end of the delay calibration routine, explcitly reset the timer.
This fixes a critical bug where a clock interrupt would happen sometime
between the call to hp300_calibrate_delay() and when proc0 is initialized.
This ends up dereferencing a bad pointer in itimerdecr(), which scribbles
over the first page of kernel text, specifically vectors 46 and 47 (decimal).

To complicate matters, the way the bug manifested itself was different
depending on whether or not DDB was configured into the kernel.  When
DDB is in the kernel, kernel text is mapped read/write.  When DDB is not
in the kernel, kernel text is mapped read-only.  Note that the kernel
scribble happens early, typically before the console is initialized.

In the non-DDB case, the kernel will hang as soon as it's loaded because
the access causes a fault (before the console is initialized, so you
don't see the trap).

In the DDB case, the access does _not_ cause a fault.  However, the
mechanism used to enter the kernel debugger is to issue a "trap #15".
Conveniently, this is one of the corrupted vectors (47), thus rendering
DDB useless (it actually caused a recursive panic/trap loop).

This _WILL_ be in the first 1.2 official patch.
1996-10-04 08:55:04 +00:00
leo
3b5c181c8b Checkpointing my et4000 work. Note that the et-console will not be
functional until the minimal pci-support is checked in.
1996-10-04 07:27:52 +00:00
leo
f5fd8ff1f9 Additions for the et4000 driver & pci-bus.
Note that there are still missing pieces so both et4000 & pci can not yet
be used.
1996-10-04 07:12:39 +00:00
leo
982a1c25f7 Add the COMPAT_12 options. For GENERIC, also add the ch/ss/uk devices. 1996-10-04 07:08:28 +00:00
leo
c2f94265a2 Only prototype the writeback() function when the M68040 option is defined. 1996-10-04 07:04:46 +00:00
leo
8eb8b97265 Grok the broken ICD partition format. This should be part of the 1.2 patches. 1996-10-04 07:02:17 +00:00
leo
d8a6bb6779 Add ch/ss/uk devices. 1996-10-04 06:56:25 +00:00
leo
c8abf2609b Nuke use of 'expr' and add ch/ss/uk devices as suggested by Charles Hannum. 1996-10-04 06:52:52 +00:00
christos
4871cd13ce RCSid police and a small bug fix in util.c... 1996-10-04 05:15:27 +00:00
thorpej
8b118d5f64 Add the `port-powerpc' category. 1996-10-04 04:55:29 +00:00
cgd
8cf4d8ab67 some spaces -> tabs 1996-10-04 03:34:09 +00:00
thorpej
9a4909e2e2 Prototype cd9660_setattr(). 1996-10-04 03:27:49 +00:00
thorpej
f3a02a3e45 Prototype the inline functions before declaring them. Compiles again
on the SPARC.
1996-10-04 03:23:36 +00:00
explorer
c2e313743d Change a few minor formatting nits 1996-10-04 02:03:14 +00:00
explorer
61e39d8748 Document the other minor bits for this driver. This needs to be updated
once again when the /dev/lpt* characters for these are chosen
1996-10-04 01:58:58 +00:00
explorer
870052156e Better error message when the card is found but shared memory isn't enabled 1996-10-04 01:28:54 +00:00
cgd
45d20c6b1b add rdsetimage, sort 1996-10-04 00:22:07 +00:00
cgd
257aa69013 rdsetimage, a program to set kernel RAM disk images.
Written from scratch by me, today.
1996-10-04 00:18:55 +00:00
thorpej
f0929a096f Correct a comment about cdev_fb_init(). 1996-10-03 23:40:59 +00:00
cgd
892f00d3e6 fix slight thinko in that last change 1996-10-03 23:14:23 +00:00
cgd
3e1fe814f0 since get_kerntext() is only used by the a.out code, move it there and
make it private.
1996-10-03 23:06:42 +00:00
cgd
ca2617f88a use ECOFF header, not get_kerntext() to help calculate version's file offset 1996-10-03 23:05:27 +00:00
cgd
55c7430b56 rename the ELF section type constants to be Elf_* rather than Elf32_*,
since they're shared between ELF32 and ELF64.  (Thought i checked this in
earlier, but apparently didn't!)
1996-10-03 22:55:25 +00:00
cgd
1f81754e6d switch to 'swap generic' since that works now (minimal diffs from GENERIC) 1996-10-03 20:47:19 +00:00
christos
c9ec66c20b Accept -f flag, but do nothing with it. 1996-10-03 20:09:44 +00:00