hannken
747c45e3e4
Avoid dereferencing null pointer. `data->name == NULL' means default font.
2002-04-04 13:08:35 +00:00
skrll
c0e4084210
Fix compile problem when DDB not defined.
2002-04-04 12:39:55 +00:00
tron
d09c25ca9a
Set default kernel version of Linux emulation to 2.4.18 on the i386 port.
...
It has been successfully tested using SuSE 7.3 libraries and binaries with
many applications.
2002-04-04 09:32:11 +00:00
ichiro
ed93d4f3b5
space/TAB cosmetics
2002-04-04 07:15:17 +00:00
ichiro
7fadd48a2f
using table driven for Prism2 family IDs/Names.
2002-04-04 07:06:16 +00:00
chs
e340f273c4
add support for Cogent EM100 (aka Adaptec ANA-6910) TX and FX.
2002-04-04 05:45:54 +00:00
thorpej
ce482eca0a
Eliminate a mask against PD_MASK.
2002-04-04 05:42:29 +00:00
thorpej
60b63aec95
There is no need to mask VAs and PAs w/ PG_FRAME to clear
...
the lower bits; UVM provides us page-aligned addresses for
everything. For the paranoid, we'll leave KDASSERT()'s in
that check for this if the kernel is built with DEBUG.
Low-hanging fruit that shaves some cycles.
2002-04-04 04:43:20 +00:00
thorpej
e539ef03aa
Rename flags that are really part of the pv_entry/mdpage into
...
pmap.h and give them more descriptive names and better comments:
* PT_M -> PVF_MOD (page is modified)
* PT_H -> PVF_REF (page is referenced)
* PT_W -> PVF_WIRED (mapping is wired)
* PT_Wr -> PVF_WRITE (mapping is writable)
* PT_NC -> PVF_NC (mapping is non-cacheable; multiple mappings)
2002-04-04 04:25:44 +00:00
thorpej
263270d684
Catch a couple more vector page mapping manipulations.
2002-04-04 02:06:46 +00:00
thorpej
605e664094
vfs_mountroot(): provide more info when we panic.
2002-04-04 01:44:30 +00:00
reinoud
c85015ee71
Also provide differential coordinate updates... pitty it can't be choosen
...
or specified in wscons itself. The absolute coordinates are broadcasted
_after_ the relative so a program that takes both won't get confused.
2002-04-04 01:03:23 +00:00
thorpej
20b1bb2655
Clean up handling of the vector page on 32-bit ARM systems:
...
* Don't refer to VA 0, instead refer to a new variable: vector_page
* Delete the old zero_page_*() functions, replacing them with a new
one: vector_page_setprot().
* When manipulating vector page mappings in user pmaps, only do so if
the vector page is below KERNEL_BASE (if it's above KERNEL_BASE, the
vector page is mapped by the kernel pmap).
* Add a new function, arm32_vector_init(), which takes the virtual
address of the vector page (which MUST be valid when the function
is called) and a bitmask of vectors the kernel is going to take
over, and performs all vector page initialization, including setting
the V bit in the CPU Control register ("relocate vectors to high
address"), if necessary.
2002-04-03 23:33:26 +00:00
thorpej
d36a56b03a
Define the two possible addresses for the ARM vector page.
2002-04-03 22:12:52 +00:00
thorpej
d8ab0d1e84
Remove unused extern decls.
2002-04-03 21:06:21 +00:00
thorpej
a1808a4556
Add support for the Netwinder on-board 21143 (but don't try using it
...
yet; there are still some problems).
2002-04-03 20:52:42 +00:00
thorpej
6d66c469bf
Add a comment summarizing the post-ARM3 CP15 registers.
2002-04-03 19:57:48 +00:00
thorpej
7739f7410a
Always provide kernel_text.
2002-04-03 17:30:50 +00:00
christos
cb483bd247
make this compile on archs that don't define linux signals.
2002-04-03 17:18:21 +00:00
christos
f28b55d327
provide missing types for arch's that don't have specific linux_types.h
2002-04-03 17:13:32 +00:00
thorpej
5eb4257b8e
Add bus master DMA support for the Symphony Labs 82C105 PCI IDE
...
controller. This part is also found in the Winbond 83C553 Southbrige.
2002-04-03 17:02:21 +00:00
christos
aa3369abe2
don't bail out if we don't have an arch/siginfo.h because we are being used
...
from userland.
2002-04-03 17:02:12 +00:00
darrenr
ff961593ca
apply patches from PR#10170
2002-04-03 16:34:11 +00:00
reinoud
9fc5cf5824
Fix the mmap'ing of the screen memory. The way it was implemented
...
completely sucked... I wonder how it was even working (....)
Thanks to Jason for pointing out the problem.
2002-04-03 16:03:50 +00:00
reinoud
943880cea2
Rototil and fix the pmap_extract function. It wouldn't even return data
...
when the part being quiried was mapped with a section (!) giving weird
results and had become a mess of goto's.
Complete rewrite and cleaned up the `goto'-jungle entirely ... ripped all
goto's. The resulting code is much better to read and might even have a
small performance gain.
2002-04-03 15:59:58 +00:00
bjh21
6d7ebd9ee6
<bebox/pte.h> has gone too.
2002-04-03 15:53:21 +00:00
ichiro
ff941b5271
s/WI_NIC_3842/WI_NIC_3842_EVA
2002-04-03 15:43:14 +00:00
ichiro
a07b331747
add more IDs of PRISM family
2002-04-03 15:33:20 +00:00
bjh21
ed0cb3d8fc
Minimal makefile to ensure that arch/amigappc/include is picked up by
...
"make includes".
2002-04-03 14:37:54 +00:00
bjh21
dd0fa209d5
<bebox/bat.h> has been removed.
2002-04-03 14:28:57 +00:00
tron
9121bc2ec4
Fix a cut and paste error in the emulation of getresgid(2): it returned
...
the effective user id as effective group id.
2002-04-03 14:28:36 +00:00
simonb
fab269a0eb
Backout the .sdata to .data change for now; this broke compiling of
...
hpcmips kernels.
2002-04-03 13:57:47 +00:00
simonb
2548187935
Don't make arch/mips/mips/mips_mcclock.c mandatory for all mips ports
...
with an mcclock - pmax is the only one currently using this.
2002-04-03 13:16:13 +00:00
fvdl
221107a13b
Use shmat1(), and tell it to find removed segments.
2002-04-03 11:54:37 +00:00
fvdl
c2bf6c9615
Split off the backend of the shmat system call, and find removed segments
...
if requested. This enables the linux compat code to be bug compatible
(under Linux, shmat() to a removed segment works).
2002-04-03 11:53:01 +00:00
fvdl
9edfbd43ca
Add prototype for shmat1()
2002-04-03 11:50:51 +00:00
msaitoh
55aa2c46b9
sync with i386/include/pmap.h rev. 1.45:
...
make dangerous pmap_copy() and pmap_move() no-op.
2002-04-03 10:38:51 +00:00
msaitoh
66227882a3
sync with i386/i386/pmap.c rev. 1.94:
...
make dangerous pmap_copy() and pmap_move() no-op.
2002-04-03 10:37:48 +00:00
fvdl
7fc44e13a8
Allocate the right size for the native gid_t array in setgroups16.
2002-04-03 10:17:01 +00:00
fvdl
8cc2d64d7a
Include opt_malloc_debug.h so that debug_malloc will actually be used
...
when enabled, thankyouverymuch.
2002-04-03 09:45:22 +00:00
simonb
8bcefa5e82
Fix a typo that stopped this compiling in the !LKM case.
...
Remove the buf2 variable from sysctl_sysvipc(), which was only ever
assigned to but not used.
2002-04-03 08:06:17 +00:00
lukem
f8df2d6332
remove boot_block stuff from include/disklabel.h, and migrate to
...
alpha_boot_block stuff in dev/dec/dec_boot.h
2002-04-03 06:16:01 +00:00
thorpej
e96da4cdff
Fetch the memory size from the NeTTrom boot info.
2002-04-03 05:37:33 +00:00
thorpej
4de06fbd8a
Fix some of the boot info fields.
2002-04-03 05:37:00 +00:00
thorpej
ce4a4a40de
Add COMPAT_LINUX.
2002-04-03 04:23:04 +00:00
jmc
a3c3d336ee
Only dump the rom up to ab_retlen in error cases. Also add in
...
P1212_ALLOW_VENDOR_DIRECTORY_TYPE to the flags passed to the p1212 parser
2002-04-03 04:15:59 +00:00
lukem
38b5c3b216
- Add alpha boot block info, derived from sys/arch/alpha/include/disklabel.h,
...
adding "alpha_" / "ALPHA_" prefix to items as appropriate. Rename
CHECKSUM_BOOT_BLOCK() -> ALPHA_BOOT_BLOCK_CKSUM(). Add cgd's copyright
from disklabel.h.
- Clean up a couple of comments.
2002-04-03 04:05:05 +00:00
simonb
ccc73cca48
Put a couple of variables in the data section, not the sdata section.
2002-04-03 04:04:31 +00:00
simonb
6fbaedb430
Use the new 2way mips{32,64} cache ops.
2002-04-03 03:55:07 +00:00
simonb
67fd901d75
Include 2way cache ops for mips{32,64} CPUs.
2002-04-03 03:51:00 +00:00