Commit Graph

11257 Commits

Author SHA1 Message Date
thorpej
28b6ad9af8 - Pull in new ofwmagic.S and soft_spl.c files
- firepowerbugs -> firmworksbugs
1997-04-16 23:27:05 +00:00
thorpej
61da87f25a - Use genassym.sh to facilitate cross-compiling.
- Various clean/catch-up.
1997-04-16 23:26:06 +00:00
thorpej
de6c03ee6c Update for current PowerPC code, some from Wolfgang. 1997-04-16 23:14:24 +00:00
thorpej
87bbb0ba3b Always define MACHINE_NONCONTIG. 1997-04-16 23:03:52 +00:00
thorpej
54cc37063b Nuke __BROKEN_INDIRECT_CONFIG 1997-04-16 23:03:16 +00:00
thorpej
49fd2f3af7 Use new va-ppc.h 1997-04-16 23:02:34 +00:00
thorpej
d3112d23d1 Garbage collect stuff now hidden my machine_vec. 1997-04-16 23:02:00 +00:00
thorpej
afd0c2db7e Yow, "what happened"? Anyhow, correct apparerent CVS botch, and fix
RCS ID.
1997-04-16 23:00:53 +00:00
thorpej
974b5a78b0 Minimal profiling definitions - profiling doens't yet work. 1997-04-16 22:58:46 +00:00
thorpej
2849b893e3 s/dummy/md_proc/ 1997-04-16 22:57:48 +00:00
thorpej
cd3712c5bf Update ipkdb's register handling, from Wolfgang Solfrank. 1997-04-16 22:57:06 +00:00
thorpej
805da2b95a Don't define two partition types for NetBSD - just use the standard 0xa5.
(Eww, DOS MBR)
1997-04-16 22:55:10 +00:00
thorpej
ab473e98d6 Definitions for machine_vec interface, from Wolfgang Solfrank. 1997-04-16 22:54:21 +00:00
thorpej
2895975dfc Update for Elf. 1997-04-16 22:52:50 +00:00
thorpej
88e2d78a5c Update to varargs/stdarg implementation; conform to the SVR4 calling
convention.
1997-04-16 22:51:22 +00:00
thorpej
d78ae3859a - Add an option (TRAP_PANICWAIT) that causes trap() to prompt for a keypress
before calling panic().
- Add const poisioning where appropriate.
1997-04-16 22:49:49 +00:00
thorpej
144eb2ce5b - Fixed reversed arguments to an asm() (from Andrew Cagney)
- Round memory segments in a saner way (from Charles Hannum)
1997-04-16 22:45:26 +00:00
thorpej
a9c6f67829 - Symbol cleanup, a'la locore.S
- Fix a 16-bit botch when disabling MMU
- Properly align save areas and temporary stacks.
1997-04-16 22:43:46 +00:00
thorpej
fdb155145e Fix some bogons in boot path parsing code. 1997-04-16 22:41:34 +00:00
thorpej
5c7a06f070 Several changes from Wolfgang Solfrank, Charles Hannum, and myself:
- Make setregs() conform to the PowerPC SVR4 ABI, plus one NetBSD
  extention (for ps_strings).
- machine == powerpc, not PowerPC.
- Set up machine vector for OpenFirmware.
- Nuke the msgbuf for now; it's not mapped correctly.
- Add missing casts in some asm() directives.
- Enable PSL_RI earlier, and do *not* disable it in fake_spl(), since it
  is needed for page faults.
- Some general cleanup.
1997-04-16 22:38:13 +00:00
mjacob
ac75d3f4df clarify a comment slightly. 1997-04-16 22:20:52 +00:00
thorpej
fac39bcc01 Several changes from Wolfgang Solfrank, Charles Hannum, and myself:
- Clean up symbol goop - use macros in asm.h where appropriate.
- Add, correct, and generally clean up comments.
- Properly align save areas and temporary stacks.
- Fix the 603 tlb reload code.
- Fix several bogus constants and modifiers.
- Some stylistic changes.
1997-04-16 22:18:55 +00:00
thorpej
d2798d376c Update to ipkdb register handling, from Wolfgang Solfrank. 1997-04-16 22:12:42 +00:00
thorpej
d667b1f2d0 Add hooks for berkeley packet filter. 1997-04-16 22:11:15 +00:00
thorpej
9970f1bf3c Adjust for new machine_vec-based interrupt, from Wolfgang Solfrank. 1997-04-16 22:10:39 +00:00
thorpej
6708f357b5 RCS ID and #includes cleanup. 1997-04-16 22:09:41 +00:00
thorpej
fd3f618510 "Simulated" software-spl handling, for use on OpenFirmware systems.
These are for a generalized "machine vector" designed to hide
differences between various PowerPC systems.
From Wolfgang Solfrank <ws@tools.de>
1997-04-16 21:20:35 +00:00
thorpej
a6cf9568cc Special Magick note section interpreted by OpenFirmware to set various
parameters.  Shared by kernel and OpenFirmware boot program.
1997-04-16 21:19:00 +00:00
thorpej
ac9333ee5b Use genassym.sh to facilitate cross-compiling. 1997-04-16 21:16:25 +00:00
thorpej
273398acfa Machine-type tags used to communicate the type of system we're running
on to the kernel.  The boot program passes a boot args string plus
additional information like so:

	/pci/scsi@3/disk@0,0:1/netbsd -s<NUL><esym><tag>

The post-<NUL> values are:

	<esym>  end of the kernel symbol table (32-bits)

	<tag>   machine type tag (32-bits)
1997-04-16 21:12:29 +00:00
thorpej
ae9514e076 Definitions for IEEE floating point for NetBSD/powerpc. 1997-04-16 21:07:11 +00:00
thorpej
36a0d58408 Machine-dependent definitions for Elf on NetBSD/powerpc. 1997-04-16 21:06:11 +00:00
thorpej
ec64b8f26a Garbage-collect 1997-04-16 20:30:16 +00:00
thorpej
1bd80ab675 New OpenFirmware boot code for NetBSD/powerpc, based on Wolfgang's original
NetBSD/powerpc boot program.  Highligts:
- Rearrange a bit so that we can sanely add boot programs for
  non-OpenFirmware systems.
- Add support for loading compressed kernels (for booting from
  1.44M floppies).
- Add support for loading Elf kernels (Elf is the new standard format
  for NetBSD/powerpc).  (XXX Don't load symbols right now - the code
  to do it is there, but I don't particularly like how space for the
  symbol table is allocated; I will revisit this soon'ish).
1997-04-16 20:28:59 +00:00
scottr
e938a61ba3 Organize cpu_reboot() like hp300; this allows us to behave less
surprisingly if the power off sequence doesn't work as expected,
and simplifies the code a little.  Fix the doboot() prototype
to quash a warning from gcc.
1997-04-16 07:16:49 +00:00
scottr
ea528012b3 dcmreadbuf() should not return immediately if the tty hasn't been opened;
this fixes a kgdb goof.  Found by inspection.
1997-04-15 22:45:14 +00:00
scottr
ac4989250c Use opt_mrg_adb.h header (missed in previous commit) 1997-04-15 07:02:50 +00:00
scottr
00631be59a Use genassym.sh to facilitate cross-compiling. 1997-04-15 06:11:38 +00:00
briggs
16865d719a Take a stab at making this more reliable. 1997-04-15 03:22:50 +00:00
jtk
76ea50410b handle bios requests differently: mark them in progress while waiting
for user input, or until the driver is ready to handle them itself.
Also, try to turn on power management if the BIOS says it's disabled at
connect time.
1997-04-15 01:45:11 +00:00
pk
2357b53997 Avoid race for the chip's interrupt pending status bits in zscnputc()
by introducing a single-character queue to defer kernel console output
until the transmitter interrupt handler runs.
1997-04-14 21:26:28 +00:00
pk
5c54a811e3 Add CY7C601 to SUN4 cpu section (Sun 4/300, 4/400 series). Noticed by
Ralph Sauther.
1997-04-14 21:05:13 +00:00
thorpej
4767ae8d9d Regsiter description for APCI UART found on HP 9000/400-series
systems with a Frodo Utility Chip.  This is essientially an 8250 with
3 bytes of padding between each register.  From mike smith
<miff@spam.frisbee.net.au>.
1997-04-14 20:36:11 +00:00
thorpej
89a63d43fa Build HIL and Domain keyboard support. Include UK HIL keymap. 1997-04-14 19:09:01 +00:00
thorpej
8f994f2c15 Add support for the Apollo Domain keyboard, from mike smith
<miff@spam.frisbee.net.au> with some changes for integration by me.
1997-04-14 19:03:13 +00:00
thorpej
f9cbf4e434 Implement an autoconfiguring indirect keyboard driver, removing explcit
dependencies on the HIL keyboard.
1997-04-14 19:00:10 +00:00
mjacob
5a18fcd5cb Add kn8ae for needing shared_intr.o 1997-04-14 18:23:18 +00:00
scottr
aae8cccb0f Use the new opt_mrg_adb.h header. 1997-04-14 16:56:26 +00:00
scottr
4cd7e839d7 Direct config to create an MRG_ADB option header. 1997-04-14 16:55:02 +00:00
scottr
7793be9949 Purely cosmetic cleanup:
- Remove unused `register' modifier on declarations
  - Reverse the sense of some tests to make the code more clear
  - Type casts per KNF
  - Move a static variable into the only function that uses it (perhaps
    we can eliminate it entirely, someday?)
1997-04-14 16:28:34 +00:00