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
Søren Schmidt
d9d34030a4
Use %02d in track numbers, so that 1 is 01, much easier for scripts
2002-05-28 17:39:17 +00:00
Bruce Evans
97be9f99d2
Fixed some style bugs in recent commits.
2002-05-28 15:24:13 +00:00
Dag-Erling Smørgrav
6b658142fd
Add some checks to prevent NULL dereferences.
...
Submitted by: jhay
2002-05-28 14:29:56 +00:00
Maxime Henrion
8eb0098f4c
Remove a duplicated vfs_freeopts() that I introduced in last
...
revision.
2002-05-28 13:27:55 +00:00
Benno Rice
c05529221e
The stack is not at the top of the user struct.
2002-05-28 12:31:34 +00:00
Benno Rice
3cdee89f99
Remove an assertion as to whether the current thread already had the FPU or
...
not. It may be desirable to put something similar back, but it's getting in
the way in it's current form.
2002-05-28 12:28:22 +00:00
Benno Rice
60ead00ef8
- Move macros that represent where syscall args are kept in a trapframe from
...
trap.c to frame.h
- Use the macros in vm_machdep.c:cpu_fork() to set up the trap frame of the
new thread.
2002-05-28 12:24:29 +00:00
Benno Rice
8e36f0ec3f
Remove the old prototype for kcopy. It's in cpu.h now.
2002-05-28 09:38:02 +00:00
Marcel Moolenaar
bcd46c600a
Add support to GEOM for GUID Partition Tables (GPTs). The support
...
is currently conditional on both the GEOM and GEOM_GPT options to
avoid getting GPT by default and having the MBR and GPT classes
clash.
The correct behaviour of the MBR class would be to back-off (reject)
a MBR if it's a Protective MBR (a MBR with a single partition of type
0xEE that spans the whole disk (as far as the MBR is concerned).
The correct behaviour if the GPT class would be to back-off (reject)
a GPT if there's a MBR that's not a Protective MBR.
At this stage it's inconvenient to destroy a good MBR when working
with GPTs that it's more convenient to have the MBR class back-off
when it detects the GPT signature on disk and have the GPT class
ignore the MBR.
In sys/gpt.h UUIDs (GUIDs) for the following FreeBSD partitions
have been defined:
GPT_ENT_TYPE_FREEBSD
FreeBSD slice with disklabel. This is the equivalent of
the well-known FreeBSD MBR partition type.
GPT_ENT_TYPE_FREEBSD_{SWAP|UFS|UFS2|VINUM}
FreeBSD partitions in the context of disklabel. This is
speculating on the idea to use the GPT to hold partitions
instead if slices and removing the fixed (and low) limits
we have on the number of partitions.
This commit lacks a GPT image for the regression suite.
2002-05-28 09:04:48 +00:00
Benno Rice
25e2288dd7
Implement pmap_copy and pmap_copy_page.
2002-05-28 07:38:55 +00:00
Benno Rice
37d87c9ff8
Move the kcopy() function from trap.c to machdep.c. Add a prototype.
2002-05-28 07:36:36 +00:00
Dag-Erling Smørgrav
6c533ac713
Add NAI copyright.
2002-05-28 06:53:41 +00:00