thorpej
5ca650f210
XXX Kludge for PowerPC; needs a kernel vfprintf().
1997-04-17 00:06:28 +00:00
thorpej
f01479ff82
XXX Kludge for PowerPC - need a kernel vfprintf().
1997-04-16 23:46:00 +00:00
thorpej
5b82b15348
extern'alize some references.
1997-04-16 23:45:00 +00:00
thorpej
48b6d2a6f3
Update for no __BROKEN_INDIRECT_CONFIG.
1997-04-16 23:41:53 +00:00
thorpej
8338396bf4
- Update for no __BROKEN_INDIRECT_CONFIG.
...
- Fix BPF hooks.
1997-04-16 23:41:19 +00:00
thorpej
2747d6c890
- Update for no __BROKEN_INDIRECT_CONFIG.
...
- Determine and remember if we are a floppy.
- Workaround for what is apparently a firmware bug - ignore the sector
size returned by the device. On my Firepower's floppy, block-size
is the same as max-transfer, which causes Lossage.
- Don't read the disklabel on a floppy; do what the ISA floppy driver
does, which is assign the entire disk to each "partition", although
we do not deal with the density stuff.
- FIREPOWERBUGS -> FIRMWORKSBUGS
- Some general cleanup.
1997-04-16 23:39:28 +00:00
thorpej
991fede269
Update for no __BROKEN_INDIRECT_CONFIG.
1997-04-16 23:32:04 +00:00
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
fvdl
aadf9a1d0f
fdesc_seek -> genfs_seek, not genfs_badop
1997-04-16 22:43:41 +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
jtc
c9b0c57620
Add POSIX.1b nanosleep().
1997-04-16 14:41:28 +00:00
is
f4271c55fd
Made pppoutput() public again on behalf of Martin Husemann (PR 3455).
...
Apparently, the BISDN package uses this function.
1997-04-16 12:54:42 +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
cgd
faccc00a5a
widen proc pointer and wchan pointer fields from 10 to 18 characters, so
...
that pointers on 64-bit systems are printed properly. This means that
there'll be a lot of extra space on 32-bit systems, but gdb's printf doesn't
support * for width or precision specifiers, so it can't really be done much
better.
1997-04-16 00:58:26 +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
christos
48729af76f
We don't want iplread to change to enodev() when we don't have IPFILTER_LOG
...
defined.
1997-04-15 18:58:27 +00:00
scottr
ac4989250c
Use opt_mrg_adb.h header (missed in previous commit)
1997-04-15 07:02:50 +00:00
lukem
e09679b183
don't define DEFTAPE here
1997-04-15 06:50:19 +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
christos
118a33df24
- Fix indentation of the nested conditionals. It was inconsistent in places.
...
- Make this compile and work without IPFILTER_LOG, and disable logging by
default. This can be re-enabled now as a kernel option.
1997-04-15 00:44:42 +00:00
christos
ae60a7c343
Fix SPLNET() conditional to work for NetBSD1_0+, not just the named versions.
1997-04-15 00:42:54 +00:00
christos
0659cacda6
Move the mtod calls *after* we've made sure that the packet has passed the
...
filter successfully. Otherwise it can be NULL if the filter blocked it,
and we die. How did this ever work?
1997-04-15 00:41:52 +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
cgd
38a8ed2dd3
clean up some ELF vs. ECOFF bogons
1997-04-14 07:31:03 +00:00
scottr
4ed2d4414f
Add copyright notice.
1997-04-14 06:25:32 +00:00
scottr
5599d9bc87
Allowing forcing console on dcm with FORCEDCMCONSOLE (c.f. dca.c).
1997-04-14 05:58:32 +00:00
cgd
0606596c8b
sort PCI devices, add 'cy' Cyclades Cyclom-Y driver (untested)
1997-04-14 03:14:49 +00:00
thorpej
a78807e04c
Update for interrupt function and header name changes.
1997-04-14 02:33:16 +00:00
thorpej
6f791ab8b2
Remove unnecssary #include.
1997-04-14 02:31:33 +00:00
thorpej
064d13e0ad
Remove unnecessary softc member.
1997-04-14 02:30:45 +00:00
thorpej
30166b9778
Rearrange the interrupt code slightly:
...
- place all interrupt-related macros, prototypes, etc. into <machine/intr.h>,
like other ports.
- rename isrlink/isrunlink/isrinit, etc. intr_establish/intr_disestablish/
intr_init, etc., and move to intr.c for naming consistency.
- don't call intr_init() twice.
1997-04-14 02:28:43 +00:00
briggs
90754f0770
Capslock support from Steve Brown <sbrown@best.com>
1997-04-14 01:02:47 +00:00
briggs
13175a1a16
Use an offset parameter when loading the reg_map--some cards use the "other"
...
16 bits of the words.
1997-04-14 00:44:01 +00:00
jtk
4ed6c3b834
add support for ACC Micro host bridges
1997-04-13 22:48:27 +00:00
cgd
c16b14abf3
use pci_mapreg_info rather than pci_mem_find
1997-04-13 22:09:32 +00:00
cgd
78b378b2bc
create pci_mapreg_info() which simply gets mapping register information.
...
It's used by pci_mapreg_map() and can be used directly by drivers
with special needs (e.g. those being attached as console devices).
1997-04-13 22:05:10 +00:00
cgd
36949596f0
rename pci_map_register to pci_mapreg_map. The latter name is more
...
descriptive, and allows for a sane name for a function which just digs
the info out of the mapping register but doesn't do the mapping.
1997-04-13 20:14:20 +00:00
cgd
dcd9b58489
don't bother keeping around the i/o tag. It's useless by itself, and
...
without other significant changes to this driver wouldn't be particularly
useful to keep around permanently anyway.
1997-04-13 20:02:11 +00:00
cgd
04e7505aaa
clean up an autoconfiguration printf. Much more should be done
1997-04-13 20:00:29 +00:00
cgd
4c2cff7209
use pci_map_register(). map both mem and I/O spaces, preferring mem space
...
by default if it's usable, but falling back to I/O space if mem isn't usable.
If NCR_IOMAPPED is defined (default on the x86), prefer I/O space
then fall back to mem. Also, clean up the various memory consistency checks
so that they can deal with run-time determination of whether or not the
device is to be memory- or I/O-mapped.
1997-04-13 19:58:17 +00:00
cgd
32836b0710
use pci_map_register(). map both mem and I/O spaces, preferring mem space
...
by default if it's usable, but falling back to I/O space if mem isn't usable.
If TULIP_IOMAPPED is defined (default on the x86), prefer I/O space
then fall back to mem.
1997-04-13 19:56:14 +00:00
cgd
8593458137
use pci_map_register(). Also, almost a complete rewrite/cleanup of this
...
code. (It still needs more!)
1997-04-13 19:55:09 +00:00
cgd
41a0ca7403
clean up space/tag comments
1997-04-13 19:48:50 +00:00
cgd
cf2d73f749
use pci_map_register(). map both mem and I/O spaces, preferring mem
...
space if it's usable, but falling back to I/O space if mem isn't usable.
1997-04-13 19:48:16 +00:00
cgd
02ca6f929d
use pci_map_register().
1997-04-13 19:47:06 +00:00
cgd
2eae910210
implement pci_map_register(), which gets information about a device's
...
mapping register, maps it, and returns all of the relevant information.
deprecate use of pci_{io,mem}_find(), but leave them around (for a while)
for backward compatibility with third-party drivers.
1997-04-13 19:46:01 +00:00
perry
a0e583f33e
Fix problem I just introduced in booting on timeout.
1997-04-13 19:10:00 +00:00
perry
7f3e4fcb29
bump to 2.0Beta2; we'll keep incrementing until we release the real 2.0
1997-04-13 18:49:31 +00:00
perry
00b5e61754
Provides "reboot" call, which just calles INT 19h to ask the bios to
...
reboot the machine.
This may be insufficient, but its enough for now.
1997-04-13 18:45:37 +00:00
perry
20b87fc0c9
1) Make carriage return start boot immediately.
...
2) Make "quit" reboot machine. This works by adding a reboot assembler
hook that calls INT 19h
1997-04-13 18:44:39 +00:00
briggs
6d338ace93
Oops. We do not want to unmap something that we've used bus_space_subregion
...
to get.
1997-04-13 16:42:34 +00:00
briggs
4a3016b6b6
Some updates based on information from Bob Nestor <rnestor@metronet.com>
...
about his SONIC-T LC/PDS card.
1997-04-13 14:21:09 +00:00
scottr
4765dedbf5
Move all splxxx() and softint-related macros and prototypes to intr.h,
...
and include it where appropriate.
1997-04-13 05:12:40 +00:00
thorpej
80a88edd60
- Use common m68k sigcode.
...
- Garbage-collect doadump(); it's not used by anything
1997-04-13 02:45:20 +00:00
thorpej
2da8464bdf
- Use common mac68k sigcode.
...
- Garbage-collect icode; hasn't been used in eons.
1997-04-13 02:43:51 +00:00
thorpej
f05b58b229
Use common m68k sigcode.
1997-04-13 02:37:15 +00:00
thorpej
434a6008fe
Common m68k sigcode.
1997-04-13 02:30:02 +00:00
gwr
dcc94a5dd9
Document the flags accepted by the esp driver.
1997-04-12 19:48:00 +00:00
kleink
e490ffb5cc
Addendum to last commit: "simplify" usage of a vnode pointer.
1997-04-11 22:08:28 +00:00
kleink
589549e022
Use VOP_SEEK() in lseek(2).
1997-04-11 22:03:58 +00:00
kleink
9c16cd8a46
Implement a POSIX compliant genfs VOP_SEEK() and use it in the appropriate
...
places; by Chris G. Demetriou and myself.
1997-04-11 21:52:00 +00:00
pk
fbf7bcc591
Cypress 605 cache can be run in write-back mode (fingers crossed..).
1997-04-11 20:32:13 +00:00
cgd
ade89d0da0
add a missing newline
1997-04-11 20:28:08 +00:00
pk
1774dc8fbe
Add Cypress 605 with MMU version 0xb (reported by Harald Barth).
1997-04-11 20:21:56 +00:00
pk
b153a134ce
Fix obvious bug: missing `return'.
...
viking_flush: make sure to really expunge all entries in a cache bucket
by poking it (2 * `associativity' - 1) times; noted by Chris Torek.
1997-04-11 20:06:53 +00:00
pk
5eccdd69a6
Avoid compiler warning.
1997-04-11 20:00:10 +00:00
cgd
db11467340
clean up some constants ([A-F]->[a-f] in hex constants
1997-04-11 05:24:40 +00:00
thorpej
c0c810cbe0
Initialize the scsi_link before calling bha_init(), since that is how
...
we check for "wide controller" now.
1997-04-11 01:34:25 +00:00
scottr
319087fd92
Use common m68k sig_machdep.c, removing our local copies of these.
1997-04-11 00:58:23 +00:00
cgd
7030e14ffa
provide a way for chipsets which can have multiple instances to force
...
a seperate chipset structure to be allocated for each.
1997-04-11 00:57:40 +00:00
cgd
8de9ec0c5a
enable reporting of system- and processor-correctable errors. Rework
...
machine check and correctable error handler. This probably isn't perfect,
yet.
1997-04-11 00:07:08 +00:00
jtk
a817214f5f
make it compile with -DLOCKF_DEBUG
1997-04-10 23:46:18 +00:00
cgd
b995d6393d
add eb64+ support, enabled with options DEC_EB64PLUS
1997-04-10 23:24:27 +00:00
cgd
9dc7578cb5
move and split pcs_bus_{mem,io}_common.c, so that:
...
(1) object code can be shared (where the hardware makes that possible), and
(2) so that the file names better describe the systems which use them. (the
pci_swiz* files are for machines whose PCI interfaces require address
"swizzling." Later, there will be probably be other sets, e.g. pci_bwx*
for machines whose chipsets can easily deal with the Alpha BWX extensions
when doing device accesses.)
1997-04-10 23:21:29 +00:00
cgd
cc93b2c4eb
pass memory- and i/o-enabled flags down via the PCI bus and device attach
...
arguments, so that a device can tell if its memory and I/O spaces are
enabled. The flags are cleared, depending on the contents of devices CSR
registers, in the machine-independent PCI bus code.
1997-04-10 23:12:16 +00:00
cgd
2c5444dc85
enabled EB64+ support
1997-04-10 23:10:33 +00:00
cgd
e905758741
move cpu configuration tables into conf.c (cpuconf.c removed).
...
define CPU options and FIX_UNALIGNED_VAX_FP as header-generating options.
add pci_swiz_*_common.c when appropriate.
clean up a bit and sort more carefully.
1997-04-10 23:09:33 +00:00
cgd
57a9b009a1
reorganize cpu configuration and device configuration tables. Now all macro
...
definitions and prototypes are in machine/conf.h, and all tables are in
alpha/conf.c.
1997-04-10 23:07:32 +00:00
cgd
ad61973f36
add installboot_cd9660, which is installboot(8) modified to place a boot
...
block (and faked-up disklabel) into an ISO-9660 file system image.
1997-04-10 23:03:38 +00:00
ragge
3611dda5d0
Add better boot support for VS3100/??.
1997-04-10 21:25:18 +00:00
briggs
306e81deb2
Ignore SE/30 faux-video card.
1997-04-10 20:34:23 +00:00
kleink
cb9c71d716
Back out last change: just return EACCESS for any non-VREG file.
...
Fixes PR/3472 from Matthias Pfaller.
1997-04-10 19:45:40 +00:00
thorpej
04bfe534ed
Fix botches in last IP Filter update that broke the LKM. From
...
Matthias Scheler, PR #3428 .
1997-04-10 18:54:46 +00:00
jonathan
4ecce8621c
* 2048 bytes between vertically-adjacent pixels on 1280x1024 mfb.
...
Fixes broken blitting from rcons.
* Put back old 4.4bsd range test on cursor movement. 1.2 code is broken.
* Disable screensaver, it reportedly never comes back on properly.
1997-04-10 08:37:54 +00:00
mikel
cff564f651
fix off-by-one error in fixed I/O resource interpreter
...
fix address alignment errors in memory resource interpreter
clean up debug output a bit
1997-04-10 07:02:53 +00:00
mikel
27d98ef0db
add support for AD181[56] SBPro emulation
1997-04-10 06:33:16 +00:00
cgd
89a4d9a733
don't try to use __builtin_return_address() on the Alpha. (It's never
...
worked as far as I can tell, and apparently crashes the kernel when
invoked here.) From Ross Harvey, PR#3471.
1997-04-10 05:35:08 +00:00
briggs
0350ba7412
Some patches from Bob Nestor <rnestor@metronet.com> and myself to edge
...
toward support for an Apple SONIC-based ethernet card. Some cards, like
his, were being missed and/or probed like video cards!
1997-04-10 03:28:54 +00:00
briggs
b38a17b793
Comment video cards and add define for SuperMac Thunder/24.
1997-04-10 03:25:02 +00:00
briggs
6287b4096d
Changes from Denny Gentry <denny1@home.com>:
...
Change in the way receive buffer areas are handled. Before we gave
the chip 16 buffers, each 1536 bytes (big enough for one packet).
Now we're handing the chip 8 buffers, each 4 Kbytes, and letting
the chip fit as many packets as it can in each one. This should
help keep it from running out of buffer space. Also make some of
the performance-crucial routines inline. It made no measurable
difference except to make me feel better
Changes from Bob Nestor <rnestor@metronet.com> to get closer to support
for his Apple SONIC-based nubus card.
Changes from me to try to get SONIC's MAC address from MacOS settings if
we can't read the PROM space.
1997-04-10 03:22:45 +00:00
briggs
574874a2a9
Changes from Bob Nestor to come closer to supporting his Apple SONIC-based
...
nubus card.
1997-04-10 03:19:46 +00:00
cgd
db0f072019
clean these up (mostly rename bus_space_{tag,handle}_t variables) so that
...
this code makes equal sense for memory and I/O space, prefer to map
the PCI front end via memory space (conditionalized on a patchable kernel
variable), and do a bit of other random NetBSD-specific cleanup. (These
changes were sent to Justin Gibbs on March 28.)
1997-04-10 02:48:38 +00:00
cgd
319b64a8f7
Internalize and externalize file descriptors being passed via local domain
...
socket control messages correctly, without assuming that sizeof(int) ==
sizeof(pointer). Fixes PR#3183.
1997-04-10 01:51:21 +00:00
thorpej
016ccc25a3
This file is obsolete.
1997-04-10 01:18:49 +00:00
cgd
9e02c24964
adjust 'sticks' to be the same as on other ports (0 if trap in kernel mode).
...
This is a great example of gcc's bogus -Wuninitialized warnings. even if
'user' is made const, gcc still (incorrectly!) whines.
1997-04-10 01:03:07 +00:00
pk
ea87baf550
Since all kernel regions are pre-allocated, we can safely copy kernel
...
mappings to a user pmap when it's created rather than at context
allocation time. Also, do not copy the kernel's region administration
to every user pmap, especially since no memory appears to be allocated
to copy it into.
As a result of this, we must now switch to context 0 in both pmap_copy_page()
and pmap_zero_page() (XXX).
1997-04-09 23:53:40 +00:00
mycroft
f50c40bad5
Eliminate redundant calls to vm_map_pageable() and vm_fault(), as suggested by
...
Chuck Cranor.
1997-04-09 23:35:07 +00:00
thorpej
e59a1e5e15
Garbage-collect some things no longer needed since there are no longer
...
m68k4k ports.
1997-04-09 23:34:29 +00:00
kleink
116d655640
Back out POSIX.1 conformance change to lseek(2); this will be attended to
...
in a different way.
1997-04-09 23:26:06 +00:00
mycroft
6911ff7d13
Fix two performance issues:
...
* When a delayed write buffer falls off the LRU queue, arrange for it to go on
the AGE queue after being flushed out to disk.
* When a delayed write buffer is synced, leave it in its relative position in
the LRU queue.
1997-04-09 21:12:10 +00:00
thorpej
ab1101ab9c
regdump() takes a struct trapframe *
1997-04-09 21:08:47 +00:00
thorpej
f224558e27
Garbage-collect regdump() and friends.
1997-04-09 21:07:26 +00:00
thorpej
16f6a6f941
Use <m68k/m68k/proc_subr.s>
1997-04-09 21:04:49 +00:00
thorpej
90c43b0333
Remove redundant file directives
1997-04-09 21:03:20 +00:00
thorpej
a2be180b39
Adjust for new kcore.h
1997-04-09 21:00:35 +00:00
thorpej
00c04fe742
Use <m68k/m68k/proc_subr.s>
1997-04-09 20:58:33 +00:00
thorpej
a32e01eedb
regdump() is prototyped in m68k/cpu.h now
1997-04-09 20:56:46 +00:00
thorpej
28177dbb17
Pull in <m68k/kcore.h>
1997-04-09 20:55:47 +00:00
thorpej
6a4790ef0a
Remove redundant file directives
1997-04-09 20:54:41 +00:00
thorpej
9b8a0b60b7
Pull in m68k/cpu.h to get regdump() prototype
1997-04-09 20:50:03 +00:00
thorpej
f0085f91af
Adjust for new m68k/kcore.h
1997-04-09 20:49:06 +00:00
thorpej
4fb277fd75
Use <m68k/m68k/proc_subr.s>
1997-04-09 20:43:52 +00:00
thorpej
7b5647f03a
regdump() is prototyped in m68k/cpu.h now.
1997-04-09 20:42:25 +00:00
thorpej
fb4514fe4d
Use <m68k/kcore.h>
1997-04-09 20:40:54 +00:00
thorpej
378c9b0f3b
Remove redundant file directives
1997-04-09 20:37:17 +00:00
thorpej
f28f97adfa
regdump() takes a struct trapframe *
1997-04-09 20:33:48 +00:00
thorpej
d1ecda44c4
Garbage-collect regdump() and friends.
1997-04-09 20:31:39 +00:00
thorpej
63ed6b6c2f
Use <m68k/m68k/proc_subr.s>
1997-04-09 20:29:18 +00:00
thorpej
f751cc440e
Remove redundant file directives.
1997-04-09 20:26:43 +00:00
thorpej
05b9a6baa5
regdump() takes a struct trapframe *
1997-04-09 20:20:46 +00:00
thorpej
eb1dd7d391
Garbage-collect regdump() and friends.
1997-04-09 20:19:08 +00:00
thorpej
db6a46bc6e
Use <m68k/m68k/proc_subr.s>
1997-04-09 20:17:24 +00:00
thorpej
2550431af9
regdump() is prototyped in m68k/cpu.h now
1997-04-09 20:12:44 +00:00
thorpej
b7f72bd8a9
Remove redundant file directives.
1997-04-09 20:11:33 +00:00
thorpej
81f55f1cc8
regdump() is prototyped in m68k/cpu.h now.
1997-04-09 20:08:25 +00:00
thorpej
7c20e290df
regdump() takes a struct trapframe *
1997-04-09 20:07:13 +00:00
thorpej
9cf4ffce0a
- Garbage-collect signal-related stuff; use m68k/m68k/sig_machdep.c
...
- Garbage-collect regdump() and friends
- Convert hp300 to new crash dump format
1997-04-09 20:05:20 +00:00
thorpej
577dabb739
Use <m68k/m68k/proc_subr.s>
1997-04-09 20:03:21 +00:00
thorpej
f0f9811df2
Use the %x printf format where appropriate
1997-04-09 20:01:04 +00:00
thorpej
62a635ac7e
- Remove redundant file directives
...
- Pull in m68k/m68k/sig_machdep.c
1997-04-09 19:59:57 +00:00
thorpej
c3c59721e2
kcore.h for hp300 - just pulls in the common m68k kcore.h
1997-04-09 19:51:36 +00:00
thorpej
06e6038b3f
regdump() is prototyped in <m68k/cpu.h> now
1997-04-09 19:46:04 +00:00
thorpej
74c3023038
Remove redundant file directives.
1997-04-09 19:44:47 +00:00
thorpej
b6eb01fa72
Remove extra "options FPU_EMULATE"
1997-04-09 19:44:13 +00:00
thorpej
ef79334f24
regdump() takes a struct trapframe *
1997-04-09 19:41:08 +00:00
thorpej
31b105f845
Garbage-collect regdump() and friends.
1997-04-09 19:40:20 +00:00
thorpej
28a9417279
Use <m68k/m68k/proc_subr.s>
1997-04-09 19:39:14 +00:00
thorpej
0e5ab3b5f1
Adjust for new <m68k/kcore.h>
1997-04-09 19:37:53 +00:00
thorpej
e2b0388ed8
regdump() is prototyped in <m68k/cpu.h> now.
1997-04-09 19:34:53 +00:00
thorpej
702b4aa67b
remove redundant file directives
1997-04-09 19:34:01 +00:00
thorpej
1cd753c689
regdump() takes a struct trapframe *
1997-04-09 19:33:18 +00:00
thorpej
7294a6f1e3
- Adjust for new <m68k/kcore.h>
...
- garbage-collect regdump() and friends
1997-04-09 19:32:09 +00:00
thorpej
2dbc4afec2
Use <m68k/m68k/proc_subr.s>
1997-04-09 19:29:05 +00:00
thorpej
c739bf6e79
New kcore.h for m68k, includes all possible m68k formats in a self-describing
...
layout, facilitating sharing libkvm on all m68ks.
NOTE: This changes the crash dump format of all m68k ports that use the
new libkvm!
1997-04-09 19:25:00 +00:00
thorpej
309169617d
Factor out a few process manipulation routines found in all m68k
...
locore.s's. Currently includes run queue manipulation.
1997-04-09 19:22:49 +00:00
thorpej
175da6b4a7
Factor out the regdump() function used by all m68k ports.
1997-04-09 19:21:47 +00:00
thorpej
2f5b398ad4
Prototype regdump().
1997-04-09 19:21:06 +00:00
thorpej
0a089bceec
Add bcopy.s, copy.s, copypage.s, and regdump.c; they're common to all
...
m68k ports.
1997-04-09 19:20:23 +00:00
mycroft
f2746e9620
Update for new com driver.
1997-04-09 16:44:21 +00:00
mrg
bb07095632
as per discussion with torek, allow TC=1. also add option
...
to allow TC=0. the zilog documentation says not to allow
TC=0 -- however, i tested this and it "does work", as far
as i could tell, so, allow this use if so desired.
1997-04-09 13:15:13 +00:00
scottr
a2a2afbe56
Sigh. Bracket a label used only #ifdef COMPAT_SUNOS.
1997-04-09 07:22:12 +00:00
jeremy
fa9f5b2448
Constants for the p4 register.
1997-04-09 04:50:43 +00:00
jeremy
3c962bb544
First working version.
1997-04-09 04:49:09 +00:00
scottr
63d0d33c86
Make C-\\ work; from Bill Studenmund, who noticed the swapped keycodes.
...
Closes PR #3294 .
1997-04-09 04:48:57 +00:00
jeremy
5efd258691
Add p4 register pointer to softc struct.
1997-04-09 04:47:13 +00:00
jeremy
085494c2d9
Add location of P4 register. Maybe this should go in obmem.h?
1997-04-09 04:46:11 +00:00
jeremy
d4285e0617
Add needed support for P4 register. Works with X now.
1997-04-09 04:43:52 +00:00
jeremy
b7dd41d4e2
Location of printer port registers for 3/80 was off.
1997-04-09 04:42:25 +00:00
jeremy
ee8819cf64
Obio and obmem busses now support devices with vectored interrupts. Needed
...
for floppy driver.
Made comments about soon-to-be introduced parallel port driver more specific.
1997-04-09 04:38:49 +00:00
jeremy
60d41bb34e
Add floppy controller and floppy drive. Also add MS-DOS filesystem for
...
use with floppies. Remove 'SYMTAB_SPACE' now that we have our own
bootloader.
1997-04-09 04:36:56 +00:00
jonathan
5725025bdc
typo in cfattach.
1997-04-09 02:10:48 +00:00
mycroft
448427b7ba
Document a requirement of vm_object_bypass().
1997-04-08 22:35:49 +00:00
gwr
69b70455c9
Zap AFLAGS
1997-04-08 22:04:16 +00:00
chuck
cf0f247359
prevent multiple inclusions
1997-04-08 21:29:26 +00:00
leo
92b96871ea
Turn the 'extern' definition of mcount() into a full prototype.
1997-04-08 20:39:01 +00:00
pk
242d365b70
Move "range" property description out of generic `romaux'.
...
Add getproplen() function.
1997-04-08 20:08:53 +00:00
pk
cc7899605a
Move "range" property description out of generic `romaux'.
...
Allocate room for this property when needed in bus attachment.
1997-04-08 20:08:20 +00:00
pk
bb1d4e0540
Move "range" property description out of generic `romaux'.
1997-04-08 20:06:26 +00:00
fvdl
b4e49cf0e9
Avoid nfsiods acquiring/releasing a lock, then acquiring it again, before
...
anyone else can get to it, by checking if a reply was received, and it
has thus become unnecessary to take the lock. From FreeBSD.
XXX I don't really like this, "locks" potentially suffer from the same
problem throughout the whole kernel; they should probably be FIFO everywhere.
1997-04-08 17:57:16 +00:00
scottr
63d11b7577
Add another IBM disk that needs SDEV_AUTOSAVE.
1997-04-08 17:35:06 +00:00
kleink
513465cc2c
Added a sanity check to the force-directory routine, as the CREATE and
...
RENAME namei() operations may succeed without returning a vnode.
1997-04-08 16:11:48 +00:00
kleink
43bd8d5456
POSIX.1 changes to namei():
...
(1) "" no longer refers to the current working directory;
looking this up will now result in ENOENT.
(2) by stripping off trailing slashes and setting a `forcedir'
flag, make code such as { mkdir("dir", m); rmdir("dir/"); }
actually work.
1997-04-08 10:11:55 +00:00
scottr
58d41d0f98
Fix several more instances where the volatile modifier was needed.
...
From Allen.
1997-04-08 06:53:28 +00:00
scottr
a051dc4e0f
Fix typo: MRG_DEBUG -> MRG_ADB
1997-04-08 06:16:07 +00:00
scottr
042e6d3b98
Add 'done' symbol for last change. (oops.)
1997-04-08 06:02:04 +00:00
scottr
bd9967862f
Clean up unused code, KNF bus_probe()
1997-04-08 05:27:28 +00:00
briggs
df0a7e0440
Changes from Michael R. Zucca <mrz5149@cs.rit.edu> for 16-bit and 32-bit
...
console support.
1997-04-08 04:47:08 +00:00
scottr
f1c1f7e54d
Make new ADB driver the default.
1997-04-08 04:21:15 +00:00
scottr
4d9095b0b0
Updates from John Wittkoski for new ADB driver.
1997-04-08 03:19:04 +00:00
scottr
76c66a06b3
Direct-to-hardware ADB interface/driver, written by John P. Wittkoski.
1997-04-08 03:16:18 +00:00
scottr
484820c623
Power Manager interface/driver, written by Takashi Hamada.
1997-04-08 03:11:37 +00:00
scottr
bf23759b27
Add MRG_ADB option.
1997-04-08 03:00:37 +00:00
scottr
b6a4a3826c
Update for current configuration, including sbc reselect mode.
1997-04-08 02:59:16 +00:00
cgd
f2b60ad624
align after RCS ID strings if placing them in text
1997-04-08 00:24:16 +00:00
cgd
519551a681
include RCS IDs for assembler files, disabled with NO_KERNEL_RCSIDS
1997-04-08 00:19:01 +00:00
cgd
25ba9df324
clean up some wording
1997-04-08 00:18:25 +00:00
cgd
effe625a3a
note NetBSD/alpha's (intentional) deviations from KNF
1997-04-07 23:57:10 +00:00
cgd
fa0c4d6cb1
clean up options.h inclusion slightly
1997-04-07 23:56:39 +00:00
jonathan
f11d74c508
Remove IFF_LINK[01] "connector" support.
...
Add if_media support. Still missing a software autosense FSM.
1997-04-07 23:49:47 +00:00
cgd
90789b53dd
by default, provide RCS IDs for NetBSD/alpha kernel files in kernel binaries.
...
This can be disabled (to save a bit of space) with the NO_KERNEL_RCSIDS
options, which is present but commented out in the ALPHA config file.
In ELF-format kernels, these strings are present in the kernel binary but
are not loaded into memory. (In ECOFF-format kernels, there's no easy way
to keep them from being loaded, so they _are_ loaded into memory.)
1997-04-07 23:39:37 +00:00
scottr
396cf17033
Fix SunOS user trace trap handling, from Gordon.
1997-04-07 22:54:44 +00:00
jeremy
eabfcc3f00
Removed spurrious ``#ifdef ISO''.
1997-04-07 21:26:19 +00:00
pk
efeeba419f
sun4c and sun4m `aux' register bits differ slightly.
1997-04-07 21:00:34 +00:00
scottr
d7a6762ae8
Fix a debugging printf() format.
1997-04-07 16:28:26 +00:00
kleink
a0dca5145e
Fix a CRNL/NLCR botch I made after looking this up in the X/Open spec.
...
Fixes PR 3453; from John Kohl and Enami Tsugutomo.
1997-04-07 16:09:28 +00:00
augustss
52e73da1a4
Regen.
1997-04-07 14:15:06 +00:00
augustss
bc5c0f6530
Add Linux nice() syscall.
1997-04-07 14:13:16 +00:00
cgd
80c27e8c49
include machine/options.h
1997-04-07 06:36:24 +00:00
cgd
f9f2e742af
include machine/options.h
1997-04-07 06:24:24 +00:00
cgd
21598de043
use machine/conf.h instead of sys/conf.h and/or machine/cpuconf.h
1997-04-07 06:09:00 +00:00
scottr
f65f7e9b21
Always enable SCSI IRQ interrupt; the SBC_INTR flag now controls only
...
the SCSI DRQ interrupt, for "blind" transfers.
1997-04-07 05:56:28 +00:00
cgd
98f47c009f
add machine/conf.h, right now a minimal placeholder
1997-04-07 05:52:34 +00:00
scottr
29c981b924
Rework PDMA read/write functions based on Matthias Pfaller's pc532 ncr
...
driver. Major highlights:
- Protect with splbio(), now that interrupts from the chip might be
enabled by default;
- Wait for current transfer to complete before returning, rather than
wait for previous transfer to complete before starting another;
- Instead of logging a "timeout" message when a target disconnects,
just return, letting the sbc_ready() and sbc_wait_not_req() print
timeout messages if such really did occur.
With interrupt changes to sbc_obio.c, disconnect/reselect now works if
configured into the kernel.
1997-04-07 05:48:35 +00:00
cgd
b2f768130d
include machine/options.h
1997-04-07 05:46:48 +00:00
cgd
3775a7d0a0
more correctly conditionalize ARP code use
1997-04-07 05:40:45 +00:00
cgd
6093a85bde
clean up eb164 #ifdefs
1997-04-07 05:40:10 +00:00
cgd
831292c29e
clean up NetBSD RCS ID strings
1997-04-07 05:34:39 +00:00