jdolecek
cee3939088
comment out entries accidentaly committed together with previous
...
change
2000-11-26 20:48:39 +00:00
ad
57ea462da2
lsu -> ld, by popular request.
2000-11-26 17:44:02 +00:00
jdolecek
bc435e5551
rename COMPAT_locore.s to COMPAT_sigcode.s - that is more suitable name for it
...
make the files compilable within LKM
2000-11-26 11:18:20 +00:00
takemura
3c9d9276dc
Add new powerhook argument values, PWR_SOFTSUSPEND, PWR_SOFTSTANDBY and
...
PWR_SOFTRESUME. Apm calls powerhook with the values in normal interrupt
priority level while others are protected with splhigh().
2000-11-26 11:08:57 +00:00
itojun
c40695f5ad
a complete kernel for wildlab LAMB, http://www.wildlab.com/ .
2000-11-26 03:28:41 +00:00
chs
fa19fe52db
adjust the spinlock macros in the non-MULTIPROCESSOR, non-LOCKDEBUG case
...
so that gcc will think that static spinlock are used.
this allows us to remove the ugly conditionalization of
static spinlock declarations.
2000-11-24 03:59:07 +00:00
chs
c01c2504a2
examine the PDE in addition to the PTE when checking for valid mappings.
2000-11-23 21:44:52 +00:00
jdolecek
818062390e
Intel recommends to print cpu serial number as six dash-separated nibbles
...
(XXXX-XXXX-XXXX-XXXX-XXXX-XXXX), make it so
2000-11-22 16:41:56 +00:00
jdolecek
09c6390523
make trap_type[] const
2000-11-21 21:27:04 +00:00
jdolecek
3323852a95
put compat-specific locore code to separate *_locore.s files
2000-11-21 21:13:23 +00:00
jdolecek
baae0324b9
restructure struct emul and execsw, in preparation to make emulations LKMable:
...
* move all exec-type specific information from struct emul to execsw[] and
provide single struct emul per emulation
* elf:
- kern/exec_elf32.c:probe_funcs[] is gone, execsw[] how has one entry
per emulation and contains pointer to respective probe function
- interp is allocated via MALLOC() rather than on stack
- elf_args structure is allocated via MALLOC() rather than malloc()
* ecoff: the per-emulation hooks moved from alpha and mips specific code
to OSF1 and Ultrix compat code as appropriate, execsw[] has one entry per
emulation supporting ecoff with appropriate probe function
* the makecmds/probe functions don't set emulation, pointer to emulation is
part of appropriate execsw[] entry
* constify couple of structures
2000-11-21 00:37:49 +00:00
jdolecek
0630488eda
fix typo
2000-11-20 20:07:36 +00:00
jdolecek
3b15e411a3
add moxa0 at isa entry, marked as experimental
...
This was not added also to other config files primarily because the
driver is not properly tested yet; this entry is primarily meant as an example
for those brave souls who want to try moxa.
2000-11-20 19:53:43 +00:00
chs
c62d17a551
rationalize the use of b_flags for geteblk() buffers.
...
rather than assigning to the whole field, set or clear individual flags,
which implies that the B_BUSY and B_INVAL flags will remain set.
this allows us to make the assertion in brelse() that B_BUSY is set,
which is the purpose of all this.
2000-11-20 08:24:08 +00:00
soren
046ce58634
Enable com at cardbus.
2000-11-20 02:00:46 +00:00
jdolecek
2faa9db8c1
cosmetic change in brand string handling (NULL vs. "")
...
drop Xeon from PIII Cascades entry, it should be handled by the brand id
support (pointed out by Scott Telford in private e-mail).
2000-11-19 23:38:22 +00:00
lukem
a687c7deac
pull up stuff changed in GENERIC from 1.370 - 1.377, appropriately
...
commented out if it's not relevant to a laptop
2000-11-18 02:08:30 +00:00
jdolecek
97669de104
make i386_nocpuid_cpus[] and i386_cpuid_cpus[] const - this pushes
...
another ~1.4KB to text section
2000-11-16 17:00:17 +00:00
jdolecek
def6d1b4ac
Newer Intel PIII processors also make available Brand ID value through
...
cpuid instruction, which is used to differentiate between Celeron, common PIII
and PIII Xeon; recognize it and print appropriate info if applicable
Information taken from Intel's (R)
Intel Processor Identification and the CPUID Instruction, AP-485
2000-11-16 10:19:02 +00:00
jdolecek
a9ad986a90
Update cpuid table according to information sent by Scott Telford
...
in port-i386/11502, with only sligh change for Coppermine entry -
cpus with family 6, model 8 are not all Celerons, they can be
either common PIII, Xeon or Celeron
2000-11-16 09:06:17 +00:00
jdolecek
ea9f7ed6d5
introduce SIGACTION_PS() macro - this is similar to SIGACTION(), but works
...
for (struct sigacts *) instead of (struct proc *)
2000-11-15 21:13:58 +00:00
thorpej
9298fd52fc
Garbage-collect some more stuff.
2000-11-15 19:30:10 +00:00
enami
038ca0a146
Make isa_machdep.c compile again.
2000-11-15 02:00:31 +00:00
enami
1ef516e9be
Pull in uvm_extern for PAGE_SIZE.
2000-11-15 01:59:35 +00:00
thorpej
990d23039d
NBPG -> PAGE_SIZE.
2000-11-14 22:55:51 +00:00
thorpej
ec0069dd37
NBPG -> PAGE_SIZE
2000-11-14 22:55:05 +00:00
augustss
eb9736c09a
Add uscanner.
2000-11-14 19:52:04 +00:00
thorpej
10b31e1ebc
The i386 page size is fixed -- override PAGE_SIZE, et al, so that they
...
are compile-time constants.
2000-11-14 18:01:54 +00:00
jdolecek
ec93c3dd25
when evaluating CPU speed, make the wait 0.1s instead of 1s - the accuracy
...
difference is like 0.008% on my system and the delay is now almost unnoticable:)
Discussed with Jason Thorpe, Frank van den Linden.
2000-11-13 16:40:40 +00:00
enami
ce78591ae1
Cometic change; keep the code to process a second hunk closer to the first one.
2000-11-10 04:00:25 +00:00
enami
390c8adfbc
Don't start next iteration while processing a first memory hunk since
...
there may be a second hunk.
2000-11-10 03:58:15 +00:00
christos
0cf0dd1b80
put the suggestion message in uvm_page.c. There could be other reasons
...
why we are not able to find the end of memory.
2000-11-09 19:22:30 +00:00
kim
534a2fa4bb
BIOS memory loading messages can be enabled with DEBUG_MEMLOAD.
...
Increase VM_PHYSSEG_MAX from 3 to 5 to avoid a panic. Suggest
increasing VM_PHYSSEG_MAX in the panic message.
2000-11-09 17:34:51 +00:00
ad
33c21c5f16
Sort.
2000-11-08 21:47:25 +00:00
ad
36e51ea5c5
Add I2O stuff.
2000-11-08 19:50:07 +00:00
ad
e6be92ad99
Pull in dev/i2o/files.i2o.
2000-11-08 19:48:51 +00:00
thorpej
5929990d15
Add `bktr'.
2000-11-07 06:02:24 +00:00
augustss
a00e309252
Fix speeling in cooment.
2000-11-06 22:10:03 +00:00
augustss
83bdca3a71
Print a newline after the random number speed message.
2000-11-06 22:01:31 +00:00
thorpej
c60d6ae15b
Machine pmc.h
2000-11-05 22:28:00 +00:00
thorpej
fa03f6e74d
If we have a working cycle counter, compute the number of CPU
...
cycles in a second, and print the CPU speed.
Derived from similar code in FreeBSD.
2000-11-05 22:10:01 +00:00
onoe
e83458422f
First Prototype implementation of network interface part for IEEE1394 (if_fw).
...
Current status:
Only OHCI chip is supported (fwohci).
ping (IPv4) works with Sony's implementation (SmartConnect) on Win98.
sometimes works but not stable.
Not implemented yet:
IRM (Isochronous Resource Manager) functionality.
Link layer fragmentation.
Topology map.
More to do:
clean ups
MCAP
charactor device part
dhcp
There is no entry in GENERIC config file yet.
Follow sys/dev/ieee1394/IMPLEMENTATION to enable if_fw.
2000-11-05 17:17:12 +00:00
thorpej
584c0d1319
Use <dev/sysmon/sysmonconf.h>
2000-11-05 04:08:48 +00:00
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
ross
37262919a9
Edit adv0 comment to include "SCSI"; now 'grep -v -i SCSI GENERIC' works.
2000-08-15 20:09:26 +00:00
fvdl
534b45c853
Move identifycpu to a place where it gets called earlier in the process,
...
so that special setup functions needed for some CPUs will be run before
some things (like UVM) are inited.
Add vm_page_zero_enable = FALSE to the cyrix 6x86 case, as page zeroing
while idle causes problems.
2000-08-15 18:21:44 +00:00
christos
cabafb6c60
cast to u_long before casting to u_int to appease lint.
2000-08-13 22:45:01 +00:00
augustss
de0b1dd11d
Go to splhigh() before calling power hooks and maintain this level
...
while suspended. When waking up the power hooks are again called at
splhigh() and then the level is lowered.
This prevents interrupts from reaching a device before the power hook
has reinitialized it.
2000-08-13 22:26:27 +00:00
jdolecek
47b371580e
make this usable as INSTALL-like kernel suitable for boot floppy
...
enable supported stuff, add also SCSI devices (only sd* and cd* uncommented)
2000-08-13 21:55:33 +00:00
jdolecek
40dc315f3b
#if 0 bogus mca_intr_establish() added possibly mistakely
...
by cgd in rev. 1.2
2000-08-13 10:38:38 +00:00
itojun
85dda25e94
move "options PULLDOWN_TEST" into sys/sys/mbuf.h (in #ifdef _KERNEL),
...
as it is no wthe default setting for everyone.
the reason we still use the name "PULLDOWN_TEST" while it is now default:
kame code sharing.
2000-08-13 01:31:15 +00:00