thorpej
0abaa8b70d
Nothing calls pmap_release() except for pmap_destroy(). Merge the two.
2000-12-07 17:12:21 +00:00
thorpej
b4b01fe8e6
Nothing calls pmap_pinit() except for pmap_create(), so merge the two.
2000-12-07 17:09:26 +00:00
jdolecek
6ae23b9300
update comment about the sense of placement of NDINIT()
2000-12-07 16:14:35 +00:00
abs
25808cb569
Wrap call to mpu_intr in NMPU - nowbuildswithout 'mpu at fms' in config
2000-12-07 14:12:30 +00:00
toddpw
6b0841e32b
Fix PR port-mac68k/11343
2000-12-07 10:57:17 +00:00
kleink
9cee15bd12
In the ELF toolchain, use __mcount instead of mcount.
2000-12-07 10:14:08 +00:00
scw
3f7cfb70ef
Add "options COMPAT_AOUT_M68K".
2000-12-07 08:40:06 +00:00
thorpej
5c7e0ada43
Use a pool cache for L1 PT pages. When we can allocate a cached,
...
constructed L1 PT page, this saves us from having to copy the kernel
L1 PTEs into the user L1 PT page at fork time (it's already set up).
A simple test shows a 1 second improvement of a rapid fork/exit operation
10000 times on a 533MHz 21164A (12s to 11s).
2000-12-07 05:59:07 +00:00
thorpej
7553470722
This is a first-cut implementation of support for caching of
...
constructed objects in the pool allocator, similar to caching
of constructed objects in the Solaris SLAB allocator.
This implementation is a separate API (pool_cache_*()) layered
on top of pools to keep the caching complexity out of the way
of pools that won't benefit from it.
While we're here, allow pool items to be as large as the pool
page size.
2000-12-07 05:45:57 +00:00
deberg
3694227079
initial stab at SMB stack, needed for smbfs. originally for freebsd by
...
boris popov, first ported to 1.4 branch by Christian Limpach
<chris@nice.ch>.
2000-12-07 03:48:09 +00:00
deberg
f825ec3136
initial stab at smbfs (CIFS). originally for freebsd by boris popov,
...
first ported to 1.4 branch by Christian Limpach <chris@nice.ch>.
2000-12-07 03:33:46 +00:00
matt
f7b27589e3
Enable VS4000/90 SCSI controller in INSTALL kernel.
2000-12-07 01:24:25 +00:00
eeh
873101cd21
Fix a bug in rwindow_save() that always wrote out window 0 in 64-bit
...
code and caused problems with ksh.
2000-12-07 01:05:55 +00:00
eeh
297dba1163
Add a call to db_esp() and make `mach phys /u' read user addresses.
2000-12-07 01:03:17 +00:00
augustss
28ca8986f0
Regen.
2000-12-07 01:02:42 +00:00
augustss
2532d95d53
Add an Atmel hub and a Logitech mouse.
2000-12-07 01:02:12 +00:00
eeh
660d1fc6c7
Fixup calculating where fpstate should be saved in the signal trampoline
...
code so it doesn't overwrite something important like the registers.
2000-12-07 00:59:42 +00:00
eeh
a5a8c50c48
Initialize pcb_lastcall so db_dump_pcb() will not bomb on non-DEBUG kernels.
2000-12-07 00:53:29 +00:00
matt
a8ea1009e7
Add ThinkPad 820 audio driver (attaches but does not yet work).
2000-12-06 23:42:34 +00:00
jdolecek
80a6068f99
add I/O Data USB-ET/T (which uses KL5KUSB101B) to the list
...
Patch sent in kern/11635 by ORI Manabu
2000-12-06 21:44:08 +00:00
jdolecek
08ab4a9ad7
regen
2000-12-06 21:39:28 +00:00
jdolecek
c3dbd34e68
add I/O Data USB-ET/T id, sent in kern/11635 by ORI Manabu
2000-12-06 21:38:03 +00:00
is
7223efb0b9
Make this new-GAS ready. Code by Steve Woodford.
2000-12-06 21:31:05 +00:00
jdolecek
6f1bed130e
regen
2000-12-06 21:26:07 +00:00
jdolecek
79e6f66114
make LKM safe
2000-12-06 21:25:39 +00:00
jdolecek
3a7eb81dbe
make LKM safe (need to use if/endif, #if/#endif is filtered out by makesyscalls.sh)
2000-12-06 21:24:47 +00:00
jdolecek
eb248dea94
regen
2000-12-06 21:02:30 +00:00
jdolecek
6ddca63eb7
make LKM safe
2000-12-06 21:02:00 +00:00
matt
3f127261f3
Un __P'ed.
2000-12-06 18:57:37 +00:00
thorpej
581799e1f8
ANSI'ify.
2000-12-06 18:20:52 +00:00
thorpej
131ac36401
pool_handle_t -> struct pool *
2000-12-06 18:05:57 +00:00
mjacob
3741d38c44
Correct omission by the previous committer.
2000-12-06 06:33:56 +00:00
chs
a8609aaac8
in uvn_findpage(), only increment the counter of vnode pages
...
if we succeed in allocating a page.
from Lars Heidieker <lars@heidieker.de> in PR 11636.
2000-12-06 03:37:30 +00:00
chs
4fa4734937
go back to the first version of the pte/pde dance now that kvtopte()
...
has been changed to consisently return a pointer into the recursive
page table mapping.
2000-12-06 03:20:35 +00:00
chs
2a95fc3517
in kvtopte(), return the mapping of the pde in the recursive page-table
...
mapping space rather than the mapping in the kernel address space.
2000-12-06 03:13:47 +00:00
simonb
7ca0abc4db
Use 'make print-objdir' to get obj directory instead of guessing.
2000-12-06 02:35:19 +00:00
mrg
703ec39a02
fix warnings in DEBUG & DIAGNSTIC code.
2000-12-06 01:47:49 +00:00
scw
ac80517816
Add some #defines for offsets into the bugargs structure, and make the
...
register names usable within assembly code.
2000-12-05 21:57:13 +00:00
scw
86c7dac956
Replace the startup C code with assembler, which avoids having to
...
explicitly tell the compiler what registers the Bug args come in on.
2000-12-05 21:54:33 +00:00
scw
7da5cde117
bootxx doesn't need the code relocating stub linked in.
2000-12-05 21:51:38 +00:00
scottr
7fdcf44432
Don't reference a zs-specific variable unless NZSC is not zero.
...
Fixes PR 11566.
2000-12-05 21:38:38 +00:00
scw
634dc65636
Backout the last change; I'll deal with it another way.
2000-12-05 19:54:09 +00:00
scw
1f9f7cbe53
UPAGES -> 2 as recommended by Chuck Silvers.
2000-12-05 18:46:10 +00:00
scw
2ec144518f
Add loadfile_machdep.h to list of installed machine headers.
2000-12-05 18:42:18 +00:00
drochner
0d60fd2773
regen
2000-12-05 18:11:02 +00:00
drochner
ae62042f01
add some chips I met in the last weeks
2000-12-05 18:10:19 +00:00
drochner
8f6e088214
add a kernel configuration option to set the string passed in bp_file
...
in diskless BOOTP/DHCP configuration - good for booting different
userland versions depending on the kernel version
2000-12-05 17:59:43 +00:00
drochner
2d8bb6f643
add some missing definitions for hungarian keymap support
...
(It won't help much since there is no way to get characters not in
iso-1 or the function key set through the vt100/sun/dumb terminal
emulations:-(
2000-12-05 17:53:46 +00:00
sommerfeld
5348dfb6ac
Have recursive make invocations depend on the .MAKE pseudo-target so
...
make knows to handle them specially.
2000-12-05 17:01:19 +00:00
scw
37f5782c0a
Update pm_stats.resident_count when entering pages in the kernel pmap.
2000-12-05 16:07:39 +00:00
eeh
433c92930e
Fix uninitialized pointer bug.
2000-12-05 15:25:57 +00:00
augustss
f680fa762c
Make sure to increment reference count while the (lengthy) opening
...
operation is happening so we don't lose on disconnect.
2000-12-05 14:01:33 +00:00
tsutsui
e8bfefe60c
- Since rtk_rxeof() was rewritten, we don't have to reserve a few bytes
...
before the Rx buffer.
- Reduce delay on EEPROM access.
- Some more cosmetics.
2000-12-05 11:11:49 +00:00
jdolecek
94e024dc14
constify
2000-12-05 10:45:09 +00:00
jdolecek
dae7d6d77c
actually, pte is normally in user address space, but can also be in kernel
...
address space for LARGEPAGES kernel; to handle both, do the same dance
as for loc
2000-12-05 10:26:12 +00:00
mycroft
e4ae5a1406
In mem_regions(), deal with the case of a run of consecutive holes.
...
Now the cube works with the memory in any order.
2000-12-05 05:16:00 +00:00
briggs
e7a6bcd6eb
Add the DrHw Apple 24AC "Boogie" video card.
...
Thanks to Lucas Lay <segfault@mac.com> for digging it up.
2000-12-05 05:05:52 +00:00
briggs
3503f0999b
Add defines for:
...
Apple WGS SCSI / cache card
FWB JackHammer SCSI card
2000-12-05 05:02:36 +00:00
augustss
d801d9ec2b
Regen.
2000-12-05 03:12:47 +00:00
augustss
d604cf563b
Add another Epson printer.
2000-12-05 03:12:11 +00:00
oster
7a8eea351b
Fix a couple of warnings about uninitialized variables. Thanks go to
...
Frank van der Linden for pointing these out.
2000-12-05 01:35:56 +00:00
bjh21
2caf09a602
regen
2000-12-05 00:44:21 +00:00
bjh21
1bdf317d96
Add the 16bit podules I got from abs (ColourCard, Centronics, sampler, MIDI).
2000-12-05 00:43:55 +00:00
scw
bfcd71c79c
Clean up the build process to ensure libsa/libbug are built
...
before linking the bootloaders.
2000-12-04 21:25:57 +00:00
scw
349445391c
Make this work with the ELF tape bootloader.
2000-12-04 21:24:34 +00:00
fvdl
3de7a35dc2
More cast / format cleanup to make this compile cleanly in 32bit mode.
2000-12-04 20:40:07 +00:00
fvdl
b5f5b707ea
Make gcc happy about casts.
2000-12-04 20:33:12 +00:00
scw
5a17a935bc
Declare `start' in addition to `_start'.
2000-12-04 20:31:16 +00:00
fvdl
95ed1f82c4
Make gcc like a cast.
2000-12-04 20:29:34 +00:00
fvdl
56fd0b02d5
Avoid format warnings.
2000-12-04 20:25:40 +00:00
fvdl
2ccdc61f62
Avoid (safe) cast warnings.
2000-12-04 20:19:49 +00:00
fvdl
245940b894
Clean up warnings in 32bit compile (bus_space_handle_t is 64bit wide
...
but will only contain 32bit values; casting via u_long is safe)
2000-12-04 20:17:10 +00:00
fvdl
2c81c82473
Comment out caxsa, it's not used. Avoids 32 bit compile errors.
2000-12-04 20:14:05 +00:00
fvdl
e58fff48bf
Avoid compile warning on sparc64 32bit. sc_buffer doesn't seem to be
...
used at all, this line can probably be removed.
2000-12-04 20:12:55 +00:00
fvdl
42efb3639a
Avoid a warning in bus_dmamap_load_uio by inserting a 'return 0' for
...
good measure in this unimplemented function.
2000-12-04 20:12:10 +00:00
scw
269a30a733
s/a6/fp/ again...
2000-12-04 18:48:18 +00:00
scw
e267f2466b
Add support for ELF boot blocks.
2000-12-04 18:44:51 +00:00
scw
b29bcb645b
The LOAD_TEXTA flag is required when loading a.out kernels.
...
Also add some non-standalone versions for the benefit of installboot(8).
2000-12-04 18:41:51 +00:00
scw
c28723715c
Prefix the register names with `%'.
2000-12-04 18:40:05 +00:00
scw
d0da91f9e2
Use -fomit-frame-pointer when compiling bugcrt.c; a6 needs to be reserved
...
for Bug arguments.
2000-12-04 18:35:16 +00:00
eeh
c5080ee564
Fix uninitialized variable bug and code cleanup.
2000-12-04 17:26:41 +00:00
tsubai
1b4a9cb335
Move INTSTK and SPILLSTK definitions to locore.[Ss] to allow allocation of
...
them in early startup.
2000-12-04 17:05:50 +00:00
fvdl
2fb588e51d
Warning police. Mostly useless format warnings. Switch Makefile for
...
kernel compiles to the warning flags that other ports also use.
2000-12-04 16:01:18 +00:00
ad
7433fb33e8
In wsdisplay_switchtoconsole(), ensure that the switch happens
...
synchronously. Suggested by drochner.
2000-12-04 13:22:17 +00:00
fvdl
a0aebb0c36
Initialize 'error' to 0, so that nfs_putpages doesn't return garbage
...
when pages already have been committed and nothing needs to be done.
2000-12-04 12:12:20 +00:00
itojun
fe5bd7125e
make sure we don't touch uninitialized pointer. from: fvdl
2000-12-04 12:11:49 +00:00
fvdl
ff72f95eaa
Initialize 'frcn' to 0 in extendfile to be safe.
2000-12-04 11:54:39 +00:00
fvdl
b6d9ce390e
Comment out 2 cases of unitialized variable use (only used when
...
debugging is switched on, though).
2000-12-04 11:35:46 +00:00
itojun
7fee705236
more on previous (udp4 multicast fix)
2000-12-04 11:24:20 +00:00
itojun
c2ca545d60
fix multicast inbound packet processing.
...
NetBSD PR 11629 From: salvet@ics.muni.cz
2000-12-04 11:23:04 +00:00
fvdl
d26269e0a6
'error' was not initialized in the _ioctl function, potentially returning
...
!= 0 values in the non-error case.
2000-12-04 11:18:49 +00:00
fvdl
0888965bb7
Remove uninitialized variable usage (it was redundant anyway).
2000-12-04 11:05:32 +00:00
mrg
247f2c42d7
Remove __BROKEN_CONFIG_UNIT_USAGE. (sync with sparc)
2000-12-04 09:56:56 +00:00
chs
4912461b20
in ffs_sync(), don't skip vnodes which have (potentially dirty) pages.
2000-12-04 09:37:06 +00:00
scottr
fc6d3c5f48
Unmap the valkyrie register space when we're finished with it in
...
the match function. It's not like we can save that state for later,
and we don't use it anyway.
2000-12-04 06:25:19 +00:00
scottr
b21b6272fa
Fix PR 11000: The esp driver needs two longwords in DAFB register space to
...
implement pseudo-DMA transfers with the SCSI controller. This caused our
match to fail when we couldn't map the entire DAFB register/control space
for our own use. Instead, we map only (about) what we will need in two
separate regions.
As a consequence we no longer do Turbo SCSI configuration here; indeed, it
may have caused us trouble later on if we actually changed the values
stored in those registers in the esp driver.
2000-12-04 06:23:36 +00:00
augustss
0a739c7166
A portability define.
2000-12-04 03:38:56 +00:00
augustss
f4d0a8c54a
Regen.
2000-12-04 03:37:07 +00:00
augustss
e2925e0555
Add YAP Phone.
2000-12-04 03:36:42 +00:00
mrg
ce0e1dea34
sync relocs with sparc64.
2000-12-04 01:49:34 +00:00
mrg
ac9988aef0
remove duplicate function prototypes.
2000-12-04 01:39:04 +00:00
mrg
3806c27f34
sync a comment with sparc64/include/types.h
2000-12-04 01:33:36 +00:00
eeh
2a50931a1c
Turn on TAG QUEUE support and add some debug stuff.
2000-12-03 23:31:13 +00:00
eeh
03e0f9950a
Fix bug in non-dma select code i added.
2000-12-03 23:25:24 +00:00
jlam
9cfd45593f
Set range of memory protected by read/write bus space barriers to the
...
correct size, instead of extending past the mapped region.
2000-12-03 23:15:23 +00:00
simonb
a8a26dd42a
Remove __BROKEN_CONFIG_UNIT_USAGE, not needed on pmax.
2000-12-03 23:00:42 +00:00
fvdl
7c2b9d8515
In addition to setting the softdep flag in the superblock when
...
mounting with softdeps, also explicitly clear it when we don't,
so that a leftover setting after a crash will be cleared.
2000-12-03 19:52:06 +00:00
ad
e931ce9485
Oops.
2000-12-03 15:51:53 +00:00
ad
433cc4cf9e
Nit.
2000-12-03 15:51:36 +00:00
scw
9fc2cc70dc
Include the a.out m68k compatibility module.
2000-12-03 15:40:06 +00:00
scw
2e68384b0c
Back out the previous change after discussion with thorpej and cgd.
2000-12-03 15:38:30 +00:00
scw
53323bf36d
Revert the previous change, after discussion with thorpej and cgd.
2000-12-03 15:37:46 +00:00
fvdl
a21f36eeb2
Make softintr_establish prototype match other ports, avoiding compile
...
warnings.
2000-12-03 14:49:50 +00:00
fvdl
1f04bc7933
TRAPWIN is defined by default in trap.c, don't define it here.
2000-12-03 14:49:14 +00:00
fvdl
c3d820fa5d
Use a copied fktrace syscall arg structure with out 'const int' for the
...
filedescriptor to copy arguments, avoiding a warning. XXX
2000-12-03 14:48:29 +00:00
fvdl
5ce71a2aed
Include opt_* files to make sure prototypes are included.
2000-12-03 14:47:27 +00:00
tsutsui
311a1a842c
Clean up receive interrupt routine:
...
- Use MGETHDR + MCLGET + memcpy rathar than m_devget + m_adj + m_copyback.
- Call bus_dmamap_sync(9) correctly for Rx buffer.
Mostly from thorpej's if_rtp.c.
2000-12-03 14:24:17 +00:00
takemura
1021bf4bf1
Change hf_baseaddr usage. Now it potins frame buffer start address instead
...
of hf_baseadd + hf_offset. You should use hf_baseaddr only in kernel and
you should use hf_offset only with mmap system call from userland.
2000-12-03 13:43:40 +00:00
ad
3bcc9b9f3a
Fix a comment.
2000-12-03 13:34:37 +00:00
ad
9ecde86321
I2O HBAs provide an abstracted view of the bus; use SCBUSIOLLSCAN to give
...
them an oppertunity to re-scan it before we do.
2000-12-03 13:30:36 +00:00
takemura
e7c346ccba
- CRT control exists only in GC01R.
...
- add some symbols.
- fix some typo.
2000-12-03 13:24:33 +00:00
ad
f237da87bf
Hook the iop device in.
2000-12-03 13:19:07 +00:00
ad
af9d4c4fa4
- Only configure un-claimed devices. Implement re-configuration.
...
- Adhere to the spec better in some places. Also, work around some quirks
noted in the Linux I2O code.
- Register event handlers for the executive and RBS devices.
- Fix a number of buglets and tidy a little.
- Implement a message pass-through interface and some other useful ioctls.
2000-12-03 13:17:03 +00:00
fvdl
8537802e8d
Add systm.h to pull in copyout* prototypes.
2000-12-03 13:15:38 +00:00
ad
1e6732dca4
- Force the memory mapping uncacheable.
...
- We don't need a record of the I/O space mapping.
2000-12-03 13:05:14 +00:00
ad
a5248b66cf
Make it possible to detach ld devices.
2000-12-03 13:03:30 +00:00
takemura
94e15f37c8
Cancel previous change and revert to revision 1.35.
...
You can't pmap_steal_memory to allocate proc0 bacase physical memory
detection calls badaddr which needs proc0.
2000-12-03 12:57:37 +00:00
takemura
e678d47b5e
Add #UVMHIST line (commented out).
2000-12-03 12:29:28 +00:00
matt
dc80dfbf5d
Use shared Makefile.mips
2000-12-03 07:59:47 +00:00
matt
cc1a776969
Add DEFGP/CROSSDIR for hpcmips.
2000-12-03 07:55:12 +00:00
matt
b0ffdfd51c
Use shared Makefile.mips
2000-12-03 07:46:43 +00:00
matt
b927e12eee
Remove redundant depend of fp.S
2000-12-03 07:44:43 +00:00
simonb
26ca0704e4
Use shared Makefile.mips
2000-12-03 07:39:34 +00:00
perseant
32d11b86a5
Call uvm_vmp_setsize() in lfs_{fast,}vget to set initial vnode size.
2000-12-03 07:34:49 +00:00
matt
8bddbd2266
Include FP support if NOFPU is *NOT* defined.
2000-12-03 07:21:50 +00:00
matt
825cb46de5
Revert back to a machinearch (really cputype) of mips. Put ENDIAN back.
2000-12-03 07:05:21 +00:00
perseant
72633be8c6
Fix typo in 'malloc' for non-MALLOCLOG case
2000-12-03 06:43:36 +00:00
matt
c1dbeee6d0
Deal with lack of floating point on hpcmips, etc.
2000-12-03 06:04:50 +00:00
perseant
2a53ff5ab9
Get rid of some old unnecessary code that cleared B_NEEDCOMMIT from buffers in
...
lfs_writeseg (possibly after they had been freed).
If MALLOCLOG is defined, make lfs_newbuf and lfs_freebuf pass along the
caller's file and line to _malloc and _free.
2000-12-03 05:56:27 +00:00
matt
866f93d61f
Change arch from mips to mipsel/mipseb as appropriate. Nuke the ENDIAN
...
makeoption. Key off MACHINE_ARCH for adding -EB/-EL to CFLAGS/AFLAGS/LD/
LINKFLAGS.
2000-12-03 05:30:31 +00:00
chs
65a9d68fda
don't forget to set um_lognindir (now required by ufs_bmaparray()).
2000-12-03 05:27:51 +00:00
matt
ecf6f5a91f
Add a POST_STRIP_SYSTEM_LD_FLAGS for mipsco and pmax.
2000-12-03 04:52:38 +00:00
matt
a0a88e0a71
Use shared Makefile.mips
2000-12-03 04:51:26 +00:00
matt
bd338a518c
Deal with -Wstrict-prototypes -Wmissing-prototypes
2000-12-03 04:51:04 +00:00
chs
6944ee458a
in ufs_balloc_range(), don't rely on uvm_vnp_setsize() to invalidate
...
pages we've allocated past the real EOF when we fail to allocate a block.
we used to play games with the VM notion of the file size but we don't do
that anymore, so uvm_vnp_setsize() doesn't do what we want anymore.
call the pager flush op instead.
2000-12-03 03:57:24 +00:00
tsutsui
e89ff0051b
Add some ELF stuff. (not tested)
...
XXX should use MI loadfile(). (see sparc)
2000-12-03 03:35:40 +00:00
tsutsui
b00d07faa9
Enable LOAD_HDR and COUNT_HDR. (would be required on ELF)
2000-12-03 02:56:25 +00:00
tsutsui
99d2177add
Don't try to load a.out header if there is no space for it before text.
2000-12-03 02:53:04 +00:00
matt
5e67131b91
Start using a Makefile.mips. Use a combination of makeoptions and
...
Makefile.sgimips.inc which has sgimips specific stuff.
2000-12-03 02:07:04 +00:00
matt
c77ccc45d8
Make this stuff compile with -wstrict-prototpes -wmissing-prototypes.
...
More use of prototypes inside includes should be done.
2000-12-03 01:42:29 +00:00