thorpej
3074220dfa
Initialize max_target in the SCSI link.
1997-01-21 05:44:41 +00:00
gwr
ad79a66933
Separate out the stuff used to get in and out of the PROM monitor.
...
This file can be shared between the sun3 and sun3x.
1997-01-21 00:04:37 +00:00
cgd
7878fdb4f2
add a manual page for setnetbootinfo
1997-01-20 22:31:09 +00:00
cgd
58cde8b551
update date to date of last real modification
1997-01-20 20:37:09 +00:00
gwr
e710e7a369
Kill PCB_MMUCTX, add VM_PMAP_CTX.
1997-01-20 18:38:31 +00:00
gwr
40e3eede04
Make this once again identical to the hp300 version.
...
Perhaps this should exist as <m68k/include/pcb.h>
1997-01-20 18:34:11 +00:00
scottr
1085290516
Remove obsolete timezone specification
1997-01-20 16:55:32 +00:00
oki
402d9aaf2d
Oops, fixed typo in previous commit, compile again.
1997-01-20 15:15:20 +00:00
scottr
d19b3500e3
Define single-instruction implementations of setsoft*() and siroff(),
...
and declare ssir as volatile. This avoids the problem of lost softints
should a hard interrupt cause a softint to be flagged while we are
clearing a different one.
Idea from atari mtpr.h, modified/optimized by me.
1997-01-20 05:08:00 +00:00
scottr
b8b7d0ba0c
Kill uninitialized variable warning in trap(), plus mir KNFing
1997-01-20 04:30:05 +00:00
scottr
7c87e4e501
#ifdef out write hack, and fix possible uninitialized variable.
1997-01-20 04:27:49 +00:00
mark
58cc410820
Remove strchr.c file now strchr() is in libkern.
1997-01-20 02:43:30 +00:00
mark
4aceed0d51
No longer needed as strchr() is now in sys/libkern.
1997-01-20 02:42:45 +00:00
scottr
1c4a180f28
Compile with -O2 now.
1997-01-20 00:31:42 +00:00
scottr
82f443d641
Minor formatting cleanup, and remove an old comment
1997-01-20 00:30:56 +00:00
oki
159749de63
Fixed compile error with last commit of iodevice.h
1997-01-19 06:37:47 +00:00
gwr
d83b2b6584
Let a couple small duplicates live that may need to be customized.
1997-01-18 22:02:14 +00:00
gwr
5cf8aa219a
Now getting these from arch/sun3/sun3
1997-01-18 21:57:49 +00:00
gwr
8749290f0a
Now getting these from arch/sun3/dev
1997-01-18 21:53:50 +00:00
oki
b79bcac5fd
Use ip->isw intead of itesw. Remove unused extern itesw[].
1997-01-18 21:07:30 +00:00
oki
7b0e6b6b07
tvram[] should be u_char, instead of u_short.
1997-01-18 21:04:34 +00:00
gwr
8431750722
Several files are now pulled from arch/sun3 (local copies removed).
1997-01-18 20:38:03 +00:00
gwr
090dfd13c2
Now that interrupts are enabled AFTER autoconfiguration, put in the
...
cute little trick where the zs interrupts are enabled as soon as the
zs driver has done its attachments. That allows a console break to
enter the debugger during the rest of autoconfiguration.
1997-01-18 19:49:01 +00:00
gwr
324e1c6027
Enable interrupts AFTER autoconfiguration, to avoid spurrious ones.
1997-01-18 19:32:37 +00:00
gwr
94b20c709d
Move sun3_btop (etc.) macros from param.h to pte.h
1997-01-18 19:27:16 +00:00
gwr
233b6dd00e
Add declaration for db_recover. Also fix copyright.
1997-01-18 19:24:54 +00:00
gwr
84bd1d6f2c
Use the same names (OBIO_ZS_*) as the sun3x port...
1997-01-18 19:17:28 +00:00
gwr
be760a77bf
Moved MACHINE_NONCONTIG into include/vmparam.h
...
Also kill obsolete "options NEWCONFIG" line.
1997-01-18 19:09:15 +00:00
gwr
18f6e98a4a
Define MACHINE_NONCONTIG here instead of in conf/std.sun3.
1997-01-18 18:58:21 +00:00
gwr
8ea480525d
Use the same names (OBIO_ZS_*) as the sun3x port so we can share zs.
1997-01-18 17:19:52 +00:00
gwr
3752fafb35
Use the same names (OBIO_ZS_*) as the sun3x port so we can share zs.
1997-01-18 16:28:56 +00:00
gwr
89778a556e
Do loadcrp(&mon_crp) only when returning permanently to the monitor.
1997-01-18 16:17:33 +00:00
oki
ffa088c0d2
silly little optimization.
1997-01-18 13:19:57 +00:00
oki
1e394e1181
Use struct fpframe instead of int[], suggested from Takeshi Nakayama.
1997-01-18 11:48:38 +00:00
oki
b20d46b8b2
Added FPU_XXXX macros.
1997-01-18 11:46:31 +00:00
oki
9fd4b64eb7
bxx --> jxx
1997-01-18 11:16:57 +00:00
cgd
0512081ce4
bump version
1997-01-18 01:59:32 +00:00
cgd
d3bfc848a9
if a file name is given (i.e. BOOTED_FILE) is set, boot only that file,
...
but if not then try to boot "netbsd", "netbsd.bak", "netbsd.old", and
"onetbsd" (in that order) until one is found or until the list of names
is exhausted.
1997-01-18 01:58:32 +00:00
mark
4c5fff219e
Added a new nexus flag ESC_NF_RETRY_SELECT. This flag is used to indicate
...
that a unit select did not complete and needs to be retried. Selection will
be retried following a disconnection if this flag is set. The function
esc_select_unit() will set/clear this flag depending on when a selection
completed or not.
1997-01-18 01:57:18 +00:00
cgd
6d5dc4aba9
kill bogux printf
1997-01-18 01:56:09 +00:00
cgd
b9b13b5fb1
add cd9660 file system ops to the file system ops table
1997-01-18 01:51:58 +00:00
cgd
f6409bfad4
printfs newline cosmetics
1997-01-18 01:49:29 +00:00
mark
c5cc357f5d
Added a new nexus flag SFAS_NF_RETRY_SELECT. This flag is used to indicate
...
that a unit select did not complete and needs to be retried. Selection will
be retried following a disconnection if this flag is set. The function
sfas_select_unit() will set/clear this flag depending on when a selection
completed or not.
1997-01-18 01:38:05 +00:00
cgd
d5260695b3
move an 'int debug;' into boot.c (it was the only diff between boot.c and
...
netboot.c), and nuke netboot.c (using boot.c instead for network boot blocks).
1997-01-18 00:59:46 +00:00
cgd
d3f4f54676
program to hard code an ethernet address into a network boot.
1997-01-18 00:50:29 +00:00
cgd
d1c39ec928
note that enet address can be hard-coded
1997-01-18 00:37:13 +00:00
cgd
ad56529a58
make 'make depend' not fall over here. it doesn't work right, either, though.
1997-01-18 00:35:23 +00:00
cgd
b1369cb79d
add setnetbootinfo to list of subdirs
1997-01-18 00:34:39 +00:00
cgd
e2bd92c0e6
allow netboot ethernet address to be hard-coded into binary so that
...
machines with old firmware which doesn't pass it in the boot device
can work. Assume that if the ethernet address isn't passed in, it
uses the old (dain-bramaged) 'read' interface works on my 3000/300LX.
1997-01-18 00:34:01 +00:00
cgd
abcd6f59bf
remove a kludge which was breaking multiple opens/closes of the disk
1997-01-18 00:31:48 +00:00
cgd
b6d17629c1
update for bbinfo padding changes
1997-01-18 00:28:59 +00:00
cgd
7db6ff8449
move the sync() calls to the correct place...
1997-01-18 00:27:50 +00:00
cgd
8523a4deff
add padding to structures for future expansion. add a netbbinfo
...
structure to allow netboot information to be hard-coded in network
boot blocks, so that they can be made to work even on systems with
firmware which doesn't support the new "ethernet address in boot device"
convention.
1997-01-18 00:24:15 +00:00
cgd
7e7bb6e04d
clean up a bit. include libraries more carefully, so that when compressed
...
read code is integrated into libsa things will work properly.
1997-01-17 21:14:31 +00:00
gwr
4dcea02177
Fix a comment (PCB_MMUCTX is a virtual address).
1997-01-17 16:30:05 +00:00
gwr
aaf91fd6aa
Adapt to rename of pcb_mmuctx to pcb_mmucrp, and corrected
...
prototype of loadcrp(), which kills some bogus type casts.
1997-01-17 16:27:17 +00:00
gwr
3d9b2f50ef
Give declaration of loadcrp() its actual argument type.
1997-01-17 16:25:02 +00:00
gwr
a0881e24c2
Rename pcb_mmuctx to pcb_mmucrp and make it a struct pointer.
1997-01-17 16:22:39 +00:00
gwr
67015f3d8b
Update for rename of pcb_mmuctx to pcb_mmucrp
...
Also reorder things a little.
1997-01-17 16:19:42 +00:00
gwr
b7034c364b
Use bus_mapin() instead of obio_alloc().
1997-01-17 16:15:44 +00:00
gwr
c3621700c9
Add PCB_MMUCTX, and reorder things a little.
1997-01-17 15:03:39 +00:00
is
972ce7fa89
Fix PR 3090. While here, fix two other comments.
1997-01-17 14:29:42 +00:00
mrg
152f8d880d
add MSDOSFS.
1997-01-17 03:43:56 +00:00
jeremy
d4be114b3e
Added two additional bits (ACON and BCON) to the initilization constant for
...
the CSR3. The chip now successfully reads and writes its initialization
block and ring descriptors and is fully operational. (Thanks to Gordon
Ross for suspecting the misconfiguration.)
1997-01-17 03:42:15 +00:00
mark
12af47bc6a
The powertec card uses a 40MHz clock frequency.
...
Report the driver as polling at attach time is so configured.
1997-01-17 01:12:26 +00:00
mark
6df208b349
Added files for podulebus mapping and read/write routines.
1997-01-17 01:08:42 +00:00
mark
cf799895fc
Pass a podule bus space tag in the pa_iot field of the podule
...
attach args.
1997-01-17 01:07:58 +00:00
mark
5c03890971
Updated for the new bus space implementation.
...
Added a pa_iot field to the podule attach args structure.
1997-01-17 01:04:02 +00:00
mark
6caa7a0b4b
Implement a set of functions that provide bus space mapping and
...
read/write routines for the podulebus.
1997-01-17 01:00:47 +00:00
mark
012b3502f7
Implemented the functions inswm8() and outswm8() that are optimised
...
tranfer routines for use where the I/O register is multiply mapped into
a block of 8 consecutive word. This allows LDM/STM instructions to be
used to improve the read write performance.
1997-01-17 00:56:24 +00:00
perry
090b876b86
added options I686_CPU (commented or uncommented) per thorpej
1997-01-16 23:30:28 +00:00
christos
4d08f671d5
Add Plug and Play devices
1997-01-16 23:25:03 +00:00
perry
c5d453076d
print 'with MMX' for MMX CPUs (from Martin Husemann) -- fixes pr-3110
1997-01-16 23:21:14 +00:00
christos
c3be709b8c
- add the Plug and Play glue
...
- make the joystick driver use it.
1997-01-16 23:19:56 +00:00
perry
5ee4204742
fix CPUID table for 486SX (from Scott Telford) -- fixes pr-3107
1997-01-16 23:18:04 +00:00
christos
be20628b9e
- conversion to bus_space_* macros
...
- split the isa and pnp attachments
1997-01-16 23:17:45 +00:00
christos
0df79f25ad
i386 plug and play glue
1997-01-16 23:12:22 +00:00
gwr
f286cdd282
Move declaration of struct mmu_rootptr to mc68851.h
...
Kill a cast that is now unnecessary.
1997-01-16 22:12:50 +00:00
gwr
dad92086a4
Make sure the string passed to mon_reboot() is in our data segment
...
where the PROM can see it. (Bug found by Jeremy -- Thanks!)
1997-01-16 22:08:31 +00:00
gwr
30f35224e5
Pretend loadcrp() takes an int arg for now.
...
Probably should be (struct mmu_rootptr *)
1997-01-16 21:56:36 +00:00
gwr
07a2670421
Before dropping into the PROM monitor, restore its CPU Root Pointer (CRP),
...
and restore our own CRP if we resume. Make sure the string passed to
mon_reboot() is in our data segment where the PROM can see it.
1997-01-16 21:53:07 +00:00
gwr
477556a159
Add an introductory comment about pte.h vs mc68851.h
...
Move sun3x_round_up_page() to here.
1997-01-16 21:48:32 +00:00
gwr
cd7b9cf2ee
Add an introductory comment about pte.h vs mc68851.h
...
Move sun3x_round_up_page() to pte.h
Define struct mmu_rootptr here.
1997-01-16 21:47:31 +00:00
cgd
71db072b94
update copyright
1997-01-16 20:41:54 +00:00
cgd
1a2b5aa691
clean up, deal with secondary bootstrap programs not on 'a' partition
...
'a' partition not starting at 0.
1997-01-16 20:40:05 +00:00
gwr
4ed08a77d2
Move include of trap.h from genassym.c to locore.s
1997-01-16 17:30:20 +00:00
gwr
66a113c1a3
Use db_regs_t instead of struct mc68020_saved_state
1997-01-16 15:41:39 +00:00
gwr
4479ccc534
Use db_regs_t instead of struct mc68020_saved_state
1997-01-16 15:30:57 +00:00
cgd
274cf3fbf9
move the secondary bootstrap down (to 0x20004000), and add a HEAP_LIMIT
...
so that we don't exhaust our bootstrap address space (when using the new,
not yet checked in, memory allocator).
1997-01-16 07:50:34 +00:00
jeremy
499dd92e9d
Added conditional include of iommu kernel driver manipulation routines.
...
Fixed a few comments.
1997-01-16 06:38:26 +00:00
cgd
cfe73ab59b
clean up
1997-01-16 03:00:22 +00:00
cgd
3fb0a713f5
seriously clean up makefiles. use libsa/libkern/libz as appropriate,
...
and don't build the various sources into objs locally by specifying
them directly in the Makefiles.
1997-01-16 02:59:08 +00:00
cgd
653e0e50fe
more carefully include libkern and libsa headers
1997-01-16 01:21:36 +00:00
cgd
904a2dc374
link installboot statically, and include libutil
1997-01-16 01:20:24 +00:00
gwr
6e961cf5de
Use db_regs_t instead of struct mc68020_saved_state
1997-01-15 23:11:46 +00:00
cgd
942c20dfac
change the fixed delay to allow serial console output to settle
...
to something smarter, suggested by Charles Hannum.
1997-01-15 22:13:36 +00:00
perry
b89a3425b7
Eliminate obsolete TIMEZONE and DST options.
...
Eliminate obsolete global kernel variable "struct timezone tz"
Add RTC_OFFSET option
Add global kernel variable rtc_offset, which is initialized by
RTC_OFFSET at kernel compile time.
on i386, x68k, mac68k, pc532 and arm32, RTC_OFFSET indicates how many
minutes west (east) of GMT the hardware RTC runs. Defaults to 0.
Places where tz variable was used to indicate this in the past have
been replaced with rtc_offset.
Add sysctl interface to rtc_offset.
Kill obsolete DST_* macros in sys/time.h
gettimeofday now always returns zeroed timezone if zone is requested.
settimeofday now ignores and logs attempts to set non-existant kernel
timezone.
1997-01-15 01:28:28 +00:00
jonathan
11a7f97c20
Use <> not "" #include path for pmax/stand/dec_boot.h.
1997-01-15 00:52:17 +00:00
cgd
328e19f5fb
useful suggestion from jason: make this simply an 'include' of the
...
GENERIC kernel config with the added ramdisk-hook-enabling bits!
1997-01-14 23:37:59 +00:00
cgd
46b965ab4a
useful suggestion from jason: make this simply an 'include' of the
...
GENERIC kernel config with the added profiling bits!
1997-01-14 23:32:00 +00:00
cgd
b701ee6fea
comment out 'options GATEWAY' by default.
...
add PPP_BSDCOMP and PPP_DEFLATE.
add ipfilter pseudo-device, and sort the pseudo-device list to recover
from the renaming of 'rd' to 'md'.
1997-01-14 23:20:37 +00:00
cgd
1db761a1be
add cd9660, msdosfs file system support.
...
add SysV Shared Memory support, since it can be used by the X server.
add 'ppp' to the list of pseudo-devices, and sort the list to recover
from the renaming of 'rd' to 'md'.
other slight cleanups.
1997-01-14 23:18:17 +00:00
mark
02e575f690
Replace the fix for the bugged revisions of the 37GT665 I/O controller
...
that was lost during the last upgrade of the driver.
1997-01-14 22:59:40 +00:00
jonathan
1607618d93
pmaxpagesperpage -> mipspagesperpage
1997-01-14 22:29:54 +00:00
gwr
2ffbfe169b
Punt some historical stuff that was ifdefed out.
1997-01-14 21:01:33 +00:00
gwr
daa7a6dc57
Initial import. Gets as far as nfs_mountroot.
1997-01-14 20:57:09 +00:00
gwr
3921aef310
Initial revision
1997-01-14 20:57:08 +00:00
gwr
cd05f4190d
Initial import. Gets as far as nfs_mountroot.
1997-01-14 20:57:07 +00:00
gwr
c8cc66764e
Initial revision
1997-01-14 20:57:06 +00:00
gwr
99f640b958
Initial import. Gets as far as nfs_mountroot.
1997-01-14 20:57:06 +00:00
gwr
2ad3428397
Initial revision
1997-01-14 20:57:05 +00:00
gwr
2dbfabbb97
Initial import. Gets as far as nfs_mountroot.
1997-01-14 20:57:01 +00:00
scottr
4ee6502e8b
Whoops, forgot to include ipfilter.h
1997-01-13 23:46:11 +00:00
scottr
d186ff0991
Add ipfilter (pseudo-) device.
1997-01-13 23:34:04 +00:00
oki
0e58d64c9e
first commit of M68060 and FPU_EMULATE support.
...
M68060 support by YAMASAKI Yasushi, few arranged by me.
1997-01-13 14:04:42 +00:00
scottr
121971f622
Compile with -O2 (need to update COPTS so we still get -m68030)
1997-01-13 07:08:51 +00:00
scottr
9792072925
Compile kernels with -O2
1997-01-13 07:06:51 +00:00
scottr
e14ea342e3
Some changes to make ADB work when compiled with -O2:
...
- extdms_done is modified by things outside of our direct control;
it needs to be declared `volatile'
- CountADBs() fails when we call it the second time. We can work
around this by telling extdms_init() how many ADB devices we have,
only calling CountADBs() once.
1997-01-13 07:01:23 +00:00
mark
151fa15841
Use -x rather than -S for the linkflags as we are not using the NetBSD
...
linker.
1997-01-13 00:51:42 +00:00
mark
98ecd0ea70
Updated for the new bus space implementation.
...
Merge in the latest changes from the ISA lpt device.
1997-01-13 00:46:51 +00:00
mark
f0192d1f6c
Removed duplicate PROFILE_ASM option.
1997-01-13 00:42:18 +00:00
mark
7384f7a76d
Update for the new bus space implementation.
...
Merge in the latest changes from the ISA com device.
1997-01-13 00:40:54 +00:00
mark
110691d0cc
Added files for the mainbus mapping and read/write routines.
1997-01-13 00:38:45 +00:00
mark
4812012263
Implement a set of functions that provide the bus space mapping and
...
read/write routines for the mainbus.
1997-01-13 00:37:51 +00:00
mark
52a7f33ad1
Updated for the new bus space implementation in bus.h
...
The mainbus bus space tag is passed in the mainbus_attach_args structure.
1997-01-13 00:35:47 +00:00
mark
0bebac783d
Update for new bus space interface. This implementation is based on
...
cgd's alpha implementation. Bus tags now point to a structure of
function pointers to bus space routines rather than being an index to
one of several I/O methods making it simpler and more efficient in
handling many different busses and mapping schemes.
1997-01-13 00:33:36 +00:00
leo
81fd2d7dc6
This should have been part of the keyboard-modifier changes.
1997-01-12 22:15:24 +00:00
thorpej
112e338d6b
Fix botch in PA calculation for DIO-II devices. Bug noticed and fix
...
provided by Klaus Klein <kleink@layla.inka.de>, PR #3097 .
1997-01-12 21:27:26 +00:00
mark
aef8299490
Document the packet filter major number.
1997-01-12 20:39:51 +00:00
mark
00e9f2af37
inline -> __inline
1997-01-12 20:28:04 +00:00
mark
23254f1c9e
Added commented PFIL_HOOKS option.
1997-01-12 20:24:08 +00:00
leo
3e345f741d
Use the mask register to block the interrups, not the enable register. This
...
enables the interrupt to be shared (with IDE for example ;-) ).
1997-01-12 15:46:37 +00:00
leo
4b8a9a883c
Fix return value of the interrupt function.
1997-01-12 15:44:45 +00:00
leo
41a0638c86
Another part of the rd->md saga...
1997-01-12 15:41:24 +00:00
leo
c4ad7060c1
Fix the machine-type detection, the Falcon was detected as a Hades. Regroup
...
the hardware initialisations in a separate function and make sure
that the Midi-ACIA is properly initialized. This prevents MIDI traffic
to lockup the keyboard.
1997-01-12 15:40:14 +00:00
mark
672f9bc8a2
Added token 'Y' to print stack orientated nmemonics for {sl}dm r13, ...
1997-01-12 14:21:44 +00:00
ragge
2b8e7e782a
std.vax readded, shall be here anyway.
1997-01-12 12:38:56 +00:00
ragge
09adf20559
Need a couple of extra #ifdef's to compile.
1997-01-11 13:50:20 +00:00
ragge
3026c5e35e
Put in another external declaration.
1997-01-11 11:46:43 +00:00
ragge
eb0bc83700
Update due to changes to uba/mscp functions.
1997-01-11 11:34:39 +00:00
ragge
54e8120422
Oops, forgot an printf.
1997-01-11 11:31:57 +00:00
ragge
2a826b413f
Prototype updates.
1997-01-11 11:31:26 +00:00
ragge
52c3b92063
Put common map in code here instead of lots of places.
1997-01-11 11:24:51 +00:00
ragge
3774ec6c5c
Update due to prototype changes.
1997-01-11 11:23:09 +00:00
ragge
2b34ded4f8
Many minor bug fixes; mscp subsystem seems to work rather stable now.
1997-01-11 11:20:31 +00:00
ragge
59d5be04e9
Add EXEC_AOUT and EXEC_SCRIPT. std.vax not needed anymore; removed.
1997-01-11 11:15:38 +00:00
ragge
7bf599379e
Prototype change of scanc needs change here also.
1997-01-11 11:07:52 +00:00
ragge
f98e31628a
#define MAXBSIZE to some nice value.
1997-01-11 11:06:17 +00:00
matthias
27381f0aaf
* Add cdevsw entry for /dev/ipl.
1997-01-11 11:00:41 +00:00
matthias
47fe16475c
* Use confargs in probe and attach routines.
...
* Irq and address are now printed by mbprint.
1997-01-11 10:58:12 +00:00
mikel
aed485cdf2
add 'pseudo-device ccd' where necessary; PR kern/1830.
1997-01-11 09:11:37 +00:00
leo
7a0c8fa119
Handle keyboard modifiers *before* handing the keycodes to either the
...
console driver or the DDB keyboard functions. This prevents annoyances
with out of sync modifier stati.
1997-01-10 21:24:25 +00:00
leo
2fa61d9691
Allow the control registers to be mapped too.
1997-01-10 21:00:36 +00:00
leo
1f4324fd52
Record physical addresses in the bitmap structure instead of VA's. The
...
latter breaks the mmap-functions.
1997-01-10 20:59:27 +00:00
perry
8b5d8866c9
fix kvm_mkdb problem -- as per pr 3092
1997-01-10 05:28:14 +00:00
scottr
cc061d0a98
Normally, iteon() returns an int. If NITE == 0, define iteon() to be 0.
...
Closes PR 3091.
1997-01-10 00:07:27 +00:00
scottr
233a1d3f57
Use only FC $1 in TT0 in get_pte(), and map the entire address space. We
...
can then access the page table entries directly using user data space with
the MOVES instruction. This should resolve the problem on the Duo 2x0
series with hard hangs in this function.
Warning: do not call any function that accesses user data space (FC $1)
from get_pte()!
1997-01-09 07:28:12 +00:00
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
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
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
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
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
cf21385a5e
use NIPL.
1997-01-05 21:44:24 +00:00
mrg
ad6281b640
use NIPL.
1997-01-05 21:32:15 +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
ca896854ef
add ipl device.
1997-01-05 13:43:04 +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
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
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
leo
493e4aaebb
The Hades floppy driver now uses intr_establish(). Also the interrupt
...
accounting is fixed (ie. counted as the right interrupt).
1997-01-01 21:12:56 +00:00
leo
b3e93de260
The ST-DMA driver now uses intr_establish.
1997-01-01 21:11:44 +00:00
leo
139d65ffa2
Fix some leftovers from rd -> md rename.
1997-01-01 21:08:02 +00:00
veego
fd4d6f207d
Add '-I${.CURDIR} ${.CURDIR}/' before netbsd.S to compile it with
...
object dirs.
1996-12-31 22:44:13 +00:00
veego
d11893c65a
Remove a no longer exists <machine/exec.h>.
1996-12-31 22:39:58 +00:00
veego
b66e2c7e4d
Add NOMAN=
1996-12-31 22:36:18 +00:00
is
5859191f82
First part of making hardware cursor actually work.
...
For some reason it wouldn't get positioned right when mapped in through the
blitter memory mapped location, so switched to the register mapping, which
works.
XXX colormap handling for the cursor is still broken.
1996-12-31 17:54:28 +00:00
is
cb235d56eb
Add names for some more Phase5 boards.
1996-12-31 17:44:04 +00:00
mrg
718a70d239
oops; rd -> md paul left behind...
1996-12-31 07:12:43 +00:00
scottr
8a30e067ed
Sync COMPAT_SUNOS trace trap handling with other m68k ports; no
...
functional change.
1996-12-31 06:32:17 +00:00
oki
4c16b00300
#include "..." --> #include <...>
1996-12-31 00:35:21 +00:00
gwr
1468d5102b
Remove some junk.
1996-12-30 21:13:50 +00:00
gwr
b3adae991a
Fix warnings.
1996-12-30 21:12:01 +00:00
jonathan
2d9783cc79
Remove {GENERIC,INST}{ADP,OTHER}: split Adaptec {ADP} and other-scsi {OTHER}
...
{GENERIC,INSTALL} config files, respectively.
The BusLogic SCSI driver no longer accepts Adaptec 154x devices,
making the split kernels unecessary.
1996-12-29 07:28:53 +00:00
pk
3bbf01bfb7
rename: ramdisk => md
1996-12-28 23:53:10 +00:00
pk
c4a0dfb011
omission in last commit: ramdisk.h => md.h
1996-12-28 23:50:44 +00:00