ragge
d30ddfde0f
Change console detection a little bit.
1999-03-27 15:33:46 +00:00
simonb
1a74785d0a
Remove "md" - we have a specific INSTALL kernel, so we don't need "md"
...
on the GENERIC kernel. Pointed out by Erik Fair.
1999-03-27 15:31:50 +00:00
minoura
1dab9bf74a
Work around for broken unzip routine.
...
Transition to egcs seems to have broken the trickily hacked inflate routine.
Disable the hack and size-consuming title image for a while.
1999-03-27 15:01:34 +00:00
mycroft
237c992085
Fix a possible glitch (not mine) in the wired page accounting.
1999-03-27 14:13:42 +00:00
mycroft
15217d40e3
More DIAGNOSTIC checks...
1999-03-27 11:45:07 +00:00
kleink
65dd935211
Typo.
1999-03-27 11:42:12 +00:00
drochner
1663f7072b
remove a diagnostic panic in the keyboard autorepeat timeout() handler.
...
There is a rece condition which might trigger this but is harmless
otherwise. Leave the handler silently instead.
1999-03-27 11:22:23 +00:00
simonb
4436f7ad26
Uncomment ipfilter and rnd, add md.
1999-03-27 11:10:25 +00:00
mycroft
a1784400cd
GC PT_Us, add more DIAGNOSTIC checks.
1999-03-27 09:41:03 +00:00
ragge
11f0bebf2b
#define was wrong. Some .c should be .s.
1999-03-27 09:33:30 +00:00
ross
5bc91073ce
Bug fix for the bug fix. Be sure to prom_close() in bootxx and boot, but not
...
in netboot, and not in diskclose(), but after trying all kernelnames[].
1999-03-27 09:01:27 +00:00
simonb
28b36b37a5
Remove trailing white-space.
1999-03-27 08:15:29 +00:00
jonb
a72ad718a0
Add rnd pseudo-device to GENERIC, and a few cleanups everywhere.
1999-03-27 08:00:43 +00:00
simonb
25cde9b010
Disable 5100's for now - it doesn't work yet, so we may as save a little
...
bit of space...
1999-03-27 07:40:08 +00:00
simonb
516865d17c
Enable now that "make depend" works properly.
1999-03-27 07:39:06 +00:00
simonb
d44e9483b0
Go back to a Makefile.booters scheme, like most other ports do. No
...
more problems for "make depend" - tested with and without obj dirs.
1999-03-27 07:17:50 +00:00
explorer
02db718d0f
enable pseudo-device rnd on GENERIC-type, and remove EXPERIMENTAL from rest.
1999-03-27 07:11:35 +00:00
scottr
e3efa6ea27
Cleanups from Hauke.
1999-03-27 07:09:30 +00:00
explorer
f644cf78d0
remove EXPERIMENTAL comment, enable /dev/random in GENERIC kernels
1999-03-27 07:04:35 +00:00
abs
e9ea59935c
Make this compile again after mycroft's pmap fixes.
1999-03-27 06:31:31 +00:00
scottr
9506e86204
This file is no longer used by anything.
1999-03-27 06:13:51 +00:00
mycroft
93768384ee
Fix a bug in pmap_collect_pv(), even though nobody currently uses it:
...
When we put a page on the collection list, we must subtract NPVPPG from the
total free count: one for each pv_entry that's free in that page, and one for
each free pv_entry in other pages that we're going to eat by moving the ones
in the page being collected.
1999-03-27 05:57:02 +00:00
briggs
f4647f0ec7
Compile itecnputc if NZSC == 0.
1999-03-27 05:53:05 +00:00
scottr
2822cc5fb0
RCS ID police (missed this earlier)
1999-03-27 05:48:53 +00:00
scottr
5e3349678a
Update from Hauke to resolve some relatively severe performance problems.
1999-03-27 05:45:19 +00:00
briggs
b15dc3ed17
Only handle SIR_SERIAL if NZSC > 0.
1999-03-27 05:21:20 +00:00
briggs
f41bf819c2
Allow this to compile if NZSC is 0.
1999-03-27 05:19:34 +00:00
mycroft
32295b2dac
Further cleanup:
...
pmap_find_pv(), pmap_clean_page() and pmap_remove_all() are only called on
managed pages, after VM initialization. Panic if this invariant is violated.
Also, panic if we try to enter a PT page through pmap_enter(), rather than
silently patching it up.
pmap_initialized is now #ifdef DIAGNOSTIC.
1999-03-27 05:12:21 +00:00
briggs
b056247aa9
Make this compile again--pass access_type just the same as prot.
1999-03-27 05:01:28 +00:00
mycroft
9affa543a5
Oops; forgot to change some pmap_enter() calls.
1999-03-27 03:34:08 +00:00
mhitch
ef619b1714
The ECC handling was broken when the common handling was split out of dec_3max.c
...
and dec_3maxplus.c. The ERRSYN/CHKSYN register contains data, not an address.
Pass the address of the register rather than the contents to dec_mtasic_err()
instead of the register contents so it can read/write the register.
Correctable memory errors won't trap in dec_mtasic_err() anymore.
1999-03-27 03:27:09 +00:00
dbj
2e0fe35095
added kgdb support.
1999-03-27 02:59:41 +00:00
thorpej
b69d0d9e89
Pay attention to "access_type" in pmap_enter().
1999-03-27 02:48:32 +00:00
oster
14de6c2418
Cleanup shutdown code - garbage collect (now) unused shutdownhooks() stuff.
1999-03-27 01:26:37 +00:00
aidan
da1b3a7abf
Added per-addr input/output statistics. Currently just support netatalk
...
and netinet, currently only tested under netinet.
Disabled by default, enabled by compiling the kernel with option
IFA_STATS. Enabling this feature seems to make the ip_output function
take 13% longer than before, which should be OK for people that need
this feature.
1999-03-27 01:24:49 +00:00
wrstuden
df93e67c02
PPS support. Copied off of com.c support, with changes as DCD interupts
...
are only enabled if needed and if ok'd by MD layer.
1999-03-27 01:22:36 +00:00
wrstuden
2adccc50fa
Add pps support. Only enable pps if CLOCAL & !MDMBUF.
1999-03-27 01:21:36 +00:00
wrstuden
8a4ca40c65
Enable pps support, only if CLOCAL set & MDMBUF clear and no clock present.
1999-03-27 01:17:03 +00:00
tron
82f6a3397b
Regen.
1999-03-27 01:15:58 +00:00
tron
5b98b641a8
Add emulation for Linux "getcwd" syscall.
1999-03-27 01:10:56 +00:00
mjacob
e50460f5fa
Oops- if you enable 1080 support, remember to load the f/w
1999-03-27 01:08:59 +00:00
mycroft
12d512bbb7
Oops; vm_offset_t -> vaddr_t.
1999-03-27 00:30:06 +00:00
dbj
9d326d488b
defopt RCONS_2BPP and RCONS_16BPP
...
add support for 16bpp framebuffers as found on color nexten.
1999-03-27 00:07:58 +00:00
mycroft
9c6b797796
Changes for modified pmap_enter() API:
...
* Map the message buffer with access_type = VM_PROT_READ|VM_PROT_WRITE `just
because'.
* Map the file system buffers with access_type = VM_PROT_READ|VM_PROT_WRITE to
avoid possible problems with pagemove().
* Do not use VM_PROT_EXEC with either of the above.
* Map pages for /dev/mem with access_type = prot. Also, DO NOT use
pmap_kenter() for this, as we DO NOT want to lose modification information.
* Map pages in dumpsys() with VM_PROT_READ.
* Map pages in m68k mappedcopyin()/mappedcopyout() and writeback() with
access_type = prot.
* For now, bus_dma*(), pmap_map(), vmapbuf(), and similar functions still use
access_type = 0. This should probably be revisited.
1999-03-26 23:41:25 +00:00
dbj
f1d7b3337a
Disable non functional esp driver and scsi support.
1999-03-26 23:17:53 +00:00
ender
85974131bd
Include uvm/uvm.h instead of uvm/uvm_extern.h because we need the prototype
...
for uvm_unmap() in order to compile a kernel with GRF_COMPAT defined.
Fix provided by Frederick Bruckman <fb@enteract.com> in PR #7237 .
1999-03-26 22:52:15 +00:00
mhitch
91d0eb55ed
More 53c770 stuff: update 53c720/770 register defines and use them in
...
siop2.c. Add wide negotiation and Ultra support. Modify siop.c to match
the siop2.c sync negotiation changes. The CyberStorm MKIII driver now
supports 15 targets. Remove some old table-driven sync rate stuff from
the original Zeus driver.
1999-03-26 22:50:22 +00:00
mjacob
d8aa229a12
roll internal release tag
1999-03-26 22:45:17 +00:00
mjacob
99d46bf762
add isp1080 support and some basic PDB change stuff
1999-03-26 22:39:44 +00:00
scottr
90dbb20db3
Descend into the arch directory.
1999-03-26 22:32:03 +00:00
scottr
7f04a59417
Build in ${MACHINE} if it exists.
1999-03-26 22:31:19 +00:00
scottr
fa41088394
Build iwm
1999-03-26 22:27:59 +00:00
scottr
0a9f099457
IWM floppy disk driver module written by Hauke Fath
1999-03-26 22:25:40 +00:00
ragge
dbc385934b
Buggfixes for VS 4000/VLC. Basic support for VS4000/90 and MV4000/300.
...
From Michael Kukat.
1999-03-26 22:04:07 +00:00
mycroft
e84fe91c51
Take advantage of the new `access_type' for pmap_enter(), and always do R/M
...
emulation of managed pages. This required the following `interesting' changes:
* File system buffers must be entered with an access type of
VM_PROT_READ|VM_PROT_WRITE, so that the pages will be accessible immediately.
Otherwise we would have to teach pagemove() to update the R/M information.
Since they're never eligible for paging, the latter is overkill.
* We must insure that pages allocated before the pmap is completely set up
(that is, pages allocated early by the VM system) are not eligible for R/M
emulation, since the memory needed for this isn't available. We do this by
allocating the pmap's internal memory with uvm_pageboot_alloc(). This also
fixes an absolutely horrible hack where the pmap only worked because page 0
happened to be mapped.
to be mapped.
Also:
* Push the wired page counting into the p->v list maintenance functions. This
avoids code duplication, and fixes some cases where we were confused about
which pages to do it with.
* Fix lots of problems associated with pmap_nightmare() (and rename it to
pmap_vac_me_harder()).
* Since the early pages are no longer considered `managed', just make
pmap_*_pv() panic if !pmap_initialized.
1999-03-26 22:00:24 +00:00
mycroft
31a2536cd0
Add a new `access type' argument to pmap_enter(). This indicates what type of
...
memory access a mapping was caused by. This is passed through from uvm_fault()
and udv_fault(), and in most other cases is 0.
The pmap module may use this to preset R/M information. On MMUs which require
R/M emulation, the implementation may preset the bits and avoid taking another
fault. On MMUs which keep R/M information in hardware, the implementation may
preset its cached bits to speed up the next call to pmap_is_modified() or
pmap_is_referenced().
1999-03-26 21:58:39 +00:00
is
669f51ad27
defopt BB060STUPIDROM.
1999-03-26 21:18:49 +00:00
ross
6ee909b24f
Fix bug found by Bernd "Veego" Ernesti: close the console disk channel.
1999-03-26 20:53:12 +00:00
ragge
c9f75bc587
Didn't reset interrupt flag after reading. From Christopher Sekiya.
1999-03-26 19:35:30 +00:00
leo
f621acf82b
Nuke the pieces of code obsoleted by .../pci/pci_tseng.c
1999-03-26 19:20:42 +00:00
chs
d97d75d81b
add uvmexp.swpgonly and use it to detect out-of-swap conditions.
1999-03-26 17:34:15 +00:00
chs
92045bbba9
add uvmexp.swpgonly and use it to detect out-of-swap conditions.
...
numerous pagedaemon improvements were needed to make this useful:
- don't bother waking up procs waiting for memory if there's none to be had.
- start 4 times as many pageouts as we need free pages.
this should reduce latency in low-memory situations.
- in inactive scanning, if we find dirty swap-backed pages when swap space
is full of non-resident pages, reactivate some number of these to flush
less active pages to the inactive queue so we can consider paging them out.
this replaces the previous scheme of inactivating pages beyond the
inactive target when we failed to free anything during inactive scanning.
- during both active and inactive scanning, free any swap resources from
dirty swap-backed pages if swap space is full. this allows other pages
be paged out into that swap space.
1999-03-26 17:33:30 +00:00
tsubai
6dbdfeab77
include GENERIC.
1999-03-26 16:40:09 +00:00
dbj
82347ce33e
Changes to compile the next68k bootblocks with
...
egcs -Wpointer-arith -Wstrict-prototypes
This closes pr 6653
1999-03-26 15:41:38 +00:00
tsubai
35a4f16a60
``INSTALL'' + USB doesn't work (binutils bug?).
...
So use this instead.
1999-03-26 14:58:22 +00:00
drochner
068cafa92a
In a PC keyboard doesn't accept a "set to scanset 2" command, reset it
...
and ignore the error. Scanset 2 should be the default after reset, so
this allows some broken keyboards to work. (Reset is needed because at
least 1 keyboard locks up if the "set scanset" is attempted.)
1999-03-26 12:39:13 +00:00
proff
85ab19698a
security: test for ip_len < ip_hl <<2 and drop packet accordingly
1999-03-26 08:51:35 +00:00
ender
4533a22d80
NetBSD/mac68k installation kernel config
1999-03-26 08:42:49 +00:00
tsubai
82b3b0209f
In copyin() and copyout(), clear the pcb_onfault variable in the EFAULT
...
case. (pr 7243)
1999-03-26 08:32:15 +00:00
leo
9d7ee0ba80
Fix typo noticed by James Boulton.
1999-03-26 08:24:52 +00:00
leo
6a477596b9
Add more fuzziness to the MDRAM initialisation. Seems to work on a broader
...
range of et6[01]00 cards now.
1999-03-26 08:21:49 +00:00
tsubai
38a92c9752
A successful kernel page fault should just return so that signal delivery
...
et al. should not executed. (pr7240)
1999-03-26 08:15:23 +00:00
pk
06bd52b633
COMPAT_SPARC32 -> COMPAT_NETBSD32
1999-03-26 08:00:38 +00:00
tsubai
bd7d7dd1f4
<mips/db_machdep.h> --> <machine/db_machdep.h>
1999-03-26 07:07:06 +00:00
tsubai
f75ec26a42
Define DB_ELF_SYMBOLS to compile.
...
(currently /boot doesn't preserve symbols.)
1999-03-26 07:03:01 +00:00
mhitch
96eecff795
Add some ATAPI support. My CDROM drive works, but I don't have other devices to
...
test. This should provide interim ATAPI support until the MI wdc driver is used.
1999-03-26 07:00:37 +00:00
dbj
25ea4fb7a7
tweaks to compile with egcs -Werror
...
minor changes to scsi driver register accesses.
1999-03-26 06:54:40 +00:00
mjacob
3cafeadabd
Add support for the PTI SBS430. It's a FAS200 type chip- it's a bit funky
...
in that the registers aren't spread by a longword like all the other SBus/ESP
cards. Otherwise it's much the same. It'll make Brad Salai happy.
1999-03-26 06:48:40 +00:00
simonb
d0e107a1a5
Update copyrights.
1999-03-26 05:23:58 +00:00
dbj
d1bbf5a190
Added support for using wscons as console.
...
Enabled wscons as default console.
Use option SERCONSOLE now to use serial console instead now.
1999-03-26 04:42:59 +00:00
eeh
69d1f9d0d3
COMPAT_SPARC32 -> COMPAT_NETBSD32
1999-03-26 04:29:20 +00:00
dbj
5a7e7178c8
fix polled keyboard support
1999-03-26 04:17:46 +00:00
dbj
0fabf8441f
add KS_bar and KS_backslash to default us keymap.
1999-03-26 04:15:27 +00:00
tsubai
670d76b7ea
Remove ifdef UVM.
1999-03-26 03:40:41 +00:00
simonb
5d23f12467
Don't call f_dev->dv_close if it's a null pointer when an open() call
...
fails.
1999-03-26 03:16:15 +00:00
hubertf
b97ebf9749
Sync some options from GENERIC
1999-03-26 02:48:18 +00:00
hubertf
b3acf3a4e4
s/internally/internal/
1999-03-26 02:46:14 +00:00
simonb
4fefe2cb37
Conditionally set BINMODE and BINDIR so lower level Makefiles can override
...
the location or modes.
Fix up the machine and mips symlink creation.
1999-03-26 02:12:17 +00:00
simonb
461afc9079
Explictly set BINMODE to 555 so that ../Makefile.inc doesn't override it.
1999-03-26 02:07:55 +00:00
thorpej
c647f127c1
Assign initproc in main(), not start_init(). It's conventient to do so.
1999-03-26 01:10:50 +00:00
thorpej
567cda0537
Don't bother allocating mb_map on these systems. Mbuf clusters are
...
allocated from a pool, and the MIPS and Alpha use KSEG to map pool
pages. So, mb_map wasn't actually being used. Saves around 4MB of
kernel virtual address space in a typical configuration.
Garbage-collect the related VM_MBUF_SIZE constant.
1999-03-26 00:15:04 +00:00
thorpej
34f3cd7ce9
Use ETHER_*_LEN constants from <net/if_ether.h> instead of defining them
...
ourselves.
1999-03-25 23:20:22 +00:00
is
d19d45b897
defopt Amiga graphics console options
1999-03-25 23:20:00 +00:00
thorpej
88d8a91205
Use ETHER_*_LEN constants from <net/if_ether.h> instead of defining them
...
ourselves. Fix a bug where packets wouldn't be padded to the correct
minimum length.
1999-03-25 23:19:59 +00:00
is
f333be91dc
defopt Amiga graphics console options
1999-03-25 23:19:58 +00:00
thorpej
9caa955278
Use ETHER_*_LEN constants from <net/if_ether.h> instead of defining them
...
ourselves. Subtract ETHER_CRC_LEN as necessary to get the same values
for these constants as were previously defined locally.
1999-03-25 23:19:16 +00:00
thorpej
ad22c1dd58
Use ETHER_*_LEN constants from <net/if_ether.h> instead of defining them
...
ourselves.
1999-03-25 23:16:37 +00:00
is
c7ad403020
Forgot A2024
1999-03-25 23:16:14 +00:00
thorpej
587eda7c3f
Use ETHER_*_LEN constants from <net/if_ether.h> instead of defining them
...
ourselves.
1999-03-25 23:11:51 +00:00
thorpej
0193701fcd
Use ETHER_*_LEN constants from <net/if_ether.h> instead of defining them
...
ourselves. Subtract ETHER_CRC_LEN as necessary to get the same values
for these constants as were previously defined locally.
1999-03-25 23:10:53 +00:00
thorpej
962833e128
Use ETHER_*_LEN constants from <net/if_ether.h> instead of defining them
...
ourselves.
1999-03-25 23:10:13 +00:00
thorpej
9da505740a
Define several constants related to the Ethernet protocol:
...
- ETHER_ADDR_LEN: length of Ethernet address (actually, we already defined
this).
- ETHER_TYPE_LEN: length of the Ethernet header `type' field.
- ETHER_CRC_LEN: length of the Ethernet CRC (explorer got this already, mostly
because I forgot to commit these changes earlier).
- ETHER_HDR_LEN: total length of the Ethernet header
- ETHER_MAX_LEN: maximum length of an Ethernet frame, including header and CRC
- ETHER_MIN_LEN: minimum length of an Ethernet frame, including header and CRC
Define ETHERMTU and ETHERMIN (payload sizes) in terms of the above constants.
1999-03-25 23:08:28 +00:00
perseant
fbc5e63cd6
Make sysctl variable lfs_clean_vnhead do what it was supposed to do,
...
namely, toggle whether vnodes loaded only for cleaning (as opposed to
normal filesystem use) are freed to the *head* of the vnode free list,
rather than the tail. This should avoid a possible cache flushing
effect, if the cleaner cleans a segment containing a large number of
live inodes.
1999-03-25 22:38:28 +00:00
perseant
cffa290130
Since dirop vnodes can't be flushed, they hold a reference until their
...
dirop is completely written to disk. This means that ordinary calls to
ufs vnops which would ordinarily call VOP_INACTIVE through vrele/vput,
don't. This patch detects that condition after such vnops have been
run, and calls VOP_INACTIVE if it would ordinarily have been called by
the ufs call.
1999-03-25 22:33:03 +00:00
perseant
a3748f1cc7
Fixes to make dirops and lfs_vflush play together well. In particular,
...
if we are short on vnodes, lfs_vflush from another process can grab a
vnode that lfs_markv has already processed but not yet written; but
lfs_markv holds the seglock. When lfs_vflush gets around to writing it,
the context for copyin is gone. So, now lfs_markv calls copyin itself,
rather than having lfs_writeseg do it.
1999-03-25 22:26:52 +00:00
pk
3eab58ceec
UVM no longer an option.
1999-03-25 22:21:09 +00:00
pk
422c4dbb41
Put back <uvm/uvm.h>
1999-03-25 22:13:40 +00:00
perseant
6b51bdc17c
Lock buffers with B_BUSY between data checksum calculation and write, so
...
some other process doesn't change the data after it was checksummed.
1999-03-25 22:02:36 +00:00
is
b30a4d19c0
Defopting grf_cc configuration parameters
1999-03-25 21:55:17 +00:00
perseant
1cacaa295f
Change lfs_sb_cksum to use offsetof() instead of an inlined version.
...
Fix lfs_vref/lfs_vunredf to ignore VXLOCKed vnodes that are also being
flushed.
Improve the debugging messages somewhat.
1999-03-25 21:54:10 +00:00
perseant
e6ef2d67dd
clean up unused/required #ifdefs
1999-03-25 21:39:18 +00:00
simonb
1132034fe8
If the clock speed is less than 15MHz, we're on a 2100, otherwise a 3100.
1999-03-25 19:55:37 +00:00
mjacob
d3fb0e2ad5
roll internal tag level
1999-03-25 19:41:47 +00:00
mrg
a0139bc39d
remove now >1 year old pre-release message.
1999-03-25 18:48:49 +00:00
mrg
54ab2e1e54
clean and up make compile
1999-03-25 17:49:43 +00:00
perry
b476609d5f
fix typo
1999-03-25 17:06:38 +00:00
mrg
c3b0d25b27
SPARC32->NETBSD32
1999-03-25 16:58:39 +00:00
mrg
8df6f0c629
regen
1999-03-25 16:32:27 +00:00
mrg
6f5ceb781e
include the MD header.
1999-03-25 16:27:56 +00:00
mrg
dc011bcec0
move sparc32 MD bits here.
1999-03-25 16:26:19 +00:00
mrg
a5867d9385
move sparc32 to netbsd32; split out MD part (signal handling) (mostly via repository copy, rename and perl -pi :-)
1999-03-25 16:22:49 +00:00
bouyer
1ff88ee466
Avoid busy-waiting when possible if we are not polling (real IRQ or timeout
...
callback). Shared PCI IRQ should now work (but still untested).
1999-03-25 16:17:36 +00:00
bouyer
d907e1f61e
First pass at support of Compaq NetFlex 3/P PCI: this one has
...
IO and Mem base address register inverted.
Still need some MII hack to get it fully fonctionnal.
1999-03-25 16:15:00 +00:00
mrg
8f32e2fbc8
regen
1999-03-25 15:51:50 +00:00
mrg
7f7d23b4a6
formatting nits
1999-03-25 15:34:37 +00:00
mrg
ad412a0e07
make this match the main syscalls.master a bit better.
1999-03-25 15:33:48 +00:00
bouyer
e045fbf363
We must handle MNT_NODEV at open time, so add an open op for null and union,
...
and do proper checks in union_open(). Fix to nullfs from OpenBSD, extended
to umap and union by me.
1999-03-25 13:05:41 +00:00
simonb
e432668f46
callvec.c moved in stand again...
1999-03-25 12:56:18 +00:00
simonb
aff677bcae
Updates for new bootblocks.
1999-03-25 12:24:56 +00:00
simonb
5010ae76c0
Remove old (not-enabled) local support for loading kernels.
1999-03-25 12:16:04 +00:00
simonb
b295b577e1
Second stage bootblocks based on original single stage blocks.
1999-03-25 12:11:41 +00:00
simonb
2dde1643c2
Makefile for /boot.
1999-03-25 12:10:12 +00:00
simonb
7c060ce391
Version info for bootblocks.
1999-03-25 11:57:41 +00:00
simonb
26098f27a2
Emtpy twiddle() to save space in stage 1 bootblocks
1999-03-25 05:28:36 +00:00
simonb
b9b7830d05
Unused now.
1999-03-25 05:27:00 +00:00
explorer
f388d47b3b
put RCS ids in the right place. And yes, this is a SYNC ppp interface,
...
used for high-speed (T1, HSSI, DS3) interfaces.
1999-03-25 05:25:42 +00:00
simonb
1e80ec96a0
Only include the dec disklabel at the start of BOOTXX is defined.
1999-03-25 05:23:48 +00:00
simonb
fb11e9e236
Remove unused debugging code, and clean up an error message.
1999-03-25 05:22:44 +00:00
simonb
f490a639c9
Not needed at the moment - may be resurrected when netboot comes along.
1999-03-25 05:19:44 +00:00
simonb
a160a47e1b
Fix header botch in previous.
1999-03-25 05:17:49 +00:00
simonb
e213504efd
Call main instead of _main.
1999-03-25 05:17:27 +00:00
simonb
c80fb4ccb8
Change from loading an a.out kernel to an ELF /boot.
1999-03-25 05:16:06 +00:00
simonb
0e44e536a0
Include <machine/stdarg.h> and not <stdarg.h> - found by adding
...
-nostdinc to CPPFLAGS.
1999-03-25 05:13:15 +00:00
sommerfe
342750cf1c
Move MNT_NODEVMTIME so it no longer duplicates the value of MNT_EXPUBLIC.
...
Add #defines for the four unused flag bits to make this sort of error less
likely in the future
1999-03-25 05:06:32 +00:00
sommerfe
ef07055d58
Disallow tracing of processes unless tracer's root directory is at or
...
above tracee's root directory.
1999-03-25 04:45:56 +00:00
explorer
eb94e6147c
define ETHER_CRC_LEN, for if_vr.c
1999-03-25 04:45:37 +00:00
simonb
7607cac7b3
CVS repository copy to bootxx.c
1999-03-25 04:42:06 +00:00
simonb
70bc63765d
CVS repositary copied to ../scsiboot. These are small routines and/or
...
PROM callbacks used only by the first-stage disk bootblocks. Other
bootloaders use libsa/libkern.
1999-03-25 04:34:03 +00:00
sommerfe
280a842850
commit fix to PR7072: emulate linux non-blocking connect behavior more correctly
1999-03-25 04:26:45 +00:00
simonb
ec6b2370d9
CVS repositary copied to ../lib.
1999-03-25 04:22:04 +00:00
simonb
e6469a71aa
Makefile* of pmax specific SA library - based on i386/stand/lib Makefile.
1999-03-25 04:16:15 +00:00
simonb
88eed19213
Oops, forgot RCS header and copyright.
1999-03-25 04:14:03 +00:00
explorer
6b9af88b99
wrap kernel bits in shared kernel/userland files
1999-03-25 04:09:33 +00:00
simonb
50e9ee5706
Assembly routine that takes an entry point, new stack pointer address
...
and six extra arguments. Sets up the stack pointer with the arguments
in the right registers/stack positions and calls the entry point.
1999-03-25 04:08:59 +00:00
sommerfe
e94a23c0ef
Fix crash reported in PR7116 on shutdown
1999-03-25 04:07:33 +00:00
simonb
c7c8021a29
Basic putchar() implentation in terms of the PROM's printf() callback.
...
Not really effecient, but there isn't that much printf'ing down by SA
programs and we can use the libsa printf() so things like "%ld" work.
1999-03-25 04:02:57 +00:00
simonb
0f203c7d99
Use "make ... echo ${MACHINE}" to get the machine name so
...
that this script is MI. Just need to find the right place
for it now - suggestions welcome...
1999-03-25 03:56:00 +00:00
explorer
7bfd643eab
install if_lmc*.h
1999-03-25 03:54:43 +00:00
simonb
246f0aacde
Copy of sys/arch/sparc/common/newvers.sh.
1999-03-25 03:52:12 +00:00
simonb
c06d325aaa
Copy of sys/arch/i386/lib/loadfile.h with tweaks for the pmax.
1999-03-25 03:41:58 +00:00
explorer
91a9d315ba
port FreeBSD's serial ppp layer to NetBSD. The PPP part seems broken still,
...
but the lmc driver uses the HDLC bits from here anyway.
1999-03-25 03:39:11 +00:00
simonb
6c24c1c864
When loading an a.out kernel and keeping the exec header, if it's OMAGIC
...
put the exec header below kernel text.
1999-03-25 03:38:53 +00:00
explorer
2a91ea8a57
port FreeBSD's serial ppp layer to NetBSD. The PPP part seems broken still,
...
but the lmc driver uses the HDLC bits from here anyway.
1999-03-25 03:38:00 +00:00
simonb
4ba6c44ef4
s/BOOTINFO_MAXSIZE/BOOTINFO_SIZE/
1999-03-25 03:35:39 +00:00
explorer
bdf33ae1f0
add entry for lmc* at pci?
1999-03-25 03:35:26 +00:00
simonb
afc2e41e04
Change multiple spaces to tabs.
1999-03-25 03:34:28 +00:00
simonb
be62523806
Remove trailing whitespace.
1999-03-25 03:33:58 +00:00
explorer
0c2f5ada28
Commit files for the LAN Media Corporation high speed serial/HSSI/DS3 driver
1999-03-25 03:32:43 +00:00
explorer
960c283a65
Add LAN Media Corporation info
1999-03-25 03:28:17 +00:00
simonb
674c1ff8f1
Check KN03_INTR_PROD_JUMPER in the IOASIC INTR register to test if we
...
are running on a 5000/2x0 or a 5900, and set cpu_model accordingly.
(Test from Tohru Nishimura).
1999-03-25 03:03:59 +00:00
simonb
3a2b42eeca
Add KN03_INTR_PROD_JUMPER (from Tohru Nishimura).
1999-03-25 03:00:18 +00:00
nathanw
e8b935d003
Garbage collect a non-useful variable in getcwd_scandir().
1999-03-25 02:32:18 +00:00
perry
ea0f7990a8
add a (commented out) BROKEN_LPT_DELAY
1999-03-25 02:22:21 +00:00
perry
8ade3b61ba
Add two #ifdef BROKEN_LPT_DELAY's in to the central write byte
...
& strobe cycle. These bracket DELAY()'s of BROKEN_LPT_DELAY
microseconds. This can be used to kludge around mysterious hangs and
reboots some users experience. The cause of these failures is still
not known, but is conjectured to be hardware bug originated failures
in the bus cycle.
1999-03-25 02:17:38 +00:00
simonb
03ca5d05cf
Remove trailing whitespace.
1999-03-25 01:17:51 +00:00
tron
bbee1b42b1
Make it possible to set MTU via "ifconfig" at run time. "SLMTU" is now
...
used to set the initial value.
1999-03-25 00:52:14 +00:00
explorer
77597ecd3e
Start commit of Lan Media Corp T1/HSSI/DS3 driver
1999-03-25 00:51:53 +00:00
mrg
7b93dd1117
remove opt_uvm.h
1999-03-25 00:41:46 +00:00
sommerfe
f1a508e354
Prevent deadlock cited in PR4629 from crashing the system. (copyout
...
and system call now just return EFAULT). A complete fix will
presumably have to wait for UBC and/or for vnode locking protocols to
be revamped to allow use of shared locks.
1999-03-25 00:20:35 +00:00
simonb
50897b84e0
Direct copy of sys/arch/i386/stand/lib/loadfile.c.
...
XXX: This should probably be MI in sys/lib/libsa. After 1.4...
1999-03-24 23:51:26 +00:00
dbj
4717d3e130
fix typo allocating color framebuffer map.
1999-03-24 23:47:46 +00:00
simonb
b4848d6b90
Code to initialise and add bootinfo records.
1999-03-24 23:47:37 +00:00
dbj
a859ba2b23
Applied patches from Matt Debergalis <deberg@mit.edu>.
...
These patches include:
Added framebuffer mapping for color framebuffer to support color wscons
which is coming soon.
Renamed wskbdmap_mfii[ch] to wskbdmap_next[ch]
Changed video to be white on black instead of black on white.
Now handles and discards mouse interrupts.
Video and keyboard is now working on mono machines.
1999-03-24 23:15:51 +00:00
ender
235abbff06
Garbage collect a bit of old VM missed by the initial pass.
...
Fix supplied by Dave Huang <khym@bga.com> in PR #7226 .
1999-03-24 22:28:49 +00:00
is
35bbdd4cd2
AGA: VGAonly timing (GRF_AGA_VGA), by Adam Ciarcinski
1999-03-24 22:24:42 +00:00
drochner
88a179595a
regdef.h is back
1999-03-24 21:15:17 +00:00
thorpej
01ea9a1dd8
Regen.
1999-03-24 21:07:26 +00:00
thorpej
029f0b9d86
Silicon Integrated Systems OUI and the SiS 900 PHY model number.
1999-03-24 21:07:04 +00:00
augustss
0ed038285c
Remove leftover definition of AUDIO_DEBUG.
1999-03-24 20:59:21 +00:00
cgd
fe0bb65b38
in general, it's a good idea to make sure you at least have all of the
...
variables you reference, before you commit something...
1999-03-24 18:47:51 +00:00
minoura
fdd6c4d819
Add function keys mapping.
1999-03-24 14:12:52 +00:00
minoura
b28f2306c9
G/c amiga's key repeat handler.
1999-03-24 14:11:47 +00:00
minoura
a76b0b1bf5
Shut up gcc -Wall.
1999-03-24 14:07:38 +00:00
minoura
ff8cf815a8
Mach VM removal.
1999-03-24 14:01:50 +00:00
simonb
71bb7683db
Initiailise to bootinfo pointer to NULL. In lookup_bootinfo(), if the
...
bootinfo pointer is NULL, just return instead of trying to make use of it.
1999-03-24 12:59:15 +00:00
tron
732f052e13
Don't include "opt_uvm.h" any more.
1999-03-24 12:41:27 +00:00
tron
4cdff58b76
Don't include "opt_uvm.h" any more.
1999-03-24 12:16:50 +00:00
tron
75377e1815
Don't include "opt_uvm.h" any more.
1999-03-24 11:35:30 +00:00
tron
1eb060a0ba
Remove remaining "ifdef UVM" checks.
1999-03-24 11:23:45 +00:00
tron
e1d80e2d51
Don't include "opt_uvm.h" any more.
1999-03-24 11:21:47 +00:00