thorpej
ca8ebd2ae7
Change badaddr() to take the size of the access to do, and nuke
...
badbaddr().
1996-09-12 04:59:56 +00:00
thorpej
2a57ba6633
Correct a comment, and add timer priming macros.
1996-09-12 04:54:19 +00:00
scottr
a453e56ffd
This is the development/debug machine
1996-09-12 04:50:43 +00:00
scottr
7b33c93009
Update to current reality.
1996-09-12 04:49:52 +00:00
thorpej
22adc20819
Add an FPU_UNKNOWN constant; just a placeholder for any unknown FPU.
1996-09-12 02:52:34 +00:00
thorpej
2b525e4952
Sync boot() with the hp300 version (basically, clean up a bit and
...
run shutdown hooks).
1996-09-12 02:45:57 +00:00
thorpej
9aeee9fb17
Remove a couple of opcodes that are already (and more appropriately)
...
defined in scsi_changer.h
1996-09-12 01:57:17 +00:00
mrg
c98a14ad90
update these for poll(2) changes.
1996-09-12 01:35:34 +00:00
thorpej
be969d881e
Update for poll(2) changes.
1996-09-12 01:22:58 +00:00
thorpej
eae3f0bb96
When opening a disk for non-filesystem i/o, make sure we only return
...
an error condition when an error occurs.
Bug noticed by Terry Lambert <terry@lambert.org>.
1996-09-11 18:05:02 +00:00
jonathan
2bc8c4e5c2
Merge in 4.4BSD-Lite -> 4.4BSD-Lite2 changes. (untested).
...
The Lite2 changes include:
* Remove the last vestiges of high-bit-set-means-delay for output chars.
* Handle the 2100/3100 having partial modem control on line 2 only,
whereas the 5000/200 has modem control signals on lines 2 and 3.
* Add RTS/CTS support for lines 2 and 3 on a 5000/200.
* Add more s = spltty(); splx(s); where needed but not present.
1996-09-11 06:41:19 +00:00
explorer
5d76f7cbac
remove unneeded placeholder
1996-09-11 05:24:25 +00:00
thorpej
5704683922
- Pull in some interesting changes from the Amiga trap.c:
...
* SunOS glue
* 68060 exception frame size definitions
* 68060 fault detection macros
- Use `cputype' rather than `mmutype' where appropriate.
- Play the prototype game.
This file is much closer to being sharable by all m68k ports.
1996-09-11 00:44:24 +00:00
thorpej
f36cec2dfc
Define the CPU_* constants from <m68k/cpu.h> for assym.h
1996-09-11 00:32:16 +00:00
thorpej
75b43e0aa6
Declare a `cputype' global, and set it as appropriate.
1996-09-11 00:29:28 +00:00
thorpej
a437d4f6cb
Use <m68k/cpu.h>.
1996-09-11 00:23:47 +00:00
thorpej
e469c7beca
Use <m68k/cpu.h>.
1996-09-11 00:11:42 +00:00
thorpej
521a717f6d
Factor out common Motorola 68k CPU definitions from the m68k port
...
cpu.h header files.
Some more work could be done here, but it's a good start.
1996-09-11 00:08:52 +00:00
mycroft
da2cd7eb82
If we're in SYN-SENT or SYN-RECEIVED state, don't reset the keepalive
...
timer until we transition to ESTABLISHED state. Suggested by TCP/IP
vol 3.
1996-09-10 23:26:05 +00:00
thorpej
7734e8980b
Add COMPAT_M68K4K.
1996-09-10 22:48:05 +00:00
thorpej
9ff195106c
Document COMPAT_M68K4K, but leave it disabled by default.
1996-09-10 22:45:17 +00:00
thorpej
1710b024c0
Document COMPAT_M68K4K, but leave it disabled by default.
1996-09-10 22:26:50 +00:00
thorpej
73a5b90800
Pull in the COMPAT_M68K4K stuff when appropriate.
1996-09-10 22:07:10 +00:00
thorpej
0d3a57ea3f
Add COMPAT_M68K4K to the exec switch.
1996-09-10 22:05:03 +00:00
thorpej
c9bf6a7e5a
Add exec glue for `COMPAT_M68K4K'; just map the executable the way
...
a MID_M68K4K expects to be mapped. Allows any m68k port with
NBPG == 4096 to run NetBSD/hp300 executables, and will allow hp300s
to run legacy executables when that port's default format is eventually
changed to match the other m68k ports.
1996-09-10 22:01:20 +00:00
cgd
0b77b04b6e
set a0 to be the initial sp, and set pv to be program entry point.
1996-09-10 19:13:42 +00:00
jtk
2b5e1cd158
clean up missing prototype, extra variable
1996-09-10 11:22:33 +00:00
leo
0f821f9aa6
Conform to the hp300 style of trap.c as suggested by Jason.
1996-09-10 09:05:40 +00:00
leo
2340b495ce
- Add suline() for the new trap.c (Shouldn't this move to m68k/copy.s?)
...
- Fix some bugs in the interrupt handlers introduced by the new mapping
of the st io-area.
1996-09-10 08:58:42 +00:00
leo
7a87b91e9b
Add suline/susword prototypes for new trap.c
1996-09-10 08:45:16 +00:00
jonathan
be23611556
Apply diff from the 1.2 release branch, so that ugly IOASIC debugging
...
is disabled by default:
>revision 1.9.4.2
>date: 1996/09/09 20:19:11; author: thorpej; state: Exp; lines: +2 -18
>Disable IOASIC_DEBUG so that autoconfiguration looks normal, by request
>of Jonathan Stone
1996-09-09 21:32:20 +00:00
mycroft
b3ffba62a6
Move strip(1) flags into a separate variable, so that $STRIP can
...
be passed to subordinate make(1)s. Remove $TOUCH. Add HOSTED_CC,
HOSTED_CPPFLAGS, and HOSTED_CFLAGS, and use them when depending genassym.
1996-09-09 21:06:55 +00:00
mycroft
dbacbd3636
Use machine/asm.h. Garbage collect.
1996-09-09 18:42:51 +00:00
thorpej
0d89093b48
This file is obsolete; the ahb driver now lives in ahb.c
1996-09-09 18:32:42 +00:00
cgd
7ba205c37e
Sync the 53c94 SCSI driver with the sparc version. Update the DMA code to
...
match the interfaces required by the driver.
1996-09-09 18:10:35 +00:00
mycroft
379839a0df
Make the build process more sane.
1996-09-09 18:07:40 +00:00
mycroft
79e03b2967
Pass $STRIP to the sub-make.
1996-09-09 18:03:46 +00:00
cgd
adeb6b4058
replace sequences of 8 spaces with tabs (only one instance). kill
...
unnecessary newlines after return statements but before function
close-braces.
1996-09-09 18:01:30 +00:00
mycroft
825aca4d5d
Oops; include paths are relative to $S.
1996-09-09 17:18:47 +00:00
mycroft
9bb1acd303
Rework the token bucket filter to use a list of packets rather than a static
...
array. Also, fix several memory leaks. From Bill Fenner.
1996-09-09 17:14:04 +00:00
mycroft
23437fc3d2
Cosmetic changes, some from Bill Fenner.
1996-09-09 17:09:50 +00:00
mycroft
3fbde733bc
Sync with version in ../boot.
1996-09-09 16:55:11 +00:00
cgd
6891e01ba2
add missing underscore to __alpha_, to map interrupt names properly.
...
It worked right before because of happy coincidence.
1996-09-09 16:39:44 +00:00
cgd
2b118fc59b
add entries for rd (cdev + bdev), ss (cdev), and uk (cdev).
1996-09-09 16:38:52 +00:00
mycroft
842eae0878
Add a file for local additions to GENERIC.
1996-09-09 16:37:08 +00:00
mycroft
a693d5fcb0
Sync with GENERIC.
1996-09-09 16:33:20 +00:00
cgd
65538ec48d
add specs for 'rd'
1996-09-09 16:31:36 +00:00
mycroft
02b3e8d73e
Add ss, uk. Minor touchups.
1996-09-09 16:30:47 +00:00
mycroft
97c4dc0c80
Remove old comment about rd, and add to chrtoblk[].
1996-09-09 15:51:34 +00:00
mycroft
62a6cce9ca
Add in_nullhost() and in_hosteq() macros, to hide some protocol
...
details. Also, fix a bug in TCP wrt SYN+URG packets.
1996-09-09 14:51:07 +00:00
jtk
4b9b2da0f5
I meant to depend on apm.h, not Makefile
1996-09-09 11:34:01 +00:00
jtk
ec11419661
fix compilation problems when APM not configured
1996-09-09 11:31:40 +00:00
jonathan
de227b74e6
* Add missing printf("\n") at end of attach routine in cfb, sfb, pm drivers.
1996-09-08 19:28:03 +00:00
oki
9682743e21
delete unused prototype.
1996-09-08 18:46:12 +00:00
mycroft
a32047fa0c
Add cdev_decl(rd), for previous.
1996-09-08 15:59:56 +00:00
jtk
3b509ead1a
whoops, forgot to include flags details in bioscall() comments
1996-09-08 15:51:39 +00:00
mycroft
f5c7d8bcc1
Save 68 bytes of the packet for ICMP, not 64. From Laine Stump, PR 2296.
1996-09-08 15:49:43 +00:00
jtk
1a1feb3827
change APM to use new almost-generalized BIOS trampoline:
...
/*
* void bioscall(int function, struct apmregs *regs):
* call the BIOS interrupt "function" from real mode with
* registers as specified in "regs"
* (for the flags, though, only these flags are passed to the BIOS;
* the remainder come from the flags register at the time of the call:
* (PSL_C|PSL_PF|PSL_AF|PSL_Z|PSL_N|PSL_D|PSL_V)
*
* Fills in *regs with registers as returned by BIOS.
*/
Thanks to Charles Hannum for complaining and inspiring me to hack this
together.
1996-09-08 15:43:37 +00:00
jtk
fda7345c98
re-implement BIOS trampoline as a more general-purpose, reusable trampoline.
...
calling interface (via a grapple in locore.s) is:
/*
* void bioscall(int function, struct apmregs *regs):
* call the BIOS interrupt "function" from real mode with
* registers as specified in "regs"
* (for the flags, though, only these flags are passed to the BIOS;
* the remainder come from the flags register at the time of the call:
* (PSL_C|PSL_PF|PSL_AF|PSL_Z|PSL_N|PSL_D|PSL_V)
*
* Fills in *regs with registers as returned by BIOS.
*/
still some generalization to do (moving this to a better named location,
cleaning up #if tests from NAPM > 0 to something else to allow easy
sharing by other drivers)
Thanks to Charles Hannum for complaining about the previous BIOS grapple
and inspiring me to hack this one together.
1996-09-08 15:36:51 +00:00
mycroft
90cf086c4f
Restructure ns_control() like other protocols.
1996-09-08 14:49:41 +00:00
mycroft
5fda0ab8a3
Make sure the control mbufs are freed in all cases.
...
Return ENOPROTOOPT rather than picking pseudo-random error values.
Restructure *_ctloutput() functions to match other protocols.
1996-09-08 14:48:21 +00:00
mycroft
0804856d01
Make sure the control mbufs are freed in all cases.
...
Return ENOPROTOOPT rather than picking pseudo-random error values.
Restructure *_ctloutput() functions to match other protocols.
iso_ifreq and SIOC*_ISO are no longer needed; use the standard versions.
1996-09-08 14:28:08 +00:00
jonathan
50326ae738
* Call doshutdownhooks() before rebooting.
...
* Split the machine-dependent part of rebooting out into a separate
function, prom_halt(), making boot() a candidate for moving into
mips/mips.
1996-09-08 11:49:49 +00:00
is
3efed5ad51
s/reutrn/return/, although in normally inactive code.
1996-09-08 11:21:11 +00:00
is
569aabbde8
"Never type in what you can equally well cut'n'paste." - (myself)
1996-09-08 07:15:56 +00:00
mycroft
1dce8ddb7f
Add char device for `rd'.
1996-09-08 03:31:39 +00:00
thorpej
ed0c45596a
Add some forward declarations.
1996-09-08 02:09:50 +00:00
thorpej
de5110f41e
Use <m68k/exec.h>.
1996-09-08 01:00:35 +00:00
thorpej
c5e5dec3b7
All of the m68k ports' exec.h's were essentially the same. Merge them.
...
Override the N_PAGSIZ() macro; this one checks the MID of the executable
and returns the appropriate page size.
1996-09-08 00:57:29 +00:00
mycroft
9110bcca3a
Add uk device.
1996-09-08 00:46:57 +00:00
mycroft
9db220fa82
Use cdev_uk_init().
1996-09-08 00:40:08 +00:00
mycroft
1ca30a00cc
Add cdev_uk_init().
1996-09-08 00:38:54 +00:00
mycroft
9e7223f23d
Use cdev_scanner_init() rather than local cdev_ss_init().
1996-09-08 00:11:51 +00:00
mycroft
e6dd44f034
Use SIGBUS iff we get a legitimate bus fault. Use SIGSEGV for page protection
...
violations (per Solaris, SVR4, AIX, Linux, Irix, and SunOS).
1996-09-07 22:26:41 +00:00
mycroft
7cbc74f45c
Use INFTIM, not -1.
1996-09-07 21:47:23 +00:00
mycroft
f0ab97d9b1
Define INFTIM, a la Solaris.
1996-09-07 21:44:59 +00:00
mycroft
f14cece0ae
Turn off DEBUG by default now.
1996-09-07 20:26:09 +00:00
thorpej
26ecf6820b
Use the stock ld(1) and the srec program to generate the serial line
...
bootstrap program.
1996-09-07 19:23:03 +00:00
thorpej
a27c9a94f5
Add a public domain S-record generator.
1996-09-07 19:21:32 +00:00
mycroft
d3cf361da8
Oops. [bc]dev_lkm_dummy() doesn't take any arguments.
1996-09-07 18:39:30 +00:00
mycroft
a0ff652bcf
Definitions for poll(2). Prototype it here.
1996-09-07 17:42:49 +00:00
mycroft
826fb76b6f
Regen.
1996-09-07 14:24:17 +00:00
mycroft
1449e67e30
Modify poll(2) prototype.
1996-09-07 14:20:09 +00:00
mycroft
07d2eae876
Regen.
1996-09-07 14:18:04 +00:00
mycroft
cdd2b02b50
Modify poll(2) prototype.
1996-09-07 14:16:42 +00:00
mycroft
c9663d2cad
Regen.
1996-09-07 13:24:34 +00:00
mycroft
17b9974c5a
Implement poll(2).
1996-09-07 13:23:39 +00:00
mycroft
cb488ac22a
Definition of pollfd is no longer needed.
1996-09-07 13:02:43 +00:00
mycroft
f51fa207ba
Regen.
1996-09-07 13:01:41 +00:00
mycroft
4a60463da8
This is no longer needed.
1996-09-07 13:01:29 +00:00
mycroft
264dd4757c
Regen.
1996-09-07 12:56:49 +00:00
mycroft
2bc736661a
Implement poll(2).
1996-09-07 12:40:22 +00:00
mycroft
67417a473a
Use bus.h.
1996-09-07 12:12:18 +00:00
thorpej
e0775c12c8
Don't `config-dependent' machdep.c; we already depend on the Makefile,
...
which accomplishes the same thing.
1996-09-07 06:52:21 +00:00
mycroft
261a7626ca
Oops. Copy out the right number of command bytes.
1996-09-07 04:59:06 +00:00
mrg
e27343e07d
fix a couple of minor nits after discussions with jason.
1996-09-07 04:55:16 +00:00
mhitch
b7ef581afb
The MAXINE serial console is on scc0 (the only SCC on the MAXINE) instead
...
of scc1. Fix the check of which scc to initialize the console serial line
so that the MAXINE serial console will work.
1996-09-07 01:25:37 +00:00
mhitch
3686def7f7
Add parenthesis to correct a check for current SII state, so that a forced
...
disconnect will be done (it would never have been done with the old code).
1996-09-07 01:19:45 +00:00
thorpej
f6a91a9c52
Regen.
1996-09-06 18:01:37 +00:00
thorpej
ea052e2547
Add the ETI NE3300 Ethernet card to the list of known EISA devices.
...
From Andrew Gillham <gillhaa@ghost.whirlpool.com>.
1996-09-06 18:01:07 +00:00
jonathan
ac5bac38be
* This driver initialized mfb devices to black-on-black. If being used
...
as a console, initalize as white-on-black so console messages are legible.
(Sean Davidson reports that rcons still messes up the display, perhaps
due to using the wrong pixel depth).
1996-09-06 07:01:06 +00:00
mrg
ae47956db0
add packet filter interface code. see pfil(9) for more details. you
...
need the PACKET_FILTER option to enable this code. currently, ipfilter
version 3.1.1-beta has been converted to use this new interface.
1996-09-06 05:07:43 +00:00
mycroft
94bfaac456
Wrap the definitions of CONADDR and CONUNIT in #ifndef.
1996-09-06 05:06:01 +00:00
cgd
e6e14683fe
note that the AlphaStation 500 works (with the same caveats as the
...
AlphaStation 600).
1996-09-06 04:01:37 +00:00
perry
94a217e163
Commit PR 2671, which adds an "IPNOPRIVPORTS" config option that turns
...
off the code that normally only allows root to bind low TCP
ports. Useful on firewalls and such.
1996-09-05 18:10:03 +00:00
mycroft
82f0b829e8
compoll() -> comsoft()
1996-09-05 16:42:32 +00:00
mycroft
fc3def4096
Remove duplicate declarations of LKM functions and macros.
1996-09-05 15:46:22 +00:00
mycroft
8427290044
wtpoll() -> wtsoft()
1996-09-05 15:37:18 +00:00
mycroft
110ee78a6f
Remove cyselect().
1996-09-05 15:35:09 +00:00
mycroft
59f71c45fc
Clean up sys_select() slightly.
1996-09-05 15:32:52 +00:00
mycroft
af113f915d
Use SET(), CLR(), ISSET().
1996-09-05 15:31:40 +00:00
thorpej
fa0e4a3082
Make the SPARC kernel compile again after recent tty cdevsw changes.
1996-09-05 09:32:47 +00:00
thorpej
2c02b8ec56
Remove some unused variables.
1996-09-05 09:26:14 +00:00
thorpej
d1384a9b2a
Don't include the FDDI drivers in the install kernels. It's highly
...
unlikely that these will be needed in an install situation, and
we need the space.
1996-09-04 07:35:07 +00:00
thorpej
f60341a382
Store the SCSI version in the scsi_link, and set the LUN in the CDB
...
if the version is <= SCSI-2. This should help some older SCSI
devices that previously needed the "NOLUNS" quirk. While this is
not strictly necessary on SCSI-2 devices, the spec allows it,
so we set it for SCSI-2 devices "just in case". See section 7.2.2 of
Draft X3T9.2 Rev 10L for details.
1996-09-03 18:20:31 +00:00
mycroft
e9e01a4d00
Regen.
1996-09-03 03:19:46 +00:00
mycroft
5de9f548a2
Give every emulation its own Makefile for the syscall table.
1996-09-03 03:18:04 +00:00
mycroft
a8fd25767d
Define execv() and execve() consistently across emulations.
...
Do path name translation.
1996-09-03 03:12:17 +00:00
mycroft
65605b0484
Fix bogus offset calculation in ibcs2_sys_read(), per PR 1804.
1996-09-03 02:44:14 +00:00
mycroft
086bf59214
Remove gratuitous insn.
1996-09-03 02:07:34 +00:00
mycroft
aeda55543b
Splice in Ignatios' bus error detection code.
1996-09-03 02:07:02 +00:00
mhitch
704caddf5f
Fix several errors when setting a color map entry for the maxine display.
...
1. Start at the specified entry instead of entry 0.
2. Use the blue value instead of the green when setting the blue color entry.
3. Don't use the starting index again for storing the saved entry - the cmap
pointer was previously initialized using the starting index. This fixes
a hard hang on the maxine when console output is done after calls to
set the color map (usually by the X server).
1996-09-02 17:35:52 +00:00
is
905db38340
Add IP multicast support as per RFC 1122 section 3.3.7 to ARCnet.
...
"The mapping of IP Class D addresses to local addresses is
currently specified for the following types of networks:
[...]
o Any network that supports broadcast but not multicast,
addressing: all IP Class D addresses map to the local
broadcast address."
1996-09-02 17:28:22 +00:00
mycroft
42f3427158
+cs8 -istrip -parenb
1996-09-02 16:27:52 +00:00
mycroft
0a59726320
Fix obvious typo.
1996-09-02 12:42:11 +00:00
mycroft
b3eac79b64
tty stop functions really should return void, not int, and certainly not both.
1996-09-02 06:43:16 +00:00
mycroft
125a8c5ce5
Add a set of generic file system operations that most file systems use.
...
Also, fix some time stamp bogosities.
1996-09-01 23:57:15 +00:00
mycroft
e1ea13d92a
Fix typo.
1996-09-01 23:54:53 +00:00
mycroft
c52352c819
Add a set of generic file system operations that most file systems use.
...
Also, fix some time stamp bogosities.
1996-09-01 23:47:48 +00:00
christos
da17295d91
Calling shmdt(2) before calling shmat(2) would crash the system because
...
p->p_vmspace->vm_shm would be NULL. Protected the rest of the cases where
that might happen too. This was the reason why sunxdoom would panic the
system in SVR4 emulation.
1996-09-01 22:53:06 +00:00
mycroft
664a66d009
Add mmap method for audio devices.
...
XXX This is just a placeholder to avoid updating conf.h again.
Also, clean up some error values.
1996-09-01 21:33:43 +00:00
mycroft
c53e1e6267
Add mmap method for audio devices.
1996-09-01 21:32:24 +00:00
mycroft
de1c962824
Don't core dump if ruid != euid or rgid != egid.
1996-09-01 01:56:10 +00:00
mycroft
80110252d0
Minor changes.
1996-09-01 00:54:34 +00:00
mycroft
91665cb6ef
General cleanup, like other drivers.
1996-09-01 00:49:48 +00:00
mycroft
70944d2e2c
Minor changes.
1996-09-01 00:20:20 +00:00
mycroft
e8b5bd5b35
Update.
1996-09-01 00:10:55 +00:00
mycroft
0c0b33c781
General cleanup, like other drivers.
1996-09-01 00:09:30 +00:00
mycroft
30a617c634
Wrap the default definition of S' in
.ifndef'.
1996-08-31 21:40:47 +00:00
mycroft
42c80a3779
Oops. Add patterns for PCI BusLogic cards.
1996-08-31 20:43:53 +00:00
mycroft
06349d0f45
Update for BusLogic and UltraStor changes.
1996-08-31 20:39:14 +00:00
mycroft
a561952cf9
Add generic bha and uha code.
1996-08-31 20:27:55 +00:00
mycroft
44bb2d98e1
Split the UltraStor driver apart.
1996-08-31 20:26:48 +00:00
mycroft
06fdef11fd
Split the BusLogic driver apart, and rename it to `bha (like BSDi).
1996-08-31 20:18:24 +00:00
mycroft
0947abc4ec
Oops; fix typo.
1996-08-31 05:10:03 +00:00
christos
e32eb9631f
regen syscall tables
1996-08-30 23:08:21 +00:00
christos
0c1a0303ec
add obsolete stime(2)
1996-08-30 23:07:49 +00:00
christos
f8dddb3afe
add: I_FDINSERT, _I_BIND_RSVD, _I_RELE_RSVD, SI_SHUTDOWN
...
this fixes programs that use listen(2) and accept(2), and
makes unix domain sockets work both in tcp and udp.
1996-08-30 23:06:24 +00:00
mycroft
fbfd18b011
Make sure b_resid is always set before biodone().
1996-08-30 19:59:07 +00:00
thorpej
0794023752
RCS id police.
1996-08-30 17:43:56 +00:00
mycroft
ecde95b64d
clock >= tty | net | bio
1996-08-30 15:39:31 +00:00
jtk
f6fa8f12a6
change to use consistent APM_ constant names
1996-08-30 02:37:04 +00:00
jtk
f613796771
make all constants use APM_ prefix, and some other minor cleanup so that
...
this can be the sole APM include file
1996-08-30 02:36:00 +00:00
jtk
dbeeead15d
clean up includes and uses of constants so that we use one include file,
...
<i386/include/apmvar.h>
remove some files we don't need anymore
1996-08-30 02:32:13 +00:00
thorpej
164af20154
Add a missing "int" in a function declaration.
1996-08-30 01:40:35 +00:00
thorpej
9fd32a826d
Fix name conflict with boot() prototype in <sys/reboot.h>
1996-08-30 01:34:01 +00:00
mark
97c857ef9c
Initial commit of the prom interface code for VLSI RC7500 motherboards.
1996-08-29 22:35:41 +00:00
mark
bda575c253
Removed stub code for copystr(), copyinstr() and copyout() now that
...
optimised assembly versions are in place.
Added support for mounting an NFS filesystem as the root filesystem even
for generic configs.
Don't hardcode the number of spl levels use the define in psl.h
1996-08-29 22:33:24 +00:00
mark
64860a1d74
Print the instruction word for undefined instructions.
1996-08-29 22:25:26 +00:00
mark
7568e05e32
Added machine command for reporting panic related information.
...
Trap undefined instructions that are used for breakpoints for all
processors modes. If the mode was USR32 then post a SIGTRAP signal.
1996-08-29 22:23:45 +00:00
mark
2fb1f405f7
Added a new machine function to report information following a panic
...
e.g. panic string, message buffer etc. This is to aid debugging panics
following a panic while X was running as X will swallow all the panic
text.
1996-08-29 22:21:06 +00:00
mark
75a39e190b
Replaced the generic copystr() and copystrinout() functions with
...
optimised copystr(), copyinstr() and copyout() functions.
This removes the need for the copy{in,out}() stub code in stub.c
1996-08-29 22:18:09 +00:00
mark
8b3ff9c94f
Added support for NFS root and swap.
...
Define argdev here.
Fixed the interpreting of the root and swap devices passed from the
boot loader.
1996-08-29 22:08:58 +00:00
mark
468b7ec21b
Define swapdev here as all the other ports do.
1996-08-29 22:05:50 +00:00
mark
2c16eec75d
Removed declarations of swapdev and argdev. These are now defined
...
elsewhere.
1996-08-29 22:03:53 +00:00
cgd
a84c80e23c
regen for new pcidevs
1996-08-29 21:36:01 +00:00
cgd
d29b00b3c3
add entry for the IBM 82351 PCI-PCI Bridge
1996-08-29 21:34:22 +00:00
pk
686dd328c0
Faster checksumming, contributed by Zubin Dittia.
1996-08-29 20:14:49 +00:00
thorpej
c4366945e5
Quiet the ahc driver down a bit by only enabling some of less useful
...
messages #if defined(DEBUG) in the NetBSD case.
1996-08-28 23:39:40 +00:00
thorpej
33dec3a69a
Correct a comment.
1996-08-28 23:02:22 +00:00
thorpej
1a5971cc12
Renate this file; I guess I should have taken a vote :-)
1996-08-28 23:00:46 +00:00
cgd
71ad30d0e9
(1) set scsi_link channel to either the appropriate channel (if a
...
multi-channel driver), or to SCSI_CHANNEL_ONLY_ONE if a
single-channel driver.
(2) use scsiprint() rather than a locally-defined autoconfig print
function, and kill any locally-defined print function.
1996-08-28 18:59:15 +00:00
cgd
4d62c94345
add a space i forgot, for prettiness
1996-08-28 18:51:53 +00:00
cgd
11ec3588ad
(1) add a 'channel' field to scsi_link.
...
(2) in scsibusmatch, match channel as appropriate.
(3) add a scsiprint() function, to do the "scsibus at..."
and channel (if not SCSI_CHANNEL_ONLY_ONE) printing,
i.e. the common functionality that all SCSI drivers currently
should be doing.
1996-08-28 18:47:51 +00:00
cgd
0f3dafde2e
add an optional 'channel' keyword to the 'scsi' interface attribute
...
(defaults to -1, a.k.a. SCSI_CHANNEL_UNKNOWN).
1996-08-28 18:44:53 +00:00
cgd
a4bb0a41da
define PDQ_ASSERT directly in terms of __assert, because cpp doesn't seem
...
to do:
#define foo(x) ...
#define bar foo
like we'd like it to.
1996-08-28 16:01:29 +00:00
thorpej
4deb6e56b8
Kernel configuration for "NetBSD1", NetBSD.ORG's new mail server.
...
(This would be a good reference kernel for others setting up network
server systems...)
1996-08-28 07:17:58 +00:00
mrg
f4bfba2364
add compat svr4 and sunos modules. the sunos module will not work
...
very well due to places in the kernel using COMPAT_SUNOS (this may
also be true for svr4).
1996-08-28 06:17:23 +00:00
jonathan
703e546127
Add mrg's "options COMPAT_12" back into the trunk.
1996-08-28 05:50:59 +00:00
jonathan
18db5ea067
* Rename miniroot GENERIC kernel to GENERIC
...
* Add changes needed/used to build 1.2 GENERIC kernel:
* Delete obsolete and ambiguous DS5000 option.
* Add CPU_R3000 which is now required to compile in mips1 locore support.
* Add an explicit declaration of HZ.
* back out COMPAT_12 for this revision.
1996-08-28 05:49:35 +00:00
mrg
358f853f46
re-order to allow NBPG/PGSHIFT/PGOFSET to work always.
1996-08-28 03:01:27 +00:00
explorer
97227d64b3
find ../sys relative to src dir, not obj dir
1996-08-27 23:42:01 +00:00
cgd
2a73ef60b7
change cfprint_t type definition to take a const char *, rather than
...
a char *, because that's what was really intended, and because
if the print function modifies the string, various things could become
unhappy (so the string should _not_ be modified).
1996-08-27 21:53:46 +00:00
thorpej
db75d73b4c
sbappend() -> sbappendrecord(); fixes SNAP encapsulation on NATM sockets.
...
From Matthias Drochner <drochner@zelux6.zel.kfa-juelich.de>.
1996-08-27 21:45:21 +00:00
explorer
576f04f8b1
Clean up some unneeded Makefile variables
1996-08-27 21:44:32 +00:00
thorpej
dbe7ffa007
Add support for AAL5 datagram sockets.
...
From Matthias Drochner <drochner@zelux6.zel.kfa-juelich.de>.
1996-08-27 21:37:29 +00:00
cgd
f8ed933394
implement realloc(), just like the user-land version, except it takes
...
"type" and "flags" arguments a la kernel malloc().
1996-08-27 20:01:42 +00:00
cgd
2c47809239
include <sys/systm.h> for printf prototype
1996-08-27 16:28:08 +00:00
cgd
00209d1db1
remove include of <sys/types.h> (it's implied by including
...
<sys/param.h>, and historically has been), and add include of
<sys/systm.h> for prototypes.
1996-08-27 16:24:18 +00:00
jonathan
73a5d45710
* Add initialization of colourmap array when using mfb as a console.
...
* Add interrupt handler for 3MIN, where we cannot disable TC slot interrupts.
* Change mfbinit() signature to match other (pmax) TC framebuffer init
routines.
* TODO after 1.2: add {cfb,mbf,sfb}var.h. Declare init functions there.
1996-08-27 02:32:48 +00:00
cgd
de2285c4d2
#undef assert before defining it, so the new libkern definition doesn't
...
conflict with this one.
1996-08-27 01:00:00 +00:00
cgd
5c7192b20c
Including user-land headers in kernel code is not allowed in NetBSD.
...
Therefore:
(1) define offsetof here, and
(2) implement assertion checking in terms of the libkern
assertion-checking macros.
1996-08-27 00:51:29 +00:00
cgd
bdbfa48c0b
Add machine-independent assertion-checking support. macros are:
...
assert() which always does assertion checking
unless "NDEBUG" is defined.
KASSERT() which does assertion checking if DIAGNOSTIC
is defined.
KDASSERT() which does assertion checking if DEBUG is
define. This macro exists for compatibility
with existing ports' assertion checking macros.
(Assertion checking is not typically an
"expensive" operation, and DIAGNOSTIC should be
used for inexpensive consistency checks.)
1996-08-27 00:44:20 +00:00
cgd
d32f475ed4
regen for new tcdevs
1996-08-26 23:41:46 +00:00
mrg
b8e9f36083
add COMPAT_12.
1996-08-26 23:39:36 +00:00
cgd
3076d34c84
add entries for DGLTA-FA and OTTO ATM boards, alphabetize and clean up
...
other entries.
1996-08-26 23:39:34 +00:00
mrg
4daafadec3
add COMPAT_12.
1996-08-26 23:39:21 +00:00
thorpej
07e59e34e8
Regen; syscalls.master changed.
1996-08-26 22:52:17 +00:00
thorpej
b0f977ee6b
Implement sunos_sys_execve(). The previous code simply called
...
sys_execve() without doing an alternate patch check, which was
incorrect. Bug pointed out by Krister Walfridsson <cato@df.lth.se>
on port-sparc@NetBSD.ORG .
1996-08-26 22:49:43 +00:00
cgd
6b5b72905d
regen for new pcidevs
1996-08-26 20:20:02 +00:00