thorpej
f6099127b7
DELPHI -- one of my devel machines at Zembu Labs. This is an
...
example of how to configure the PC-Weasel driver into the kernel.
2000-11-05 03:51:14 +00:00
ad
3d193b190b
- Pequr -> Serverworks. It pays to do a cvs update first...
...
- Pay attention only to the low byte of config reg 0x44 on Serverworks chips,
as Linux does.
- Compress duplicatated code.
2000-11-03 17:28:02 +00:00
thorpej
7c2615290b
Add support for MS-DOS file system, but don't enable it by
...
default -- the resulting binary is too large, and thus does
not work.
2000-11-02 01:02:07 +00:00
eeh
8c3f6a0d10
Adapt to new line discipline scheme.
2000-11-02 00:37:56 +00:00
mycroft
9572bf6261
These are incredibly out of date.
2000-11-01 07:58:42 +00:00
fvdl
69e9b0392f
Sync INSTALL with GENERIC and INSTALL_LAPTOP with GENERIC_LAPTOP with
...
regard to wireless network interfaces and pcic iomem size (i.e.
bump iomem to 0x1000 and enable cnw, awi and ray).
2000-10-31 15:54:50 +00:00
lukem
b14a596beb
Add support for booting off RAIDframe RAID1 mirrors. Check the first partition
...
type in biosdiskopen(), and if it is of type FS_RAID, add 64 to d->b_off.
NOTE: installboot(8) still needs some hacking to DTRT, but at least this way
if you can load "/boot" off another partition (e.g, wd0h), then wd0a can be
of type `RAID' with a raidframe mirror at the start and the kernel
will load OK of wd0a, and with raidctl -A root partitions, it will change
root as well.
2000-10-30 07:30:59 +00:00
thorpej
10203d4eca
Change the RNG callout -- don't spin until data is available. If
...
none is available, just wait until the next clock tick.
2000-10-30 00:26:04 +00:00
simonb
bb33bb331d
Fix NRND == 0 case (unused variable).
2000-10-28 13:30:35 +00:00
itojun
5bbd7d495e
fix busy-wait logic against random number register. (missing semicolon)
2000-10-28 04:58:35 +00:00
enami
31ac87f602
Don't use memory map of no entry. Instead, fallback into old way.
...
This fixes one of ``can't find end of memory'' panic on startup.
2000-10-28 02:29:35 +00:00
thorpej
3c01d4cbca
Add support for sampling the random number generator on
...
the 810, 815, 820, and 840 chipsets. From OpenBSD, modified
for NetBSD by me.
2000-10-27 22:49:21 +00:00
thorpej
7f59704e6c
Support the second PCI bus on SeverWorks chipsets. From OpenBSD.
2000-10-27 17:55:18 +00:00
thorpej
2644e830b7
BIOS BUG WORKAROUND! The 82443BX datasheet indicates that the only legal
...
setting for the "Idle/Pipeline DRAM Leadoff Timing (IPLDT)" parameter
(bits 9:8) is 01. Unfortunately, some BIOSs do not set these bits properly.
Based on a hint from OpenBSD.
2000-10-27 17:47:44 +00:00
thorpej
d05f0929dc
We only support Intel PMCs for now, so don't try and read them
...
on non-Intel CPUs.
2000-10-24 22:03:36 +00:00
fvdl
dfcc2820fa
Add rtk at pci, some laptops have it.
...
Add cardbus network cards to INSTALL_LAPTOP (oops, they're largely
the point of INSTALL_LAPTOP..).
From Noriyuki Soda.
2000-10-23 09:31:49 +00:00
ad
15e25fe73f
- ca -> lsu
...
- Hook in twe.
2000-10-19 14:32:20 +00:00
wiz
c374cadf43
Get RELEASEDIR setting from /etc/mk.conf. Fixes misc/11104 by Markus Kurek.
2000-10-15 22:42:49 +00:00
minoura
7bb188de0c
WSCONS_DEFAULT_TYPE is obsolete; use VGA_CONSOLE_SCREENTYPE instead.
2000-10-15 10:08:00 +00:00
hpeyerl
87a8c94ed0
Sanity check the cursor position read from the 6845 and if clearly
...
off-screen, set it to 0x0. From dean@huxley.org .
2000-10-12 22:36:30 +00:00
thorpej
3290ef5fe8
Re-order the TLB operations in pmap_zero_page() and
...
pmap_zero_page_uncached(). This seems to prevent the
lossage with those functions people have seen on Cyrix
CPUs.
2000-10-08 22:59:38 +00:00
thorpej
87a787f7b4
Make sure we use kvtopte() only on kernel addresses. Should
...
fix a panic that occurs when using KGDB repored by Nathan Williams.
2000-10-06 18:37:39 +00:00
abs
2824f4906d
Ensure all INSTALL* kernels have two ptys, and a note explaining why:
...
pseudo-device pty 2 # pseudo-terminals (Sysinst needs two)
(Some installers may not be using sysinst, in which case this just reduces
the number of ptys from 16 that are not used to 2 that are not used)
For i386 conf files, no change other than comments.
2000-10-02 18:43:34 +00:00
fvdl
654c1d3603
Adjust after some comments from Noriyuki Soda:
...
apm was enabled in the wrong file, it's not needed in INSTALL_LAPTOP,
but should be there in GENERIC_LAPTOP.
wss0 at isa irq 10 may cause conflicts on some laptops; remove it.
Despite its name, PCIBIOS_INTR_GUESS is safe option, so enable it.
2000-10-02 12:54:39 +00:00
fvdl
32a995f65b
Oops, remove test leftover setting of REALEXTMEM.
2000-10-02 12:22:53 +00:00
fvdl
09440c52d2
Squeeze some more. Do what it has been advertising all along: no SCSI. Use
...
-Os. Remove NFSSERVER.
2000-10-02 08:12:04 +00:00
fvdl
f47a0f34f9
Squeeze even more by removing some COMPAT_1X options, com* (serial
...
ports aren't supported for installation), MFS, slip and ppp. There
was no room for pppd and slattach on the "tiny" floppies anyway, so
there was nothing to use them.
Add pcic at isa, pcmcia, wdc at pcmcia, and 'wireful' cards @ pcmcia
(ne, ep, mbe, sm). Installing is now possible on a 4M laptop over
ethernet (tested with ep at pcmcia, and 640+3200 available memory).
2000-10-01 16:20:01 +00:00
fvdl
890dedaed3
Set the # of ptys to 2.
2000-09-30 13:25:12 +00:00
fvdl
2e6f523813
Bump CPU_MAXFAMILY to 7.
2000-09-29 14:17:17 +00:00
fvdl
3cb9873a8d
Recognize Pentium 4. Treat everything with model > 6 as model 7 for now,
...
in the hope that Intel doesn't start number backwards now that they
picked 15 for the P4.
2000-09-29 14:16:23 +00:00
fvdl
243ae4806b
oops, typo in previous (|| -> &&)
2000-09-29 13:15:48 +00:00
fvdl
33234ff066
Don't print anything when the serial number is not supported. There are
...
a lot of other features that may not be supported either, no need to
print them.
2000-09-29 13:05:12 +00:00
explorer
62da00b60c
clean up printing when serial number not supported or disabled.
2000-09-29 09:07:53 +00:00
explorer
be5f26e138
print CPU serial number at boot time. After all, we have a million other flags printed, what's one more interesting one.
2000-09-29 09:03:18 +00:00
thorpej
59ef356b35
Reintroduce the ACPI memory map code. The bug that caused the
...
IDT to be scribbled over on some systems was found and fixed by
T.SHIOZAKI <tshiozak@netbsd.org>.
2000-09-28 18:31:36 +00:00
is
f41561e9de
We do wired page accounting. Tell UVM about it.
2000-09-28 13:09:10 +00:00
fvdl
c84826de03
Enable usb devices that may be useful during the install (hubs, keyboard,
...
ethernet, mass storage).
2000-09-27 20:41:35 +00:00
fvdl
3a999fb11f
A GENERIC and INSTALL tailored for laptop usafe (i.e. cardbus and
...
PCIBIOS options included).
2000-09-27 16:57:09 +00:00
fvdl
0619e37229
Reduce ramdisk size to the amount that is really needed for optimal
...
space saving. Reduce number of ptys to 2. Use NFS_V2_ONLY.
2000-09-27 16:54:56 +00:00
fvdl
48b43cdfb9
Remove some less-needed items to save space. Also add NFS_V2_ONLY,
...
to save more space. For installs, NFSv2 will do just fine.
2000-09-27 16:09:18 +00:00
ad
a01a66c525
cac* at eisa? reported as working.
2000-09-26 11:51:14 +00:00
abs
3ef92f0bdb
Use "options<SPACE><TAB>" not "options<TAB>" - noted by simonb.
...
Move VNODE_OP_NOINLINE and NFS_V2_ONLY into '# Filesystem options' section.
Consistently label '# Filesystem options' and '#File systems' sections.
2000-09-25 13:54:50 +00:00
abs
ccf1c822a6
Ensure all INSTALL config files have (at least) COPTS="-Os", cincluding bebox
...
based on it working already for macppc.
Also add commented out:
#options VNODE_OP_NOINLINE # Don't inline vnode op calls
#options NFS_V2_ONLY # Exclude NFS3 and NQNFS code
as suggestions for additional savings
2000-09-25 11:46:37 +00:00
itohy
dd5d3287ec
Use "etext" instead of "_etext" like db_trace.c,
...
which makes it be linked by a.out ld.
2000-09-24 23:46:37 +00:00
itohy
c3202405d5
Support half-duplex mode (use only one DRQ).
...
Fix PR #10308 .
2000-09-24 23:40:12 +00:00
jdolecek
2308091f66
update usage message (new flags -v, -q)
2000-09-24 18:28:18 +00:00
jdolecek
b135d5504a
netbsd_opts.c was removed as part of bootverbose/bootquiet changes
...
Pointed out by Lennart Augustsson in private e-mail.
2000-09-24 18:13:54 +00:00
jdolecek
b1f94e26ab
don't specify number of ptys if >= 16 (current default initial number)
...
pty comments: normalize and g/c what is no longer relevant
2000-09-24 15:59:26 +00:00
jdolecek
5fea96167f
use new generic bootverbose instead of local definition
2000-09-24 12:37:03 +00:00
jdolecek
49c105ffdb
add new macro BOOT_FLAG() (defined in <sys/boot_flag.h>) - this
...
maps standard boot flags to corresponding RB_* values
use BOOT_FLAG() in port's MD code as appropriate
as discussed on tech-kern, add new boot flags -v, -q for booting
verbosely or quietly, and corresponding AB_VERBOSE/AB_QUIET
boot flags; also add FreeBSD-compatible bootverbose macro and
NetBSD-specific bootquiet macro
for hpcmips, use new bootverbose instead of it's own hpcmips_verbose
Tested on i386, and to limited extend (compile of affected files) also for
mvme68k, hp300, luna68k, sun3.
2000-09-24 12:32:31 +00:00
augustss
e9a2baa2ff
Grab a major # for USB scanners.
2000-09-23 04:30:08 +00:00
thorpej
0564259315
Make this a more likely laptop config file.
2000-09-22 00:18:17 +00:00
thorpej
f2e9848f4a
When doing uncached page zeroing, abort if a process becomes
...
runnable before we're finished zeroing the pages.
2000-09-21 21:43:24 +00:00
thorpej
b008f5f25a
Make PMAP_PAGEIDLEZERO() return a boolean value. FALSE indidcates
...
that the page being zero'd was not completed and that page zeroing
should be aborted. This may be used by machine-dependent code doing
slow page access to reduce the latency of running a process that has
become runnable while in the middle of doing a slow page zero.
2000-09-21 17:46:04 +00:00
fvdl
76e330bdb3
Fix typo.
2000-09-20 22:59:44 +00:00
thorpej
bda9ce7990
Enable VM86 -- it's needed for some X servers (notably, S3 Savage,
...
which runs the VESA BIOS in VM86 emulation in order to switch video
modes).
2000-09-20 18:22:22 +00:00
thorpej
dbe9b6987f
Enable VM86 and DUMMY_NOPS.
2000-09-20 18:20:55 +00:00
fvdl
082a77ccfe
Bring the default value of NMBCLUSTERS into the modern age.
2000-09-19 22:21:54 +00:00
enami
ead2ed15cf
Add few more L2 cache info entry.
2000-09-15 03:44:28 +00:00
enami
29027825f3
When fetching cache info:
...
- Don't fall into infinite loop even if the # of iteration necessary isn't 1.
- Don't interpret lower 8bit of AL, which is # of iteration, as a descriptor.
2000-09-15 03:41:18 +00:00
thorpej
3d6272fcdf
Use VNODE_OP_NOINLINE.
2000-09-13 16:26:15 +00:00
thorpej
72a24b4eae
Add an align argument to uvm_map() and some callers of that
...
routine. Works similarly fto pmap_prefer(), but allows callers
to specify a minimum power-of-two alignment of the region.
How we ever got along without this for so long is beyond me.
2000-09-13 15:00:15 +00:00
thorpej
d0b099a9fc
Fetch cache info via `cpuid' insn, parse it, remember it,
...
and report it at boot time.
2000-09-13 08:04:15 +00:00
thorpej
90a2e46ab1
Add support for using the 586- and 686-class performance
...
counters.
2000-09-13 04:47:00 +00:00
thorpej
b9b07590ec
Define some 586-class CESR MSR bits.
2000-09-13 04:44:27 +00:00
thorpej
e2cc69026a
Add 686-class performance counter events.
2000-09-13 03:37:04 +00:00
lukem
cbb605647a
add (commented out) entry for WSCONS_DEFAULT_TYPE
2000-09-10 11:48:38 +00:00
chs
62a6d0660c
move the guts of pmap_remove() to pmap_do_remove(), which has a flags arg
...
to tell it whether or not to remove wired mappings. pmap_remove() wants
to remove wired mappings, pmap_collect() doesn't. fixes PRs 10363 and 10761.
2000-09-10 03:45:58 +00:00
tron
cb01317d62
Final fix to make this work without object directories again.
2000-09-08 19:57:05 +00:00
tron
3220c30427
Readd at signs before commands which were removed for debugging.
2000-09-08 19:50:52 +00:00
tron
278e796ec6
Do last change differently: "(unset MAKEOBJDIRPREFIX || true)" is a NOP,
...
use "MAKEOBJDIRPREFIX= && unset MAKEOBJDIRPREFIX" instead.
2000-09-08 19:48:00 +00:00
tron
f5cb2786f8
Use "(unset MAKEOBJDIRPREFIX || true)" because unset return an error code
...
if the variable was not set before.
2000-09-08 19:45:45 +00:00
matt
9c01e4e226
deal properly with MAKEOBJDIRPREFIX (which has priority over MAKEOBJDIR so
...
the MAKEOBJDIR to ${MAKE} has no effect) so we unset MAKEOBJDIRPREFIX before
invoking ${MAKE}
2000-09-08 05:37:59 +00:00
thorpej
a1139ee535
Example config file for enabling large page support.
2000-09-07 18:55:30 +00:00
thorpej
2fc18ed7a4
Replace the old db_memrw.c with the hp300 version, modified for i386
...
and large page support. This version is a bit more intelligent about
how it deals with kernel text pages.
Now that this is fixed, don't map the kernel text read-write if
DDB is configured.
2000-09-07 18:46:19 +00:00
thorpej
a68986edfc
Add optional support for mapping the kernel with large (4MB) pages.
...
Right now, only does kernel text, and wastes a little memory, but
there is some noticeable performance improvement even with just text.
2000-09-07 17:20:58 +00:00
thorpej
2204402aa1
If KERN_LDSCRIPT is specified as a makeoption, then add it to the
...
linker flags.
2000-09-07 06:39:36 +00:00
thorpej
1946ce2a42
A linker script based on elf_i386.x which aligns the .data segment
...
to a 4MB boundary, thus allowing the text and read-only data to be
mapped using large pages.
2000-09-07 06:36:24 +00:00
thorpej
50668be499
Deal with low addresses in pmap_k{enter_remove}. port-i386/10966.
2000-09-07 06:06:52 +00:00
thorpej
fbc40806dd
vtopte() and kvtopte() now check for kernel vs. non-kernel addresses,
...
respectively.
2000-09-06 23:32:13 +00:00
thorpej
b53916e196
Cast arguments to kvtopte() to vaddr_t.
2000-09-06 23:28:30 +00:00
thorpej
5f98fd6c03
On second thought, back out kvtopte() change in previous. Dug, PT pages
...
are in a special VA range, not kernel VA range.
2000-09-06 22:23:46 +00:00
thorpej
ba3605f2bf
Use kvtopte() for kernel addresses.
2000-09-06 22:22:27 +00:00
thorpej
a7b2cf9d7a
Print CPU features, and use kvtopte() for kernel addresses.
2000-09-06 22:19:46 +00:00
thorpej
e32a6a7c54
Use kvtopte() for kernel addresses.
2000-09-06 22:09:58 +00:00
thorpej
7dd395bb7f
Remove some vto*() macros that won't stand a chance of working
...
with PSE or PAE, and reimplement vtphys() in terms of pmap_extract().
2000-09-06 19:09:45 +00:00
thorpej
eac566737e
In pmap_extract():
...
- Return FALSE if the PTE does not have PG_V set (previously, you would
get always get true of the PDE was valid, even if the PTE was not).
- Teach it about 4MB pages.
2000-09-05 21:56:41 +00:00
thorpej
7683d3f956
Define PG_LGFRAME, which is the page frame mask for large (4MB) pages.
2000-09-05 21:52:16 +00:00
enami
ef2b361222
Fix to work with objdir.
2000-09-05 05:05:16 +00:00
jdolecek
3fd457414e
constify first arg to parseopts()
2000-08-31 07:21:46 +00:00
thorpej
4db6fc7542
Make need_resched() take a "struct cpu_info *" argument. This
...
causes gives a primitive form of processor affinity. Its use in
roundrobin() still needs some work.
2000-08-25 01:04:06 +00:00
jhawk
2ea44b1dd4
install dosboot.com in the release(7) hierarchy.
2000-08-23 21:00:46 +00:00
thorpej
58e7a6954b
Add spllock(). See spl(9) for details.
2000-08-22 19:46:26 +00:00
joda
71cabc49dd
(rbus_pccbb_parent_mem): make the rbus minimum start address
...
configurable (RBUS_MIN_START), since default value of 1GB doesn't work
well on some ThinkPads
2000-08-22 08:42:55 +00:00
erh
df316aa06c
Change the heap limit from 40000 to 50000 so the heap is the same size as it was before the "Hack from Hell'.
2000-08-22 02:46:30 +00:00
itohy
5755dca55d
Fix typos.
...
No functional changes.
2000-08-21 07:39:42 +00:00
thorpej
23a7f255d4
Make sure we provide splsched() as described in spl(9).
2000-08-21 02:06:31 +00:00
thorpej
a86d1f4891
Add a lock around the scheduler, and use it as necessary, including
...
in the non-MULTIPROCESSOR case (LOCKDEBUG requires it). Scheduler
lock is held upon entry to mi_switch() and cpu_switch(), and
cpu_switch() releases the lock before returning.
Largely from Bill Sommerfeld, with some minor bug fixes and
machine-dependent code hacking from me.
2000-08-20 21:50:06 +00:00
thorpej
dd87a44f4a
Initialize PV head simple locks, done slightly differently than
...
in the sommerfeld_i386mp_1 branch.
2000-08-19 19:48:53 +00:00
thorpej
b0dc085df7
Move the TSS selector out of the PCB and put it into mdproc. We
...
need to access this when we have the proclist locked for reading,
and thus cannot store it in the PCB (which may be swapped out).
As part of this, call pmap_activate() from cpu_switch() to switch
to the new address space, and refresh the PCB's copy of the LDT
selector from the pmap structure (see above paragraph). We need
to do this for MP support anyhow.
Fixes a "panic: spinlock_switchcheck: CPU 0 has 1 spin locks" via
gdt_compact() reported by Nathan Williams.
2000-08-16 04:44:35 +00:00