Commit Graph

22383 Commits

Author SHA1 Message Date
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
christos 6c3ecd5300 Document -f flag. 1996-10-03 20:08:29 +00:00
christos c623b74b84 - Null terminate the argv vector [from ws]
- Dynamically allocate the argv vector
- Add -f global flag [from ws]
1996-10-03 20:06:30 +00:00
cgd ff5e6837e6 frob things so that RAMDISK_HOOKS in the 'right' way with 'swap generic'
and/or RB_ASKNAME.  (Basically, assume that if RAMDISK_HOOKS are included,
the default root device should be rd0a, etc.)
1996-10-03 19:57:58 +00:00
cgd 5e8dcd833f reword attachment printf 1996-10-03 19:54:45 +00:00
cgd 40f6aa4b69 add major info for 'rd' ramdisk devices. make parsedisk() static.
tolerate 'halt' at any of the boot-time prompts.
fix (fatal) bug in the 'swap device' prompt reprinting code.
1996-10-03 18:42:41 +00:00
thorpej 06da3294e8 This file is no longer used. 1996-10-03 17:25:07 +00:00
mrg b0119cdb4c add dhcpd startup; disabled by default 1996-10-03 07:11:35 +00:00
mrg da3136f56a add dhcpd. 1996-10-03 06:58:10 +00:00
mrg 615a3ac588 update some minor things for netbsd. add dhcp2netbsd script. 1996-10-03 06:57:18 +00:00
mrg f6be9247c0 ISC dhcpd beta 5.13. 1996-10-03 06:33:24 +00:00
cgd f328b34c8d clean up 1996-10-03 05:32:49 +00:00
cgd 8bc6b679b5 fix typo in definition of Elf32_e_ident 1996-10-03 05:20:58 +00:00
cgd 65148dea43 kill (re)definitions of EXEC_ELF32. They're no longer necessary
(because of the EXEC_* option changes), and now cause warnings.
1996-10-03 05:02:05 +00:00
cgd 61dc0e200c fix pasto: Elf_{Off,Word} rather than Elf32_{Off,Word} 1996-10-03 04:55:31 +00:00
thorpej 8dd444adbd Fix a section header check that didn't get updated with the elf32/elf64
changes.  Make this compile again with the new EXEC_* options.
1996-10-03 02:16:18 +00:00