Brooks Davis
09d225d8c3
The loop back device hasn't been a count device for a while so remove
...
the number of interfaces.
2002-05-31 06:28:13 +00:00
Mike Silbersack
54e84abb59
Ensure that packet counts are always reset to 0 when
...
a route is cloned. Previously, they took on the count
of their parent route (which was sometimes nonzero.)
Submitted by: Andre Oppermann <oppermann@pipeline.ch>
MFC after: 5 days
2002-05-31 04:27:51 +00:00
Alan Cox
9917e01041
Further work on pushing Giant out of the vm_map layer and down
...
into the vm_object layer:
o Acquire and release Giant in vm_object_shadow() and
vm_object_page_remove().
o Remove the GIANT_REQUIRED assertion preceding vm_map_delete()'s call
to vm_object_page_remove().
o Remove the acquisition and release of Giant around vm_map_lookup()'s
call to vm_object_shadow().
2002-05-31 03:48:55 +00:00
Warner Losh
6f20d5e68f
Use __FreeBSD_version to test what things to use
2002-05-31 03:27:34 +00:00
Takanori Watanabe
6e8f09ca61
Fix build breakage on my pccard related commit.
2002-05-31 01:08:49 +00:00
Marcel Moolenaar
78dff92b6b
Don't use an incomplete array type to mark the start of the padding
...
because the padding should be inserted before the array and not after
it, as is done by GCC 3.1. Instead use an explicit uint32_t field
to get what was intended and on top of that make the size of the
padding explicit. This also doesn't depend on a C99 feature.
While here, expand the comment. Just to make a point.
Pointed out by: fanf
2002-05-31 01:07:13 +00:00
Julian Elischer
a86d27ac85
Add missing unlock
...
Submitted by: dirkx@covalent.net
2002-05-30 23:41:51 +00:00
Semen Ustimenko
f576a00d1b
Remove lock from ffs_vget introduced by v1.24. Instead of locking the
...
vnode creation globaly, we allow processes to create vnodes concurently.
In case of concurent creation of vnode for the one ino, we allow processes
to race and then check who wins.
Assuming that concurent creation of vnode for same ino is really rare case,
this is belived to be an improvement, as it just allows concurent creation
of vnodes.
Idea by: bp
Reviewed by: dillon
MFC after: 1 month
2002-05-30 22:04:17 +00:00
Garrett Wollman
c7c5d95d56
Avoid unintentional trigraph.
2002-05-30 20:53:45 +00:00
Takanori Watanabe
154ce58548
Forget to change lookup function for oldcard side.
2002-05-30 18:48:44 +00:00
Takanori Watanabe
80f1001813
Make oldcard and newcard kernel module work.
2002-05-30 17:38:00 +00:00
Poul-Henning Kamp
eef633a71f
Mistyped and lost a '&' in previous commit.
2002-05-30 16:26:39 +00:00
Poul-Henning Kamp
fe71224650
Don't forget to factor in the boottime when we calculate PPS timestamps.
...
Submitted by: Akira Watanabe <akira@myaw.ei.meisei-u.ac.jp>
2002-05-30 10:34:01 +00:00
Jens Schweikhardt
730a2da5de
Fix a handful of typos and grammar bogons. No content changes.
...
Translators can ignore this commit.
MFC after: 2 weeks
2002-05-30 09:24:01 +00:00
Doug Rabson
99bd783419
Move the definition of ElfN_Hashelt to common headers. The only platform
...
which has a different definition for this is alpha.
2002-05-30 08:32:18 +00:00
Alfred Perlstein
99b9331a4f
Check for defined(__i386__) instead of just defined(i386) since the compiler
...
will be updated to only define(__i386__) for ANSI cleanliness.
2002-05-30 07:32:58 +00:00
Alfred Perlstein
524683999f
correct commented out preprocessor test for i386 to __i386__
2002-05-30 07:28:43 +00:00
Alfred Perlstein
8e5e1ed874
Check for defined(__i386__) instead of just defined(i386) since the compiler
...
will be updated to only define(__i386__) for ANSI cleanliness.
2002-05-30 07:13:40 +00:00
Marcel Moolenaar
fd8706be29
Add compile time asserts for the size of struct gpt_hdr and struct
...
gpt_ent. Use offsetof() for struct gpt_hdr to exclude padding.
2002-05-30 06:33:07 +00:00
Jeff Roberson
7181624aaa
Record the file, line, and pid of the last successful shared lock holder. This
...
is useful as a last effort in debugging file system deadlocks. This is enabled
via 'options DEBUG_LOCKS'
2002-05-30 05:55:22 +00:00
Marcel Moolenaar
2e1cdcf311
o Remove GCC specific attribute packed.
...
o Add incomplete array padding.
2002-05-30 05:44:23 +00:00
Julian Elischer
628855e758
CURSIG() is not a macro so rename it cursig().
...
Obtained from: KSE tree
2002-05-29 23:44:32 +00:00
Jens Schweikhardt
ece450c42f
Fix a handful of typos and grammar bogons. No content changes.
...
Translators can ignore this commit.
MFC after: 2 weeks
2002-05-29 22:57:18 +00:00
David E. O'Brien
31741f8a9e
PHK claims there is a crc32.c now.
2002-05-29 21:58:56 +00:00
Poul-Henning Kamp
fc3f3f6575
For some reason this didn't get added in my previous commit.
2002-05-29 21:58:12 +00:00
David E. O'Brien
22f24d720a
Back out revision 1.639. PHK filed to commit the libkern file.
2002-05-29 21:57:27 +00:00
Garrett Wollman
b3ec920c0e
Version bump for addition of dlfunc(3).
2002-05-29 21:04:25 +00:00
Julian Elischer
2d0231f5da
diff reduction from KSE to keep WW-III from happenning on -current
2002-05-29 20:40:50 +00:00
Matthew Dillon
9424cbcf69
PR: kern/38208
...
X-MFC after: immediate w/ release eng approval.
2002-05-29 20:25:59 +00:00
Poul-Henning Kamp
f4258597dc
Add one copy of crc32() and crc32_tab[] in libkern, and remove it two other
...
places.
Comment out crc32 related definitions in zlib.h, we don't seem to have the
corresponding code in our kernel.
2002-05-29 20:24:09 +00:00
Jake Burkholder
626d38b529
Forgot to commit this file. Catch up to loader->kernel abi changes.
2002-05-29 19:48:03 +00:00
Jake Burkholder
8c7b34b8a3
Add needed include of queue.h. Remove unneeded include of smp.h.
2002-05-29 19:38:49 +00:00
Jake Burkholder
f7e0360261
Forward declare struct trapframe.
2002-05-29 19:25:14 +00:00
Jake Burkholder
819c7d570b
Remove BOOTP_WIRED_TO= since I keep forgetting to take this out and screwing
...
over people with gems.
2002-05-29 19:22:17 +00:00
David E. O'Brien
69d18565e0
Do not refer to the Intel PRO/1000 by its internal name.
...
Requested by: pdeuskar
2002-05-29 18:42:26 +00:00
Brooks Davis
26722a1909
Restore the irq=0 => irq=255 hack to pci_cfgintr_search(). Just having
...
it in pci_cfgregread() wasn't sufficent on at least the HP Omnibook 500.
Reviewed by: imp
2002-05-29 16:16:16 +00:00
Peter Wemm
7550be9c57
The kernel printf does not have %i
2002-05-29 08:25:13 +00:00
Jake Burkholder
a2b4810ee7
Don't try to flush illegal alises from the data cache in vmapbuf and
...
vunmapbuf, this is handled by pmap now.
2002-05-29 06:16:47 +00:00
Jake Burkholder
20bd6675fb
Add an MD page flag for tracking if a page is cacheable or not, so that
...
we don't flush all mappings of a physical page in order to make it
virtually cachable again, if it is already cachable.
2002-05-29 06:12:13 +00:00
Jake Burkholder
468303c500
Remove an unused variable.
2002-05-29 06:10:37 +00:00
Jake Burkholder
1982efc5c2
Merge the code in pv.c into pmap.c directly. Place all page mappings onto
...
the pv lists in the vm_page, even unmanaged kernel mappings. This is so
that the virtual cachability of these mappings can be tracked when a page
is mapped to more than one virtual address. All virtually cachable
mappings of a physical page must have the same virtual colour, or illegal
alises can be created in the data cache. This is a bit tricky because we
still have to recognize managed and unmanaged mappings, even though they
are all on the pv lists.
2002-05-29 06:08:45 +00:00
Jake Burkholder
e793e4d0b3
Add pv list linkage and a pmap pointer to struct tte. Remove separately
...
allocated pv entries and use the linkage in the tte for pv operations.
2002-05-29 05:56:05 +00:00
Jake Burkholder
35738638d6
Use a contrived 'tlb_entry' structure for passing the mappings for the
...
kernel text and data from the loader to the kernel, so that the tte format
is not part of the loader->kernel ABI.
2002-05-29 05:49:59 +00:00
Jake Burkholder
b08270ba0f
Remove pmap.pm_pvlist and make the functions that use it no-ops. These are
...
all optimizations for architectures which have large sparse page tables,
and/or can't put the pv linkage inside of the page table entries.
2002-05-29 05:24:16 +00:00
Marcel Moolenaar
60c6f9b332
Remove the definition of struct mca_guid and use the generic
...
struct uuid defined in <sys/uuid.h>.
Use uuid/UUID instead of guid/GUID to emphasize that the
identifiers are DCE version 1 identifiers and also to avoid
inconsistencies as much a possible.
2002-05-29 05:19:07 +00:00
Marcel Moolenaar
ea71f12b92
Remove bktr for ia64. Same problem as vinum. See PR 38678.
2002-05-29 05:09:51 +00:00
Marcel Moolenaar
ed323145fe
Vinum doesn't build on ia64.
...
See PR: 38678
2002-05-29 04:51:14 +00:00
Marcel Moolenaar
cd84983468
Add attribute packed to struct gpt_hdr to avoid unwanted padding at
...
the end of the struct to make it an integral number of "longs" on
64-bit architectures. The size of the struct must be 92, not 96.
2002-05-29 02:58:41 +00:00
Jake Burkholder
d9f2757eaa
Sync with i386. The loader was being installed before the beforeinstall
...
target, which conventiently moved it to loader.old, leaving no loader.
2002-05-28 23:09:59 +00:00
Josef Karthauser
43c6b63e82
NetBSD have adopted our usage of the DMAADDR macro:
...
date: 2002/05/28 12:42:39; author: augustss;
Change DMAADDR macro slightly.
Update the $NetBSD$ tags to reflect this and make slight changes to
usb_mem.h so that we're in sync with each other.
2002-05-28 20:51:43 +00:00