christos
e0c19ac888
We cannot relocate our interpreter (yet).
1999-01-11 11:02:50 +00:00
christos
e293d1bc34
Add ELF crap.
1999-01-11 11:02:16 +00:00
tsubai
c91ac313c1
Count clock interrupts.
1999-01-11 09:44:51 +00:00
tsubai
477add6bea
Add irq32 - irq63 to intrnames.
1999-01-11 08:49:58 +00:00
eeh
39553be254
Finally fixed 64-bit signal trampoline.
1999-01-11 06:43:51 +00:00
eeh
1609884456
Handle the symbol table properly in a 32-bit kernel that was booted from a
...
64-bit bootloader.
1999-01-10 23:35:08 +00:00
eeh
9c06e4a454
Need to put IGN in SBUS slot interrupt vectors as well. (From Kapil Chowksey)
1999-01-10 23:32:57 +00:00
scottr
c6be16c55a
Parenthesize a few expressions uncovered by -Wpointer-arith.
1999-01-10 22:52:55 +00:00
nathanw
d2f4d39a08
wskbd, not wskbs.
1999-01-10 22:51:46 +00:00
eeh
b5932bbc0a
Support little-endian bus mappings.
1999-01-10 19:37:47 +00:00
is
4d5a26ba82
Make this compile again. 1.5 was committed from the wrong directory.
...
We apologize for any inconvenience caused.
1999-01-10 19:19:57 +00:00
mrg
7054d69a2a
KNF nits i have sat on for too long.
1999-01-10 15:01:32 +00:00
mrg
17823d385b
KNF nits i have sat on for too long.
1999-01-10 14:41:45 +00:00
mrg
d1f3239be8
bump size of miniroot
1999-01-10 13:40:30 +00:00
tron
560ed63047
Don't use void pointer for arithmetic.
1999-01-10 13:35:39 +00:00
tron
738cd778b3
Don't use void pointer for arithmetic.
1999-01-10 13:24:11 +00:00
tron
72a366c304
Don't use void pointer for arithmetic.
1999-01-10 13:22:05 +00:00
tron
a2885c9c15
Don't use void pointer for arithmetic.
1999-01-10 13:17:01 +00:00
tron
386665b0cb
Don't use void pointer for arithmetic.
1999-01-10 12:56:25 +00:00
tron
4920c92937
Don't use void pointer for arithmetic.
1999-01-10 12:37:17 +00:00
tsubai
8190b5f43f
Add sanity checks in akbd_cnattach().
1999-01-10 10:39:13 +00:00
tsubai
ae67dbc85d
Fix void * arithmetic.
1999-01-10 10:24:16 +00:00
tsubai
0280ba028c
Fix void * arithmetic.
1999-01-10 10:13:15 +00:00
jonb
5a8a1a4dd6
clean up some incorrect comments
1999-01-10 03:46:27 +00:00
mjacob
b7a8ca1386
For some reason (I don't know why nobody else has seen this)
...
egcs-2.91.57 didn't like the void * subtraction on line 904.
I'll risk everyone's wrath by casting around it.
1999-01-10 03:16:21 +00:00
eeh
b0d71d3042
Properly check address returned by OBP for errors in prom_map_msgbuf().
1999-01-09 23:33:29 +00:00
eeh
42c40a2cd6
More signal fixup.
1999-01-09 23:31:27 +00:00
eeh
09a4a08b77
New style bootpath propagation to match the sparc port.
1999-01-09 23:23:47 +00:00
eeh
d5ca0ef2e6
Don't use `long' instead of `int64_t' since the latter may not be in scope.
1999-01-09 23:15:39 +00:00
eeh
f9a429d960
Establish a single set of definitions for signal debugging so we don't have
...
a different one for every emulation.
1999-01-09 23:12:36 +00:00
mark
a82d8b0a33
Fix void * arithmetic.
1999-01-09 22:56:06 +00:00
thorpej
e598335d1c
Garbage-collect `mbutl'.
1999-01-09 22:10:12 +00:00
mark
444401c526
Fix `void *' arithmetic.
1999-01-09 21:18:54 +00:00
mark
e6361430fc
Fix `void *' arithmetic in bcopy() calls.
1999-01-09 21:10:50 +00:00
mark
e9afce801e
Fix `void *' arithmetic.
1999-01-09 21:04:00 +00:00
itohy
33df770bf5
Avoid `void *' arithmetic.
1999-01-09 19:55:58 +00:00
itohy
b50a4adc36
Eliminate `void *' arithmetic.
1999-01-09 19:23:26 +00:00
thorpej
e279508ccb
In pmap_zero_page() and pmap_copy_page(), set copyback caching of the
...
pages on the 68040 and 68060, to avoid cache consistency problems (since
regular mappings are copyback cached as well), per Ignatios Souvatzis.
1999-01-09 18:40:12 +00:00
dbj
e41d023363
Moved optional devices out of std.next68k and put them in GENERIC instead.
...
This is patch supplied in pr 6725.
1999-01-09 05:08:54 +00:00
augustss
fc5f9ee81d
Add -Wpointer-arith warning since `void *' arithmetic is not ANSI C.
1999-01-08 19:26:12 +00:00
augustss
332d7c138f
Avoid arithmetic on `void *' since that's not ANSI C.
1999-01-08 18:10:35 +00:00
kleink
5f79ea56a1
Rearrange the emulation-specific setregs() entry to set up the FPU control
...
word *after* calling the native setregs(), which would clobber it again.
1999-01-08 11:59:38 +00:00
pk
9d4c26b2c1
* hypersparc support:
...
get cache size from PROM info like the others
reset the cache type bits before setting our desired values
* smp cache flushing:
protect the cpu message bits with splhigh().
1999-01-08 10:15:10 +00:00
leo
c754d06437
Return NULL when trying to establish a non-EDGE_TRIGGERED interrupt.
...
This can be used by drivers to choose another type. Currently used in
isnd4bsd.
1999-01-08 09:29:17 +00:00
leo
be84171b70
Make the abs_copy functions usable. The previous implementation caused
...
kernel "jump to zero" panics....
1999-01-08 09:25:33 +00:00
leo
cf88e51c7b
Modifications of pmap_zero_page() and pmap_copy_page() inspired by recent
...
work from Jason Thorpe on the hp300 pmap.c.
Nuke the usage of the port-specific functions in favour of the m68k functions.
1999-01-08 09:20:37 +00:00
thorpej
289b2e154f
In pmap_zero_page() and pmap_copy_page(), don't bother invalidating the
...
mappings for CADDR1 and CADDR2, unless we're built w/ -DDEBUG. Since
these addresses are only used in these routines, we can "lazily invalidate"
them by just using them again. This makes these routines a teeny bit faster,
as it saves 1 or 2 TBIS's per call.
Suggested by Leo Weppelman <leo@netbsd.org>.
1999-01-08 05:15:43 +00:00
nisimura
6ebba254e7
- Put comments on several DDB helper routines.
1999-01-07 00:36:09 +00:00
thorpej
52fa7c35ac
Add pcscp driver.
1999-01-06 23:43:30 +00:00
thorpej
cd93f8dfc9
- Add adv and adw SCSI controllers, commented out, as they do not yet
...
work.
- Add USB stuff.
- Add new pcscp SCSI driver.
- Comment out wss driver, as the configuration listed hangs some systems
cold.
1999-01-06 23:42:27 +00:00
thorpej
2a3368ed6e
Add the `pcscp' driver.
1999-01-06 23:30:53 +00:00
ragge
bc0985cb97
Make SCSI work on VS3100/m76 also. From "maximum entropy".
1999-01-06 14:54:45 +00:00
drochner
d8a0ea9858
correct a comment about implemented keyboard layouts
1999-01-06 12:17:49 +00:00
scottr
faabac8cce
Update video-related RBV constants to reflect reality.
1999-01-06 07:16:56 +00:00
scottr
46b2a0ebce
Add RBV monitor sense code (formerly commented out in rbv_vidstatus())
...
to the match function, and print out more detailed information when
attaching RBV video.
1999-01-06 07:08:19 +00:00
scottr
e91873be5f
G/C rbv_vidstatus() and related constant.
1999-01-06 05:54:38 +00:00
nisimura
9df51b1b1f
- Complete vm_offset_t purge for DECstation.
1999-01-06 04:18:53 +00:00
nisimura
858e67e157
- Complete vm_offset_t purge for mips processor.
...
- bzero() -> memset() and bcopy() -> memcpy().
- Garbage collection in trap.c and db_interface.c.
1999-01-06 04:11:25 +00:00
briggs
1082c49b69
Fix PR port-mac68k/6665 from Paul Goyette with some minor mods.
...
Cast values is bus_space macros to the appropriate types so we end up
with valid assembly.
1999-01-06 03:06:45 +00:00
jonb
95a1be90da
Add a new kernel config, and use it as a quick non-intrusive test to see
...
if I know how to drive CVS... Hope this is easy to fix if I screw it up!
1999-01-06 02:30:58 +00:00
mark
a857bdefb8
Guard get_device() and prototypes for set_root_device() and get_device()
...
with #ifndef MEMORY_DISK_IS_ROOT.
1999-01-03 20:13:45 +00:00
minoura
7b7ab5a123
UVM is now default for GENERIC.
1999-01-03 14:48:15 +00:00
veego
0e281644ed
Enable fdboot again.
1999-01-03 12:46:31 +00:00
mark
3ad92d6f24
Declare get_device() and set_root_device() as static and prototype them
...
here.
1999-01-03 02:24:56 +00:00
mark
9b3c03f9cc
Update for name change of pv_addr_t structure members.
1999-01-03 02:23:27 +00:00
mark
e0d2ec153f
Rename the members of the pv_addr_t structure to make them more
...
meaningful and to avoid C++ name clashes. Fixes PR port-arm32/6365.
1999-01-03 02:19:32 +00:00
eeh
aae0096c7c
More signal handling fixups.
1999-01-03 01:08:51 +00:00
dbj
c67d9eac9d
Applied supplied patches from pr port-next68k/6709
...
add bus_space support for mono framebuffer
1999-01-02 13:42:17 +00:00
dbj
0f11abef49
Aded include for files.wscons so changes from pr 6707 to conf.c compile.
1999-01-02 13:30:45 +00:00
dbj
bb1f20f1fa
Reformatted changes from previous patch to match style guidelines.
1999-01-02 13:23:31 +00:00
dbj
70b3738d46
applied patch from pr port-next68k/6708: add wscons devices to next68k MAKEDEV
1999-01-02 13:14:18 +00:00
dbj
99c914d1be
Added check that M68040 is defined in case user interrupted creation
...
of assym.h, leaving it empty.
1999-01-02 13:03:20 +00:00
dbj
48d4303235
applied patch from pr port-next68k/6704: next68k zs driver formatting error
...
zs driver needs to print a newline.
1999-01-02 12:47:50 +00:00
ragge
d0e7a99a8a
Giant change: NBPG now set to 4k and CLSIZE == 1 for vax. This change
...
made a whole bunch of annoying bugs disappear; mostly depending on
bad use of NBPG in non-MD code. The VAX port was the only port that
used this historical "feature".
The CL* macros should probably go away totally, there is no reason
at all to keep them.
1999-01-01 21:43:17 +00:00
ragge
1678119a36
A little better support for 'trace' command.
1999-01-01 21:25:03 +00:00
thomas
872b1a1f2a
PCI I/O Start 16k because some devices allow only addresses
...
up to 64k.
1999-01-01 19:54:52 +00:00
mark
1eb9f63a3c
bzero() -> memset() and bcopy() -> memcpy().
1999-01-01 12:42:47 +00:00
mark
4a23b01275
Tidy up this file.
1999-01-01 12:41:13 +00:00
mark
04d8f160e7
bzero() -> memset() and bcopy() -> memcpy().
1999-01-01 12:40:39 +00:00
mark
cc829bbdde
Sync with reality.
1999-01-01 12:13:49 +00:00
mark
d235c19724
This file has been replaced by makemodes.awk.
1999-01-01 10:28:57 +00:00
mark
97036bd92c
Use makemodes.awk to parse the MDF files rather than building a custom
...
binary from makemodes.c. This makes cross compiling simpler.
1999-01-01 10:28:16 +00:00
mark
8b0bd1ca77
Initial commit of awk replacement for makemodes.c
...
This is an awk script to parse an Acorn Monitor Definition File and
generate a C file containing the selected mode timing parameters.
Read the comments at the start of the file for details on use.
This file replaces makemodes.c
1999-01-01 10:26:41 +00:00
tsubai
13529d1878
bmac ethernet driver. (tested on iMac. only 10Base-T works.)
1999-01-01 01:27:52 +00:00
mark
2197d0696d
The scsipi_adapter structure is part of the sfas_softc structure
...
rather than the csc_softc structure.
1998-12-31 09:44:42 +00:00
mark
14a36628f5
Add a missing semi colon.
1998-12-31 09:37:12 +00:00
dbj
c96a4ad63d
Continued work on esp driver. Now successfully identifies a scsi target.
...
Unfortunately, to get dma to work, we have to align past the end of
the buffer, which smashes other variables on the stack.
match function still disabled, as it isn't ready yet.
1998-12-30 12:02:03 +00:00
dbj
d3e627398e
changed register for start of dma buffer to be DD_NEXT_INITBUF instead
...
of DD_NEXT for regular dma transfers, and not just ethernet transmit.
Keep track of dma read/write direction and set it each time we start or
restart dma. This allows scsi to work, and doesn't appear to hinder ethernet.
1998-12-30 03:05:29 +00:00
tsubai
bdf1b68276
iMac support (not complete yet).
1998-12-29 06:27:59 +00:00
tsubai
8a5e34f28a
Fix a bug of last change.
1998-12-29 05:17:27 +00:00
tsubai
d5fc963f0e
Add USB.
1998-12-29 04:40:19 +00:00
mark
058cf2a88c
Apply patch from PR port-arm32/6357 to make the wdc attachment to the
...
RiscPC mainbus work correctly.
From Richard Earnshaw.
1998-12-28 09:40:28 +00:00
mark
767af4d82c
Add a check for r8 equal to 0 and do a quick exit if it is.
1998-12-28 09:39:02 +00:00
ross
509315b9e0
We don't call prom_open() here anymore, so don't call prom_close() either!
1998-12-28 09:12:52 +00:00
tsubai
2ad7314a82
Configure only one wskbd/wsmouse.
1998-12-28 00:50:44 +00:00
tsubai
e7e9a2e0e1
Use "interrupt" property if "AAPL,interrupt" is not found.
1998-12-28 00:38:18 +00:00
nisimura
fe061a7ae4
- Eliminate dead code in TLB miss handler. Fortunately it has never been
...
executed. Once execunted, the result would be castrophic because it has
addressing error.
1998-12-28 00:31:03 +00:00
dbj
ba3bedf25e
After some experimentation, now allow dma start alignment to be 4.
...
Removed separate alignment constant for ethernet since it appears to
be unnecessary.
1998-12-27 09:03:14 +00:00
is
bc72f5a29c
Make it table-driven. Besides making adding more devices easier, the resulting
...
code is 14% smaller (alas, for this file only).
1998-12-26 22:22:58 +00:00
dbj
ea8f01b987
Continued experimentation on SCSI driver.
...
Added nextdma_debug variable to control debug printouts in nextdma driver
when ND_DEBUG is defined.
1998-12-26 06:17:44 +00:00
tsubai
468355c5f0
Make configurable with no frame buffer.
1998-12-26 00:53:49 +00:00
msaitoh
7c25d335bf
s/are are/are/
1998-12-25 16:52:10 +00:00
itohy
172852517b
Switch x68k port to UVM by default.
...
Mach VM and even old contig and non-contig codes are still alive.
1998-12-23 23:01:44 +00:00
christos
c7f9823bf0
C_LABEL has no _ if __ELF__
1998-12-23 15:09:48 +00:00
tron
b471830935
Sync with GENERIC.
1998-12-23 09:46:07 +00:00
mrg
9ec7c3c814
move sun3 to UVM by default. only pica/arc & x68k left.
1998-12-23 06:00:03 +00:00
fair
7a738d840b
Make gcc happy by changing %x to %lx hiding in a DEBUG.
1998-12-23 04:53:44 +00:00
tsubai
86a0b96c10
Search "interrupts" property if "AAPL,interrupts" is not found.
1998-12-22 19:46:28 +00:00
tsubai
89e0cc0a86
Display frame buffer type when attached.
1998-12-22 19:38:35 +00:00
tsubai
1e7ee2d117
Determine the address of interrupt register at runtime.
...
(iMac has different address)
1998-12-22 19:35:49 +00:00
scottr
84af636530
vm_offset_t -> {paddr_t, vaddr_t}
1998-12-22 08:47:05 +00:00
scottr
da48906a74
Update for present reality.
1998-12-22 08:25:34 +00:00
mrg
12d0e6e8f7
move sparc{,64} installboot.8 back to src/share, to avoid splitting sources for users who dont get everything.
1998-12-22 02:34:09 +00:00
tsubai
07c96d75d6
Wait one second before powerdown.
1998-12-21 21:58:19 +00:00
pk
fc6df8006b
Make sure we don't spuriously detect more than one boot device (as the
...
previous patch but extended to all devices).
1998-12-21 11:25:39 +00:00
thorpej
795321b030
Make pmap_collect() actually do something useful. If called with a user
...
pmap, forget all of the mappings for the user address space for that pmap.
This causes the PT pages to be freed so that they can be reclaimed by the
VM system. [*]
[*] Actually, in the current implementation, it merely causes the wiring
count on the PT pages to drop to 0, which allows them to be reclaimed by
the pagedaemon. Handling of PT pages needs to be completely rewritten.
1998-12-21 09:02:43 +00:00
thorpej
d6bc370c2d
Use a memory pool for pmap structures.
1998-12-21 08:51:39 +00:00
thorpej
43b82d559c
Improve pmap_copy_page() and pmap_zero_page(). Don't use pmap_enter()/
...
pmap_remove() for the temporary addresses. This is completely unnecessary
as the temps are used ONLY for these routines, and we have better control
over the mapping by manipulating the PTE ourself. On VAC systems, cache-
inhibit the mapping to prevent wasting a cache load.
These routines are now significantly faster.
Add a DIAGNOSTIC check in pmap_enter() for kernel pmap and (CADDR1 or CADDR2);
nothing should be adding mappings there via that interface.
1998-12-21 06:58:39 +00:00
thomas
6c040077b9
Install kbdreg.h. The Xserver needs it.
1998-12-20 23:17:48 +00:00
nathanw
4d2e9f8e9d
Add "pcic0 at pci?".
1998-12-20 17:56:18 +00:00
nathanw
788ff053de
Fix up support for PCI attachments of pcic devices on i386 in general,
...
and the Cirrus Logic CL-PD6729 in particular.
From danw@mit.edu in PR port-i386/6436.
1998-12-20 17:53:28 +00:00
thomas
75c4b3bf70
Changed grf mmap that it is closer to XFree. VGA memory on et4000/et6000
...
is now at offset 0xa0000.
1998-12-20 14:32:34 +00:00
thomas
051cc552ae
New code to enable PCI devices.
1998-12-20 14:24:52 +00:00
thorpej
51d0670371
Clean up a whole load of comments, making many of them truthful, and
...
indicating which functions are INTERFACE vs. which aren't.
1998-12-20 01:15:52 +00:00
thorpej
80e50e26a8
Unclutter a bit. Use a PMAP_DPRINTF() macro where possible, getting rid
...
of loads of #ifdef DEBUG ... stuff.
1998-12-19 23:51:47 +00:00
thorpej
6659e7174e
In pmap_testbit(), if we end up traversing the PV list, cache a hit on the
...
bit to speed future tests.
1998-12-19 23:21:51 +00:00
thorpej
97f422e85b
Make pmap_changebit() take bits to set and a PTE mask, rather than a bit
...
and a boolean.
1998-12-19 23:01:47 +00:00
scottr
3de0336b7c
Protect a keyup event for ADBK_3 in the mouse button emulation code with
...
ALTXBUTTONS, so as to not cause trouble with some non-US English
keyboards. From SUNAGAWA Keiki, PR 6613.
1998-12-19 21:41:13 +00:00
thorpej
d36a60d9cb
G/c PMAPSTATS. It's unneeded clutter right now.
1998-12-19 21:11:14 +00:00
ragge
6036a3463e
Fix bufpages miscalculation. At the same time, make bufpages configurable
...
att compile time.
1998-12-19 20:06:36 +00:00
he
a127a479d7
Add 'ex' driver and various mii stuff, from GENERIC.
1998-12-19 20:06:30 +00:00
thorpej
459052a0fb
Wire down some SCSI disk units.
1998-12-19 20:05:19 +00:00
ragge
75c1333e8e
A "return 1" should be "return 0". Caused machine to crash as soon as
...
it started paging.
1998-12-19 20:03:23 +00:00
he
bdafd9591e
Add "ustarfs" as a recognized boot file system type, and bump version number.
1998-12-19 19:44:56 +00:00
he
2cfee96f35
Implement -b option, similar to on alpha, required for ustar floppy support.
1998-12-19 19:17:23 +00:00
drochner
dafe2a2b81
Some BIOSes return occasionally with carry set from APM_CPU_IDLE/BUSY
...
calls, without setting a defined error code. This leads to annoying
output. Put the printout inside APMDEBUG.
1998-12-19 14:46:10 +00:00
dbj
db8bf6a623
Revamped DMA interface to unify chaining and non-chaining dma sequences.
...
Updated ethernet driver to work with new interface.
Continue work on esp driver.
1998-12-19 09:31:44 +00:00
thorpej
3bd57bb34b
Correct a panic message.
1998-12-18 19:52:11 +00:00
drochner
52c16cf83a
get "opt_compat_svr4.h" out of <sys/conf.h>
1998-12-18 16:55:39 +00:00
drochner
0f6572f2b1
COMPAT_xxx option review: add missing opt_compat_netbsd.h
1998-12-18 15:49:40 +00:00
kleink
fec2cc52f3
T_SVR4_GETHRESTIME returns a nanosecond quantity in %o1.
1998-12-17 22:26:02 +00:00
gwr
271b8ff5ba
Sync with GENERIC
1998-12-17 06:46:55 +00:00
gwr
ec630d208f
Fix some "unused variable" warnings (if !HAVE_CACHE)
1998-12-17 06:17:45 +00:00
tron
67693a18b7
Sync with "GENERIC" and fix description.
1998-12-17 00:07:08 +00:00
minoura
72bcdb203b
Synced with GENERIC.
1998-12-16 14:10:38 +00:00
christos
5b07a26bc4
Add a commented out entry for tcom.
1998-12-16 11:42:07 +00:00
kleink
1b6a24c1d4
Support for compound statements enclosed in parenthes to appear as
...
expressions is a GNU C extension; mark as such them with __extension__ to
suppress portability warnings. Addresses kern/3562 and misc/6185, as suggested
by Dave Sainty <dave@dtsp.co.nz>.
1998-12-16 11:11:02 +00:00
itohy
36416d8500
Added options COMPAT_LINUX and EXEC_ELF32 as comments
...
to GENERIC configuration files.
1998-12-15 19:50:00 +00:00
itohy
c05dadc113
Added COMPAT_LINUX support.
1998-12-15 19:36:36 +00:00
christos
a6406e330a
1000000000 nsec != 2^32 nsec. (from kleink). Also had eax and edx backwards.
1998-12-15 16:10:42 +00:00
christos
9a2a015957
1000000000 nsec != 2^31 nsec (from kleink)
1998-12-15 16:06:15 +00:00
is
920aad33e4
Support for Hypercom 3+ / 4+. Untested yet, but its only some additional
...
entries in a table.
1998-12-14 20:33:45 +00:00
itohy
643e0d4cc2
Added intr.h
1998-12-14 19:04:58 +00:00
kleink
342b5e5134
Also need to initialize the queue length of a newly allocated fpstate.
1998-12-14 16:18:46 +00:00
itohy
b40f2a1c88
Make egcs happy.
1998-12-14 15:22:04 +00:00
christos
80f51bcef4
Add an entry point for the solaris 2.6 fast trap vectors, used by the
...
high resolution timer calls.
1998-12-13 19:31:26 +00:00
christos
4959a9fca6
Add defines for the fast trap vectors.
1998-12-13 19:27:51 +00:00
kleink
a2aacaedde
Add -Werror and -Wmissing-prototypes, like most other ports do.
1998-12-13 19:19:38 +00:00
kleink
adddbfb644
obio_find_mapping(): int -> vaddr_t where appropriate.
1998-12-13 19:08:43 +00:00
kleink
58f85c298a
Printf format warning cleanup: the type of the result of a shift operation is
...
that of the promoted left operand.
1998-12-13 18:14:30 +00:00
christos
885e96c95e
Correct problem with UESP, still does not work properly.
1998-12-13 18:07:27 +00:00
kleink
072888839b
Printf format warning cleanup.
1998-12-13 18:00:10 +00:00
kleink
1bf1bbfc56
xdc_piodriver: sync function definition with declaration; also eliminates
...
the use of a char as an array subscript.
1998-12-13 17:57:19 +00:00
minoura
6aa085a693
Splitted out the interrupt handling code to a separate file.
...
Disallow getting down the interrupt level by splXX.
1998-12-13 15:04:01 +00:00
is
2b1c171400
appease egcs-1.1.1.
1998-12-12 20:05:07 +00:00
mycroft
b28c62f40d
Run async_update() even if something is select()ing.
1998-12-12 17:29:39 +00:00
mycroft
b3c9835be1
r13-r15 -> sp, lr, pc
1998-12-12 17:28:05 +00:00
drochner
be595f36c4
document support for Intel 82557/82558
1998-12-12 15:51:49 +00:00
drochner
6f71e420f3
add support for the Intel 82557/82558 fast ethernet chip
1998-12-12 15:47:05 +00:00
gwr
02b9dc7632
Switch to MACHINE_NEW_NONCONTIG (Yea! Finally!:)
1998-12-12 05:28:24 +00:00
gwr
e7810fa812
Fix MACHINE_NEW_NONCONTIG support (UVM works now:)
...
thanks to Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
Closes PR#6540
1998-12-12 05:25:01 +00:00
thorpej
ebd6430388
Add some brackes to make EGCS happy.
1998-12-11 18:46:18 +00:00
mrg
f3e2980d41
note thta installboot.8 is built in share/man. move installboot.8 back to the same place the sources are, just build it in an MI location.
1998-12-11 12:18:46 +00:00
mrg
30964865f6
change -d (debug) to -n (nowrite) as they have the same effective meaning, but -n is what sparc uses. use partition c as that will generally be what the user wants.
1998-12-11 12:15:44 +00:00
mrg
a73ed687d6
add an installboot man page, based on the old sparc on but with large bits ripped out
1998-12-11 12:14:53 +00:00
mrg
29a68943af
note installboot.8 is built in share.
1998-12-11 12:14:22 +00:00
mrg
7a39c6352a
- exec the command
...
- exit 0 if we don't run it
- look for the disk in /dev/${disk} /dev/${disk}a as well as ${disk}
- look for the bootblock in /usr/mdec.
- exit if we can't find either the bootblock or disk.
1998-12-11 11:46:54 +00:00
tsubai
c232b5d803
Add wdc.
1998-12-10 20:49:17 +00:00
tsubai
b517a9d3d8
Add wd and atapi.
1998-12-10 20:21:28 +00:00
tsubai
ef27ffc3de
Add ata/atapi disk support.
1998-12-10 20:10:03 +00:00
augustss
e481435c53
Add sv driver.
1998-12-10 19:01:41 +00:00
ragge
5fb70e2fcc
Use vt100 console emulation instead of sun. :-)
1998-12-10 18:24:52 +00:00
leo
bfd59f416b
Another patch from 'maximum entropy':
...
* Add to copyright notice.
* Replace the bad probe that caused your problem in the first place
with a better one. This probably means we could do away with the
type hints you added, but it won't hurt to leave them.
* Improve performance by not wasting a memory access in the buffer
copy/zero routines.
1998-12-10 15:55:25 +00:00
augustss
3334421666
Comment out sv audio device, the driver is not in the tree yet.
1998-12-10 15:46:20 +00:00
ragge
3a8728fa4f
Fix deadlock bug. Pointed out by maximum entropy.
1998-12-09 19:02:31 +00:00
leo
a4fea93ff3
Make sure that my Riebl card (with empty battery) is not detected
...
as an BVME410...
1998-12-09 08:51:12 +00:00
leo
5335909035
BVME410 ethernet driver by 'maximum entropy'.
1998-12-09 07:33:59 +00:00
augustss
8398f3a4db
Add ugen, a generic USB driver.
1998-12-08 15:52:31 +00:00
dbj
54a0e65b02
initialized unused dma registers to 0xdeadbeef instead of 0 to aid debugging.
1998-12-08 09:35:07 +00:00
tsubai
ea6bba6b90
Fix a typo.
1998-12-07 17:17:14 +00:00
nisimura
14b18ffcb5
- Remove improper casts mistakenly creeped in the last commit.
1998-12-07 04:21:57 +00:00
tsubai
fbeabd992c
Implement sparse bus space support.
1998-12-06 15:39:12 +00:00
ragge
5ff97947fe
Search for NCR controllers, but not on VS4000/60.
1998-12-06 14:33:54 +00:00
ragge
fec054bd9a
Simple hack to get at least PIO functionality out of the VS2000/3100 ncr5380.
...
Fixed by Jens Arvid Nilsson.
1998-12-06 13:55:09 +00:00
mjacob
c2e84d0cde
What was missing here is the mapping between our booting SCSI bus number
...
and the parent (hba) path from which we booted from. As a temp fix,
we'll only go with the first match to set altbootdev- not additional matches.
The problem was further exacerbated by the fact that cnpoll doesn't seem
to work on serial consoles.
1998-12-05 21:05:44 +00:00
mjacob
74bc9f26d5
Update HBAs to incorporate the new max_lun property.
1998-12-05 19:43:33 +00:00
jonathan
340efce0ea
Track PV_REFERENCED bit as for PV_MODIFIED, to make mdsetimage work correctly.
...
Compatiblity with Mach VM: clear pmap-private bits in pmap_remove() if !UVM.
1998-12-05 09:13:09 +00:00
jonathan
aecf708ee3
Clean up kernel PTE allocation. Allocate space for maxproc kernel stacks.
...
Bump UVM swap-map to avoid panics on large swap machines.
1998-12-05 07:50:12 +00:00
jonathan
ea1aa3511c
#ifdef _KERNEL around cpu_exec_ecoff_setregs() prototype.
1998-12-05 07:26:11 +00:00
thorpej
7fa243e59e
Pass the symbol table size, like a.out.
1998-12-04 20:22:36 +00:00
thorpej
2d7f8f3343
Support both a.out and Elf32 symbols in DDB.
1998-12-04 20:19:22 +00:00
nisimura
75ff38a27d
- Fix an error in primary cache line size detection logic; when IC and/or DC
...
bit is 1, then line size is 32. Otherwise, 16.
1998-12-04 10:32:08 +00:00
nisimura
9f33638436
- Fix and improve confusing indentations inside trap().
...
- Don't make a reference of curproc when it has NULL value. It causes
double fault upon a fatal panic ocation.
- Macro FETCH_INSTRUCTION() took a value of address 0.
-
1998-12-04 04:35:44 +00:00
sakamoto
0bba7a7eca
Not used.
1998-12-04 00:17:49 +00:00
pk
5d9f86821c
Add a device_register() function to determine the boot device.
...
Use it in addition to the old method for a while, so we can take note
of any glitches easilier.
1998-12-03 23:49:58 +00:00
bouyer
47ab212504
Rename pio_mode, etc ... to PIO_cap, etc ... for consistency with the
...
ata_drive_datas struct. Suggested by Soren S. Jorvan.
1998-12-03 18:24:30 +00:00
tsubai
619952b3ee
Not used.
1998-12-03 11:05:18 +00:00
nisimura
3c6a704193
- Use explicite structure member reference with 'struct frame' to alter
...
register values of exception frame pointed with p->p_md.md_regs.
- Local auto variable 'cpustate' in cpu_coredump() was never used correctly.
1998-12-03 06:28:45 +00:00
sakamoto
64ba00be2c
Change r_type bit field size 5 to 6 and reduce unused bit(2 to 1).
...
Suggested by Mirian Crzig Lennox.
1998-12-03 05:15:06 +00:00
ross
33038ca087
Tweak this so it will build and run on ILP32 hosts, anyway, 0x...LL constants
...
are blessed by the C9X draft.
1998-12-03 04:16:18 +00:00
thorpej
da572a137f
Argh, fix the ANSI CPP version of the a.out WARN_REFERENCES().
1998-12-02 21:16:46 +00:00
tsubai
4cb00b9fe2
Adapt to gcc change (calling sequence).
1998-12-02 14:23:03 +00:00
bouyer
ab57245c0f
Document the use of flags to set/disable PIO/DMA/UDMA modes.
1998-12-02 10:54:26 +00:00
thorpej
a6f7e0c05a
Implement WARN_REFERENCES().
1998-12-02 00:58:42 +00:00
leo
7cce2beefa
Fix the __abs_copy() macro (wrong parameters to __abs_opname).
1998-12-01 15:32:28 +00:00
leo
70249fa2f2
Make this compile again... ('maximum entropy').
1998-12-01 15:30:01 +00:00
thorpej
1e7ec4d50e
Use _C_LABEL() to generate C labels in assembly code, don't prepend an
...
underscore (_) directly. (XXX Except in a few places, where traditional
CPP's macro evaluation semantics break things, so we test for __ELF__
directly in those places).
1998-12-01 04:30:59 +00:00
ragge
6e9aa26bb0
Fix disk size identifier bug.
1998-11-30 22:27:32 +00:00
mycroft
abfe9cee7b
Sync with 32-bit SPARC version.
1998-11-29 22:20:19 +00:00
minoura
e01f39790b
BUFCACHE option.
1998-11-29 16:20:13 +00:00
minoura
933646a42b
Re-enabled SMALL.
...
This kernel can run on small memory machines.
1998-11-29 16:17:01 +00:00
ragge
133ae4e0b7
Wall fix.
1998-11-29 15:12:57 +00:00
ragge
b5c0d58042
vm_offset_t -> vaddr_t. Count up memory here.
1998-11-29 15:12:23 +00:00
ragge
09cbabdb40
Don't map in unnecessary pages.
1998-11-29 15:09:10 +00:00
ragge
6c5df58799
Protect against multiple inclusion. Struct needs at least one argument.
1998-11-29 15:06:02 +00:00
ragge
dbcd5013d0
blkclr -> memset.
1998-11-29 15:04:56 +00:00
ragge
3fec5558a2
uvm_km_alloc -> uvm_km_zalloc.
1998-11-29 15:04:36 +00:00
ragge
a2d54053dc
Fix (small) segv bug. Recognize in-kernel trace and breakpoint traps.
1998-11-29 15:04:05 +00:00
ragge
2298227965
Remove support to execute reno/ultrix binaries. It doesn't work, and
...
must be done in another way to work.
1998-11-29 15:01:49 +00:00
ragge
015d31ae8d
- Save R/M bits after a page is unmapped.
...
- Keep track of mapping count (for statistics).
- vm_offset_t -> vaddr_t/paddr_t.
- Move away counting of available memory.
1998-11-29 14:55:04 +00:00
ragge
f07a586dc6
the btoc/ctob/btop macros must use CLBYTES, not NBPG. How this should
...
work in the long run is an open issue; some parts must be reworked
in a MI way.
1998-11-29 14:48:51 +00:00
ragge
c738e45cd6
Memory disk support.
1998-11-29 14:31:53 +00:00
mycroft
34a1fe3ee3
Fix bogus asm statements; tmp1 and tmp2 need to be outputs rather than inputs.
1998-11-29 10:37:08 +00:00
thorpej
11f3c29221
Add USB devices.
1998-11-29 06:57:46 +00:00
thorpej
ff78cf69cf
Move cdev_usb_init() and cdev_usbdev_init() to <sys/conf.h>
1998-11-29 06:56:13 +00:00
jonathan
7d813b16c3
Add PV_REFERENCED and track as for PV_MODIFIED,.
...
UVM relies on pmap modules keeping track of modified/referenced bits
after a page has been removed from all mappings. So *dont* clear
PV_REFERENCED or PV_MODIFIED flags in pmap_remove().
1998-11-29 03:18:32 +00:00
jonathan
fa0ee282ff
Read icsr in interrupt handler (from development tree).
1998-11-29 00:58:06 +00:00
jonathan
34fe177e8e
* Use dc_tty_init() to set serial-console line state both for boot-time
...
console setup and driver attach-time.
* Dont wire potential console lines as CLOCAL; use softcar.
* #ifdef tests on #ifdef NRASTERCONSOLE, not HAVE_RCONS.
1998-11-29 00:28:29 +00:00
is
0136b1bd69
Add ne (AriadneII).
1998-11-28 21:27:42 +00:00
thorpej
16eabd8a1f
Add an RCS ID.
1998-11-28 20:59:26 +00:00
ender
a5b3596bc4
Remember to recognize modifier key releases when the Option key is down.
...
Fixes art of PR 6444. Tested by Frederick Bruckman <fb@enteract.com>.
1998-11-28 19:42:49 +00:00
is
06f7b24f4c
Implement softintr_disestablish().
1998-11-28 16:39:25 +00:00
is
b36e0e66ff
Fix typo.
1998-11-28 14:46:53 +00:00
is
36ebc2012e
Sorry. Hypercom1 and Hypercom3 code is not yet available.
1998-11-28 12:19:44 +00:00
jonathan
cdc3ba978c
Remove last vestiges of console special-case handling:
...
* use dc_coldparam() in dc_tty_init(), dc_kbd_init().
* use dc_tty_init() to set line for serial console in dc_consinit()
* only call dc_mouse_init() if the console major-number is RCONSDEV.
1998-11-28 09:52:55 +00:00
eeh
7010132044
Calculate the size of the TSB correctly.
1998-11-27 20:02:57 +00:00
eeh
ff27dd92da
Improve page table printing.
1998-11-27 19:58:46 +00:00
simonb
e931618c25
Don't do a mkdep on SFILES if it is empty. Stops an annoying:
...
cc: Warning: `-x assembler-with-cpp' after last input file has no effect
cc: No input files
message.
1998-11-27 01:01:40 +00:00
simonb
8eef08e4ae
fix another white space botch
1998-11-27 00:44:46 +00:00
simonb
bf95b924c9
White space and comment formatting police
1998-11-27 00:09:33 +00:00