fvdl
1b64bc0ae7
define pmap_cpu_has_pg_n and pmap_cpu_has_invlpg to make code sharing
...
easier.
2003-03-03 22:13:16 +00:00
fvdl
3ebdf8bcc3
Make CVAR asm reference macro CVAROFF, taking an offset.
2003-03-03 22:12:22 +00:00
christos
767bfa5fb6
microtime.S depends on assym.h
2003-03-02 22:19:05 +00:00
tshiozak
31e2cbf0b5
add some ISO C 1995 I18N functions and types:
...
btowc, wctrans, towctrans, wcscoll, wcsxfrm, wctype_t and wctrans_t.
2003-03-02 22:18:11 +00:00
fvdl
8d69f823b1
Redirect to x86/
2003-03-02 18:09:42 +00:00
fvdl
f555536d9b
Move lock_machdep.c to arch/x86/x86.
2003-03-01 22:53:39 +00:00
fvdl
aeaf29a3a3
Redirect to x86/cpuvar.h
2003-03-01 18:30:03 +00:00
fvdl
a3b7772adf
Move the CPU identification out of machdep.c into a seperate file.
2003-03-01 16:37:51 +00:00
fvdl
de9139c67d
Follow the spec more closely, and do an ljmp immediately after enabling
...
protected mode, not several instructions afterwards.
2003-03-01 16:36:37 +00:00
fvdl
dbef38adbf
This was still falsely referencing the ipending variable, which isn't
...
used anymore. Use curcpu()->ci_ipending (== cpu_info_primary.ci_pending,
since this is only used in the UP case).
2003-03-01 16:35:07 +00:00
perseant
eab869e1c0
Make BRIDGE_IPF an option, and document it. Add it (commented) to GENERIC.
...
Let brconfig tell whether the bridge is using the ipfilter hook, or not.
2003-02-27 19:22:36 +00:00
hannken
c03626b07b
Change "i386_trunc_page" to "x86_trunc_page".
2003-02-27 12:22:52 +00:00
fvdl
ba3f3ceb24
Catch up with consinit.c move.
2003-02-27 01:49:29 +00:00
fvdl
10648a4e04
Moved to x86/x86
2003-02-27 01:48:44 +00:00
fvdl
d89d6b98f7
Catch up with isa_machdep.c and pci_machdep.c move.
2003-02-27 00:39:40 +00:00
fvdl
b7b9aa9909
Moved to x86/pci.
2003-02-27 00:30:21 +00:00
fvdl
2c7dd6813f
Moved to x86/isa.
2003-02-27 00:27:54 +00:00
fvdl
c0ed70b13c
Adapt for move to x86/include.
2003-02-27 00:12:21 +00:00
fvdl
ab4edb55ec
Adapt for i386/x86 change.
2003-02-26 22:21:19 +00:00
fvdl
f720949c2c
Adapt for move of files to arch/x86.
2003-02-26 21:33:36 +00:00
fvdl
a33bcafdf1
Redirect some includes to x86/foo.h
2003-02-26 21:28:59 +00:00
fvdl
cffd488563
Adapt for move of files to arch/x86.
2003-02-26 21:28:20 +00:00
dsl
9474297c7f
Clear 'big' bit of segment registers before returning to real mode.
2003-02-25 11:17:36 +00:00
dsl
4552b31f45
Clear 'big' bit of descriptors (%ss in particular) before switching to
...
16bit mode. Otherwise the 32bit %esp and (probably) %ebp are used for
stack accesses. (stupid cpu design!)
(approved by christos)
2003-02-24 23:23:14 +00:00
simonb
a5781fdcdf
Add LFS support for i386. Tested with a "newfs_lfs -A -O 256" root
...
filesystem.
2003-02-23 23:25:50 +00:00
atatat
860ed88533
#include opt_uvm.h in machine/vmparam.h (for those ports offering the
...
topdown option) so that including it directly before including
uvm/uvm_param.h (or uvm/uvm_extern.h which includes uvm/uvm_param.h)
and attempting to use topdown won't result in a compiler error.
Problem noted in private email.
2003-02-23 19:13:43 +00:00
fvdl
11e36a204f
For x86_64, split the bootinfo memory entry words to avoid growth of the
...
structure due to alignment.
2003-02-23 02:45:44 +00:00
atatat
df0a9badc6
Introduce "top down" memory management for mmap()ed allocations. This
...
means that the dynamic linker gets mapped in at the top of available
user virtual memory (typically just below the stack), shared libraries
get mapped downwards from that point, and calls to mmap() that don't
specify a preferred address will get mapped in below those.
This means that the heap and the mmap()ed allocations will grow
towards each other, allowing one or the other to grow larger than
before. Previously, the heap was limited to MAXDSIZ by the placement
of the dynamic linker (and the process's rlimits) and the space
available to mmap was hobbled by this reservation.
This is currently only enabled via an *option* for the i386 platform
(though other platforms are expected to follow). Add "options
USE_TOPDOWN_VM" to your kernel config file, rerun config, and rebuild
your kernel to take advantage of this.
Note that the pmap_prefer() interface has not yet been modified to
play nicely with this, so those platforms require a bit more work
(most notably the sparc) before they can use this new memory
arrangement.
This change also introduces a VM_DEFAULT_ADDRESS() macro that picks
the appropriate default address based on the size of the allocation or
the size of the process's text segment accordingly. Several drivers
and the SYSV SHM address assignment were changed to use this instead
of each one picking their own "default".
2003-02-20 22:16:05 +00:00
simonb
b7f4f30f48
Revert previous (in line with <i386/mtrr.h> reversion).
2003-02-19 05:38:58 +00:00
gson
d3fce65758
Reserve the I/O ports used by the CRT controller to keep them from
...
being allocated for other purposes such as PCMCIA I/O space. Fixes
port-i386/5177.
2003-02-19 04:07:56 +00:00
fvdl
807c14b1f2
Undo constification of mtrr_funcs. I'll deal with it later.
2003-02-19 00:18:34 +00:00
fvdl
f2ef2f16fa
Revert previous. This file is also used on x86_64, you see.
2003-02-19 00:15:19 +00:00
jdolecek
d2309c1fda
add file-system SMBFS and pseudo-device nsmb, uncommented, marked as
...
experimental
2003-02-18 20:13:03 +00:00
jdolecek
51762449f8
add nsmb device-major
2003-02-18 12:26:50 +00:00
david
9a38c06746
sync with GENERIC
...
add: options SYSTRACE
2003-02-17 22:44:37 +00:00
augustss
8f123087a2
Undo accidental commit of this file.
2003-02-16 17:42:13 +00:00
augustss
519f8f3d30
Add uax(4) (and url(4) in some cases).
2003-02-16 17:35:13 +00:00
dsl
673612c6a0
Use correct segment register in getmementry
2003-02-14 14:39:24 +00:00
jdolecek
1b76f8f55f
One more ServerWorks host bridge, seen on Dell PowerEdge server
...
fix provided in PR port-i386/20333 by Sverre Froyen
2003-02-14 14:26:51 +00:00
tshiozak
4e7944a9b0
use IPL_SCHED instead of IPL_HIGH to establish interrupt for ACPI;
...
Calling wakeup() from a intr handler established with IPL_HIGH may causes
run/sleep queue to confuse because SCHED_LOCK() uses splsched().
2003-02-14 05:38:39 +00:00
perry
3f573e45ce
Instead of spinning, __asm __volatile("hlt").
2003-02-14 01:11:21 +00:00
ross
ff410ba8d2
If no keyboard is attached, implement RB_HALT with a spin. kern/10481
2003-02-13 21:34:03 +00:00
drochner
6fcbbb426d
fix a lint stub
2003-02-09 15:49:34 +00:00
enami
0d3ee12026
Fix the type of variable `mtrr_funcs' so that this file compiles again
...
after constify.
2003-02-09 13:03:38 +00:00
jdolecek
ced8cde749
make k6_mtrr_funcs, i686_mtrr_funcs and mtrr_funcs const
...
remove extern definition for i686_mtrr_funcs from include/mtrr.h, it's
not used outside mtrr_i686.c
2003-02-09 09:38:23 +00:00
jdolecek
1677351fab
match anything which claims to be PCI-EISA bridge
...
the explicit check for Intel PCI-EISA bridge was left in, just in case
it wouldn't identify itself as PCI-EISA bridge
fixes PR kern/9589 by Johan Danielsson
2003-02-08 12:00:36 +00:00
dsl
53d3dabb6a
Use on-stack buffer to check for 2.88MB floppy, malloc() hasn't been
...
loaded when this is called.
Clearly the information is actually available from the bios.
(Approved by christos)
2003-02-07 00:46:08 +00:00
grant
eb9c846694
add makphy PHY for Intel gigabit cards (wm).
...
fixes PR install/19338 from Tomi Nylund.
2003-02-06 04:51:51 +00:00
dsl
bfd68d9702
Change to use .codw16/32 and ensure buffer address <64k
...
(approved by christos)
2003-02-05 21:50:25 +00:00
dsl
d77171664a
A buffer slipped though the net... Ensure offset < 64k.
...
(approved by christos)
2003-02-05 21:48:53 +00:00