cgd
67df040efd
update for new kernel library Makefile.inc rules
1997-01-23 22:47:31 +00:00
gwr
73234aa5f6
Use <machine/machdep.h>
1997-01-23 22:44:43 +00:00
gwr
04f1ba99a2
Remove PCB_MMUCRP, add VM_PMAP_MMUCRP and VM_PMAP_A_TMGR
1997-01-23 22:40:38 +00:00
gwr
906e75c72b
Use <machine/pte.h> and <sun3/sun3/sunmon.h>
1997-01-23 22:37:21 +00:00
gwr
18c5058065
Now pulled from <sun3/sun3/*>
1997-01-23 22:33:21 +00:00
cgd
1c88f56c26
update for new kernel library build process
1997-01-23 22:31:32 +00:00
gwr
12e2d4d8f7
Replace the intersil7170 stuff with mostek48t02 stuff.
...
XXX: Still need to move date conversion functions to
XXX: libkern or somewhere...
1997-01-23 22:30:15 +00:00
gwr
8b175f2050
Move a bunch of stuff to sun3/sunmon.c where we can share it.
1997-01-23 22:27:29 +00:00
gwr
06655500a0
Wrap prototypes with ifdef _KERNEL
1997-01-23 22:25:56 +00:00
gwr
f91c597e92
Add <machine/pte.h> and the new pm_mmucrp member of struct pmap.
...
Kill macros PMAP_ACTIVATE and PMAP_ACTIVATE (not used).
Add macro _pmap_fault for use in trap.c
1997-01-23 22:24:04 +00:00
gwr
c511347b0e
Make this once again identical to the hp300 version.
...
Perhaps this should exist as <m68k/include/pcb.h>
1997-01-23 22:21:50 +00:00
gwr
ac1ed5ffbb
Use <machine/machdep.h>
1997-01-23 22:20:16 +00:00
gwr
97a36f083a
Get sunmon.c and intreg.c from arch/sun3/sun3
1997-01-23 22:18:35 +00:00
gwr
05bbc1f7ee
Rename members of struct mmu_rootptr, and add a comment. (From Jeremy)
1997-01-23 22:15:41 +00:00
gwr
71e3895587
Moved this to <machine/machdep.h> (via repository copy)
...
and made some minor adjustments.
1997-01-23 21:23:51 +00:00
is
c3b56cd6af
Added libboot.a to the CLEANFILES.
1997-01-23 15:38:15 +00:00
jeremy
d0ba6f78a0
Fixed leap year bug. (Doesn't happen until 2100, but still important.)
1997-01-23 04:13:39 +00:00
thorpej
e256e03227
Arrange the code that sets the options flags such that the user can
...
completely override the defaults (including disabling DMA) in the
kernel config file.
1997-01-23 02:11:23 +00:00
mhitch
808f2c3ec1
The mfb driver uses struct fbinfo for the device data, but was only allocating
...
memory for struct device.
1997-01-23 01:54:09 +00:00
mycroft
2cac90cc74
ep* at isapnp?
1997-01-22 23:46:59 +00:00
mhitch
4fe9d4efee
The sfb driver uses the device data, so more than a "struct device" is
...
needed. When sfbattach() initializes the fbinfo data, it was corrupting
data past the struct device data actually allocated. This does not appear
to have caused a problem in the past, but causes a problem with the new
setroot() changes by Jason.
1997-01-22 17:27:54 +00:00
thorpej
e5a9a53136
Back out previous; that was _not_ meant for the trunk!
1997-01-22 06:19:34 +00:00
thorpej
2394f36887
Update for new setroot().
1997-01-22 06:07:16 +00:00
cgd
e5e4a07022
define names for the ISA floppy disk controller/drives, even though they
...
aren't supported yet. (conf.c needs a header for them, since i already
added their device switch table entries.)
1997-01-21 23:45:54 +00:00
cgd
4a81474aaf
make load address settable via LOADADDRESS make option
1997-01-21 23:37:10 +00:00
pk
a9142bd25b
Drop strchr(), it's in libkern now; we didn't use it anyway.
1997-01-21 21:07:04 +00:00
leo
43795f8930
Don't set the PA_SER2 bit by default, this has the nasty side effect that
...
it disables the IDE hardware on the Falcon (Thanks Markus ;-) ). A function
is provided to toggle the bit.
1997-01-21 20:41:07 +00:00
leo
c79dcb7c8c
Add a 'size' argument to badbaddr(). This is very useful on busses that
...
only accept certain size accesses on a specific address range. Like the
VME bus.
1997-01-21 20:37:03 +00:00
is
7c2b743adf
* make object dirs work:
...
- move the helper programs txlt and aout2bb to the topmost directory
- build the few files from libsa in the topmost directory
* while doing this, hunted down mysterious code expansion: It seems
that ld aligns code segments differently when linking .o's directly
than when using an archive consisting of the same files. Abuse this
effect to make the bootblock even smaller. The floppy boot block
"fdboot" is now small enough to build; add it back to the Makefile.
* while being here, remove a file which was committed by mistake.
1997-01-21 18:26:07 +00:00
thorpej
b170998941
"md" is declared in sys/conf/files, now.
1997-01-21 09:50:17 +00:00
thorpej
7b40f5228e
"md" is declared in sys/conf/files, now.
1997-01-21 09:39:20 +00:00
thorpej
0eee378a26
"md" driver declared in sys/conf/files now.
1997-01-21 09:37:17 +00:00
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