scottr
8bd4e6d18e
Sync with current 040-related development:
...
- Figure out what CPU we have, rather than assuming the Booter knows,
and set cputype variable accordingly.
- Carefully rearrange the order of various MMU/ATC operations so as to
eliminate possible side effects. Also, re-order the initial bootstrap
code to make clear what various sections of this code do.
- Adjust to combined initenv()/genenvvars() (the latter has assimilated
the former).
- Add a function code argument to ptest040().
- Use symbolic constants from assym.h where appropriate (and defined).
- Some style cleanup.
1997-01-09 07:24:39 +00:00
scottr
cd2817bffb
Sync with current 040-related development:
...
- Combine initenv() and getenvvars().
- Hardwire some PowerBook internal video addresses, from Takashi Hamada.
- When printing out the machine model/CPU, use the new cputype variable
instead of the Booter's PROCESSOR environment variable.
- Use new ptest040() function code argument (though for now, the MMU is
disabled on the 040).
- Revert previous change in get_physical() that seems to have broken
some machines; use an ADD instead of an OR when determining the PA.
- Some (very minor) style cleanup of asm code.
1997-01-09 07:20:46 +00:00
scottr
f832503ac5
Add CACHE40_ON, for locore
1997-01-09 07:14:17 +00:00
thorpej
1dc6efd7e6
Only call Debugger() on panic if "db_onpanic" is set.
1997-01-09 05:38:22 +00:00
thorpej
8404eae1ea
Grok CTL_DDB.
1997-01-09 05:37:41 +00:00
thorpej
c14ce368af
Define db_onpanic variable; if non-zero, the DDB will be entered when
...
the kernel panics. It may be initialized to 0 with the kernel option
"DDB_ONPANIC=0", and is patchable. It may be changed at run-time
from within the DDB (as a DDB variable) or via the ddb.onpanic sysctl
node.
Export all DDB built-in variables via sysctl.
1997-01-09 05:37:02 +00:00
thorpej
da30871192
Define top-level MIB node for DDB (CTL_DDB) and DDB MIB identifiers.
1997-01-09 05:33:42 +00:00
mycroft
5369bfe88a
s/soft error/soft error (corrected)/, to avoid confusion.
1997-01-09 04:30:08 +00:00
scottr
b917ce3294
Bracket kernel structs with #ifdef _KERNEL so that bootblocks will once
...
again build.
1997-01-09 01:07:59 +00:00
veego
d61e3f8c25
ipl[attach|detach]->ipfilter[attach|detach] for the pseudo-device change
1997-01-08 21:45:39 +00:00
oki
a83d534e05
Add EXEC_AOUT and EXEC_SCRIPT.
1997-01-08 16:17:29 +00:00
oki
0f23801475
Fix typo.
1997-01-08 16:16:14 +00:00
leo
7e22e8338d
Adjust 'fill'.
1997-01-08 12:57:22 +00:00
leo
5df535d814
Handle DTYPE_ESDI like ST506.
1997-01-08 12:55:41 +00:00
leo
d1538cb3c0
Don't try to init the keyboard interrupts in cngetc(). This caused the
...
keyboard to hang when booting directly into the debugger.
1997-01-08 11:28:03 +00:00
oki
7dcae7a79d
Add macros.
1997-01-08 10:29:27 +00:00
leo
1d1bc2cb98
Bump version.
1997-01-08 10:18:39 +00:00
oki
e4b66b6973
Compile again.
1997-01-08 10:15:51 +00:00
oki
0c47c09505
Use FPU_XXXXX macro, x68k is now use this file.
1997-01-08 04:03:50 +00:00
oki
0e00922730
Add fpu_probe prototype.
1997-01-08 04:00:47 +00:00
oki
c68b49f85c
Add fpu.c, delete unneeded fpe_emulate.c line.
1997-01-08 03:59:32 +00:00
mrg
c71a371532
use pseudo-device ipfilter, not ipl.
1997-01-07 11:35:01 +00:00
mrg
9cc6a2a495
remove some old debugging statements.
1997-01-07 10:51:01 +00:00
mrg
615fc0a880
add netinet...
1997-01-07 10:48:19 +00:00
mrg
f9eeb3865a
oops; forgot these.
1997-01-07 10:47:35 +00:00
mrg
7de1b7c8eb
only set P_SUGID once.
1997-01-07 10:41:02 +00:00
thorpej
c56e780e4f
Bring some sanity into my frazzled existence:
...
- Always ensure that RAW_PART ("c") can be opened.
- Disallow unused or non-existent partitions from being opened.
- Don't do bounds checking or partition translation on RAW_PART.
This is consistent with other disk drivers in the NetBSD source tree,
and fixes a condition where the user could not fix a corrupted disklabel
due to a bogus offset for partition "c".
1997-01-07 09:29:30 +00:00
veego
863a668514
Add the pseudo-device for ipl and PFIL_HOOKS which is required for ipl.
1997-01-07 08:01:32 +00:00
veego
6141167d37
Add cdevsw entry ( #44 ) for ipl (IP filter).
1997-01-07 07:57:31 +00:00
scottr
4211100164
Don't unlock the NuBus on PowerBooks; this bit controls the Power Manager
...
chip on these machines. From Takashi Hamada.
1997-01-07 07:45:45 +00:00
scottr
a54b50a58c
If 040 MMU is enabled, attempt to get memory mapping. (At present, this
...
can't happen because we've faked a disabled MMU.)
1997-01-07 07:44:01 +00:00
scottr
c0af85f6f3
Add CPU_XXX macros to assym.h
1997-01-07 07:42:17 +00:00
scottr
3753710f38
Fix typo in last: cf->cf_unit -> sc->dv.dv_unit
1997-01-07 07:40:46 +00:00
cgd
ebabdb626a
dd bdevsw and cdevsw entries for floppy disk driver (not currently usable),
...
and cdevsw for ipl (IP filter).
1997-01-06 23:28:09 +00:00
is
d97cf56937
Add manufacturer/product id for Apollo-68060 accellerator board.
1997-01-06 18:05:15 +00:00
is
61e3fad685
Build / install some stuff from stand (e.g.: bootblock)
1997-01-06 12:33:09 +00:00
veego
918ad06a75
Add PFIL_HOOKS and NSIP.
1997-01-06 09:59:32 +00:00
thorpej
32dda9a886
Kludge newvers rule, so that it works with old and new config.
1997-01-06 08:49:30 +00:00
thorpej
c26a11ab21
Add PFIL_HOOKS and ipl pseudo-device.
1997-01-06 08:48:36 +00:00
thorpej
7e3b804ce5
Add ipl pseudo-device.
1997-01-06 08:47:43 +00:00
thorpej
3941a378c0
Give the "ipl" pseudo-device the "device-driver" attribute, so that
...
ipl.h is generated.
1997-01-06 08:41:19 +00:00
mrg
394d540361
add PFIL_HOOK and ipl, both commented.
1997-01-06 07:35:39 +00:00
mrg
fb5d192bc3
include the GENERIC kernel, and then map the disks.
1997-01-06 07:34:14 +00:00
mark
fd643704d1
Minor changes (inline -> __inline))
1997-01-06 04:47:53 +00:00
mark
fe764c2415
Added the ipl pseudo device.
...
Cleaned up the options and sync with reality.
1997-01-06 03:39:13 +00:00
mark
5aad105fd0
Added character ipl device on major 46.
1997-01-06 02:44:10 +00:00
mark
bc3f67bb21
Use the irqblock array to provide the information about which interrupts
...
should be blocked for each irq currently asserted.
1997-01-06 02:35:46 +00:00
mark
c87f4e3785
Added the functions intr_claim() and intr_release(). These are front
...
ends for irq_claim() and irq_release() that will allocate and free
memory for the irqhandler structure.
Added an irqblock array that provides a quick reference to all the
interrupts that should be blocked when a particular interrupt is
received. The irq_claim() and irq_release() functions now update the
irqblock array.
1997-01-06 02:30:21 +00:00
mark
b34fcd542a
Added prototypes for intr_clain() and intr_release().
...
Added const to the ih_name member of the irqhandler structure.
1997-01-06 02:19:06 +00:00
mark
9f1c9fe28e
Symbol kernel_text -> _kernel_text
1997-01-06 02:15:17 +00:00
veego
98bf77c987
Add needs-flag and ifnet for ipl.
1997-01-05 22:16:51 +00:00
veego
cf21385a5e
use NIPL.
1997-01-05 21:44:24 +00:00
veego
473d4f54d1
Add $NetBSD$ id's and restore the orginal Id's.
1997-01-05 21:32:18 +00:00
veego
25bcda3b52
Add $NetBSD$ id's and restore the orginal Id's.
1997-01-05 21:32:17 +00:00
mrg
ad6281b640
use NIPL.
1997-01-05 21:32:15 +00:00
veego
47517abd07
Add $NetBSD$ id's and restore the orginal Id's.
1997-01-05 21:32:14 +00:00
thorpej
246654663f
Add "ipl" device at cdev major 18.
1997-01-05 21:29:49 +00:00
veego
ea9ed8902e
add a ipl pseudo-device.
1997-01-05 20:44:42 +00:00
veego
048acbeb1e
add ipl device.
1997-01-05 20:39:01 +00:00
mark
c65504baea
Lowered the FIFO trigger threshold to 4 for rather than 8.
...
Impelemented a fix for kernel locks when opening the serial post :
Revisions A->D of the SMC FDC37GT665 Peripherial controller have
a bug in the serial port that is triggered if the FIFO is enabled
while there is a byte in the rx data register resulting in the
rx ready bit being permenantly set.
1997-01-05 19:19:57 +00:00
mark
17d2a69941
Updated for latest major allocations.
1997-01-05 19:01:18 +00:00
mark
cd9c6d9853
Change rd references to md that escaped the previous change.
...
Reformatted a few over-long source lines.
1997-01-05 18:57:04 +00:00
ragge
3896082c5a
Add rd, sd, cd, md, st, ss, uk, ch and ipl device entries.
1997-01-05 18:49:12 +00:00
mrg
c1067a3f4b
initial import of darren reed's ip-filter, version 3.1.2.
1997-01-05 13:47:59 +00:00
mrg
ca896854ef
add ipl device.
1997-01-05 13:43:04 +00:00
mrg
07bfe47053
add cdev_ipl_init() and cdev_decl(ipl), for ip-filter.
1997-01-05 13:41:50 +00:00
mrg
b002cf09d3
initial import of darren reed's ip-filter, version 3.1.2.
1997-01-05 13:39:41 +00:00
mrg
85f84f08cd
initial import of darren reed's ip-filter, version 3.1.2.
1997-01-05 13:26:10 +00:00
scottr
3afad659e2
Add basic support for a Duo dock SCSI controller, from Daishi Kato.
...
XXX - This could probably be improved if all docking hardware has a
NuBus declaration ROM that we can get to. This should be investigated
further.
1997-01-05 10:01:42 +00:00
thorpej
f77141521c
Oops, build dio.o in the old config case, too. Pointed out by
...
Dave Carrel <carrel@cisco.com>.
1997-01-05 04:41:48 +00:00
leo
1b2f4a364c
grf? -> grfcc?
1997-01-04 23:32:08 +00:00
leo
0713c0ee88
Fix a rather nasty thinko that made the keyboard useless on the Falcon.
...
Thanks to Markus Kilbinger for finding it.
1997-01-04 23:30:21 +00:00
jonathan
f703350d59
typo in definition of extended-geometry register.
1997-01-04 16:47:03 +00:00
jtk
d721f54830
Be more careful with posting events for user standbys and user
...
suspends--let the user-level daemon handle it if present.
(pr#3005)
1997-01-04 03:04:25 +00:00
leo
a5eb9c92ec
Use the [HD|WR]FAULT macro's from the hp300 version of trap.c and use
...
cputype where appropriate.
1997-01-04 00:10:30 +00:00
leo
9f5f6ada1b
Remove ST-DMA handler, this interrupt now uses the glue code. Count the
...
clock interrupts in the new counter set.
1997-01-04 00:08:46 +00:00
leo
cafb680cf1
Oops, the declaration of cputype was gone...
1997-01-04 00:06:21 +00:00
mark
2bb8f07910
Added a probe for a podule is EASI space if it is not found in normal
...
podule space.
Fixed a bug in the reading of bytes from network slot cards that prevented
the correct reading of the network slot ROM description.
config code now allows duplicable devices to be attached.
1997-01-03 23:30:30 +00:00
mark
4065dc201f
Increased the podule description length from 47 to 63 characters.
...
Commented some structure members.
1997-01-03 23:27:31 +00:00
mark
dc9795f6e8
Removed a lurking ; from a #define line.
1997-01-03 23:26:22 +00:00
mark
e1395f3c17
Updated credits.
1997-01-03 23:24:48 +00:00
mark
0b49070ad5
Rebuild from latest podules list.
1997-01-03 23:22:03 +00:00
mark
180ca73617
Added new manufacturer and podule ID's.
1997-01-03 23:21:28 +00:00
mark
04d5907be9
Clean up the code formatting.
1997-01-03 23:19:02 +00:00
mark
de84ec92b1
Fixed several lurking function calls (printf -> db_printf).
1997-01-03 23:17:40 +00:00
mark
d60f65e8bc
Guard all functions that are only used by kshell with #ifdef KSHELL.
1997-01-03 23:15:44 +00:00
mark
763f5034bd
ib_addr in the iicbus attach args should be an int not a u_int as -1
...
is an acceptable address.
1997-01-03 23:13:05 +00:00
mark
ff84194c2f
Sync with reality.
1997-01-03 23:10:31 +00:00
leo
da93afbd05
Get rid of 'cpu040' variable. Use 'mmutype' or 'cputype' for testing
...
instead.
1997-01-03 22:54:22 +00:00
mrg
4f2a217c2b
pull up vm_object_collapse() fix from mrg_vm_object_collapse branch.
...
many thanks to niklas hallqvist (niklas@appli.se ) for this.
1997-01-03 18:03:14 +00:00
mrg
f3d9c468e1
minor KNF changes.
1997-01-03 18:00:25 +00:00
mikel
d235ef1a1c
hide softc array and kernel routine prototypes from userland; PR misc/3070
1997-01-03 07:23:29 +00:00
christos
3ec6dad0f1
Typo police from: Juergen Hannken-Illjes
1997-01-02 22:06:51 +00:00
is
9ad0171cce
Use the right parameter to decide whether it's early configuration. (I wonder
...
why this worked with some configurations... it shouldn't have).
While we're here, correct the 2.4% error in the delay divisor message.
1997-01-02 20:59:42 +00:00
pk
a0f6df960f
RAMDISK_HOOKS => MEMORY_DISK_HOOKS
1997-01-01 23:46:29 +00:00
pk
fbfb9e1144
Device rename: `rd' => `md'
1997-01-01 23:32:41 +00:00
pk
fe71b17fca
Device rename: `rd' => `md'
1997-01-01 23:21:54 +00:00
pk
84a0f13e4c
RAMDISK_HOOKS => MEMORY_DISK_HOOKS
1997-01-01 23:12:23 +00:00
pk
072388d107
Device rename: `rd' => `md'
1997-01-01 23:04:58 +00:00
leo
54608785fb
The ST-DMA driver now uses intr_establish.
1997-01-01 21:14:47 +00:00