Commit Graph

55660 Commits

Author SHA1 Message Date
tron
d45825cf63 Remove check for size of field "d_off" in Linux "dirent" structure because
this problem cannot happen with the 64Bit version of the getdents().
2002-05-10 14:51:26 +00:00
tron
352c1fa967 Fix off by one error in check for size of field "d_off" in Linux
"dirent" structure.
2002-05-10 14:49:38 +00:00
tron
add83289ca Move implementation of linux_sys_getdents64() to source file for
Linux 64bit filesystem calls.
2002-05-10 14:38:08 +00:00
lukem
e34d4e21de fix comment 2002-05-10 11:07:01 +00:00
enami
293906a53a Redo rev. 1.57 a bit different way; don't use `tpg' since it may be freed.
Subtract the number of pages behind us when calculating new offset instead.
2002-05-10 07:51:37 +00:00
itojun
861dfdc294 disable ipsec policy caching on pcb, as it seems that there's some reference-
counting mistake that causes panic - see PR 15953 and 13813.

i am unable to find the real cause of problem, so it is a shortterm workaround,
hopefully.
2002-05-10 05:49:21 +00:00
thorpej
51ea83a9f5 Remove last vestiges of procfs references. Problem pointed out
by Geoff Wing <mason@primenet.com.au>.
2002-05-10 05:45:50 +00:00
itojun
d7669537a8 remove unneeded #ifdef __FreeBSD__ portion. 2002-05-10 05:38:29 +00:00
enami
911c9febb2 Don't modify the local variable `n' in genfs_putpages(). It should contain
the number of elements in the page array at the beginning of every iteration.
2002-05-10 02:51:44 +00:00
augustss
2acf4c8462 Use callout init macro. 2002-05-09 21:54:32 +00:00
fredette
c857df5775 When preparing to swap to a miniroot partition, add a little
padding to our estimate of the miniroot's size, to avoid
overwriting it.
2002-05-09 21:43:44 +00:00
jdolecek
63c597b71a This is now in distrib/acorn32/stand/BtNetBSD. 2002-05-09 20:23:08 +00:00
matt
48d39d805c Print out interrupt we attached to. 2002-05-09 20:20:18 +00:00
atatat
de7144e830 Maintain a short list of the actual descriptors that were closed and
log that intead of being ambiguous about which of 0, 1, and/or 2 it
was that was closed.
2002-05-09 17:57:07 +00:00
thorpej
b6950c9729 Mirror cleanup wrt. procfs-centric naming made to the MI ptrace code. 2002-05-09 16:28:11 +00:00
thorpej
f1f51aa2b8 Move code shared by procfs and the kernel proper out of procfs and
into the kernel proper (renaming functions from procfs_* to process_*).
2002-05-09 15:44:44 +00:00
uch
8db367d98c remove trap.h 2002-05-09 12:42:08 +00:00
uch
aade7a10ce cosmetic changes 2002-05-09 12:41:09 +00:00
uch
3d97be3a02 add #ifdef SH3, SH4 2002-05-09 12:40:03 +00:00
uch
e51ba214c5 mdsetimage ram-disk kernel setting 2002-05-09 12:39:24 +00:00
uch
1cbf8597ef adapt to new pmap code. 2002-05-09 12:37:58 +00:00
uch
242aff8afc adapt to new pmap. 2002-05-09 12:36:17 +00:00
uch
0aaff2a14f IOM_RAM_BEGIN is changed to specify physical address. 2002-05-09 12:35:44 +00:00
uch
20ac353f38 adapt to new pmap. 2002-05-09 12:34:53 +00:00
uch
9e6860e202 IOM_RAM_BEGIN is changed to specify physical address. 2002-05-09 12:34:20 +00:00
uch
7571effdda adapt to new pmap. 2002-05-09 12:33:18 +00:00
uch
303d5b61d8 change bootstrap stack to below the 'start' 2002-05-09 12:32:55 +00:00
uch
3a1a0b37af IOM_RAM_BEGIN is changed to specify physical address. 2002-05-09 12:32:09 +00:00
uch
cee1a2f41a remove unused macro. 2002-05-09 12:31:38 +00:00
uch
2ca56b0d33 remove postsig. postsig is called by ast(). 2002-05-09 12:31:19 +00:00
uch
d5020bf906 remove obsolete interface. add defines for inquire cache feature. 2002-05-09 12:30:45 +00:00
uch
44b57799f2 fix comment 2002-05-09 12:30:11 +00:00
uch
4c73523c72 suitable for SH3/SH4 memory architecture.
support non-contiguos memory banks.
2002-05-09 12:29:48 +00:00
uch
c34e1b1ad5 adapted to pmap and exception code changes. 2002-05-09 12:29:16 +00:00
uch
5cf2727a95 new pmap designed for SH3/SH4. 2002-05-09 12:28:08 +00:00
uch
bf93dc9b4c remove obsoleted functions. add sh_tlb_update() for update TLB.
MMU mode is changed to multiple virtual storage mode for new pmap code.
2002-05-09 12:27:04 +00:00
uch
fa6d5570e7 fix ASID mask define 2002-05-09 12:26:16 +00:00
uch
944192661c s/trapno/expevt/ for clarity. 2002-05-09 12:25:41 +00:00
uch
d610fecf0f rework general exception, and TLB exception handling for new pmap.
all exception staffs are moved to exception.[ch]
2002-05-09 12:24:19 +00:00
enami
e3cc9c0682 When traversing by list, if the page next to us is a page in the cluster,
advance the pointer.
2002-05-09 07:22:09 +00:00
jdolecek
77003c3fea seems like a ``cd .'' is necessary in non-interactive shell
to get PWD set in /bin/sh

XXX this should really be converted to Makefile, and avoid non-intree
XXX tools like zip
2002-05-09 07:18:46 +00:00
enami
fabaf9a730 - In genfs_putpages(), no need to restrict the cluster within the given
region.
- In uvm_aio_aiodone(), remove assertions no longer true.
2002-05-09 07:14:37 +00:00
enami
6ceef3fc14 In uao_put(), if we wait for the busy page owned by someone else,
we can't simply reuse the pointor to the page.  Instead, we need to
acquire it again.  So, rearrange the loop like genfs_putpages() does.
Reviewed by chuq.
2002-05-09 07:04:23 +00:00
itojun
31a6ad2757 backout 1.72. it is not correct for the kernel to remove routes by itself,
and the code was buggy (dereferenced null pointer when IFAFREE removes the
route).
2002-05-09 06:49:15 +00:00
simonb
5457f78a34 Don't bother testing if a uint8_t is > 256 -- that test is always false. 2002-05-09 02:44:39 +00:00
thorpej
3e669d3bca * Increase the number of Tx job queue entries from 32 to 64.
* Garbage-collect some unused stuff.
* Make the Tx window slide along the Tx job queue space, not the
  Tx descriptor space.  We are more likely to run low on DMA maps
  than we are hardware descriptors.
2002-05-09 01:00:12 +00:00
matt
983a0a0749 LMC_CTL_LEN1 and LMC_CTL_LEN2 extracted each other's fields. Stop doing
that.
2002-05-09 00:58:45 +00:00
thorpej
3ce23a4ac6 * Instrument the number of times we force a Tx interrupt.
* When forcing an interrupt, make sure that interrupt-delay-enable is
  cleared (necessary with last change to make sure it's set for all
  descriptors).
* Crank up the Transmit Interrupt Delay Value to 1024 * 1.024 msec.  We
  really want these to be deferred.
2002-05-09 00:41:06 +00:00
thorpej
7d3e137a0c Hard-wire CLKF_BASEPRI() to 0 on the ARM, since spllowersoftclock() might
not actually be able to unblock the interrupt, which would cause us
to run the softclock interrupts with hardclock blocked.

Per discussion w/ Charles Hannum.
2002-05-08 22:22:46 +00:00
thorpej
88f6c3663b Don't set WTX_TCPIP_CMD_TCP or WTX_TCPIP_CMD_IP in the TCP/IP context
descriptor.  Those are apparently only valid if using the Cordova's
"segmentation offload" feature.
2002-05-08 21:43:10 +00:00