Rui Paulo
fe0c8f8973
Revert SHLIB_MAJOR to 2.
...
As discussed with kan@, since DTrace is the only consumer of libproc
right now, there's no need for a major shlib bump.
2010-07-31 17:14:54 +00:00
Rui Paulo
fd14f3b4a9
libdtrace, dtrace(1) and lockstat(1) are for i386 and amd64 only right
...
now.
Sponsored by: The FreeBSD Foundation
2010-07-31 17:13:14 +00:00
Rui Paulo
f28bde1aea
Update to the new proc_detach() function.
...
Sponsored by: The FreeBSD Foundation
2010-07-31 17:10:55 +00:00
Rui Paulo
545d9c7007
dtrace(1) now depends on libutil and librtld_db.
...
Sponsored by: The FreeBSD Foundation
2010-07-31 17:09:37 +00:00
Rui Paulo
fb05b66676
Build librtld_db.
...
Sponsored by: The FreeBSD Foundation
2010-07-31 16:12:47 +00:00
Rui Paulo
295790277a
Bump the shared library major version due to ABI conflicts.
...
Sponsored by: The FreeBSD Foundation
2010-07-31 16:11:11 +00:00
Rui Paulo
8eb20f364f
New version of libproc. Changes are:
...
* breakpoint setup support
* register query
* symbol to address mapping and vice-versa
* more misc utility functions based on their Solaris counterpart
Also, I've written some test cases.
Sponsored by: The FreeBSD Foundation
2010-07-31 16:10:20 +00:00
Bjoern A. Zeeb
4579930d2e
MFp4 @181628:
...
Free the rtentry after we diconnected it from the FIB and are counting
it as rttrash. There might still be a chance we leak it from a different
code path but there is nothing we can do about this here.
Sponsored by: ISPsystem (in February)
Reviewed by: julian (in February)
MFC after: 2 weeks
2010-07-31 15:31:23 +00:00
Rui Paulo
7cbb9251a6
Add libproc.
...
Sponsored by: The FreeBSD Foundation
2010-07-31 14:57:33 +00:00
Rui Paulo
a2d3d1e267
Simplify the Makefile. The i386 and amd64 sections are equal.
...
Sponsored by: The FreeBSD Foundation
2010-07-31 14:53:43 +00:00
Rui Paulo
54bb94d764
libproc is going to be i386/amd64 only with the next update.
...
Sponsored by: The FreeBSD Foundation
2010-07-31 14:52:29 +00:00
Rui Paulo
8f19d9820c
Add librtld_db.
...
Sponsored by: The FreeBSD Foundation
2010-07-31 14:36:34 +00:00
Rui Paulo
8589ca8418
Add LIBRTLD_DB.
...
Sponsored by: The FreeBSD Foundation
2010-07-31 14:32:54 +00:00
Konstantin Belousov
13d8eedae7
Report the time left for the sleep on SIGINFO.
...
Be stricter in the checking of interval specification.
PR: bin/139345
MFC after: 3 weeks
2010-07-31 14:30:11 +00:00
Rui Paulo
cb31498865
Import the librtld_db library. This is needed by userland DTrace.
...
This is not yet enabled in the build because I also need to import a new
version of libproc.
Sponsored by: The FreeBSD Foundation
2010-07-31 14:26:10 +00:00
Nathan Whitehorn
2c16c8d7e5
Add support for the IBM Full-System Simulator (Mambo). This code has been
...
developed against the 970 and Cell simulators.
2010-07-31 13:22:34 +00:00
Joel Dahl
b06cfd40f9
Fix a bunch of typos and spelling mistakes.
2010-07-31 12:14:28 +00:00
Joel Dahl
9ba4735280
Spelling fixes.
2010-07-31 10:01:15 +00:00
Rui Paulo
8b297c1fbd
pci_if.h is required to build atacore.
2010-07-31 00:08:18 +00:00
Andre Oppermann
28a53f037a
Fix a bug in syncache where the initial CWND for new incoming connections
...
was limited to one segment under the faulty assumption of a retransmit.
Due to this the opportunity to initialize the increased congestion window
according to RFC3390 was missed.
Support for RFC3465 introduced in r187289 uncovered the bug as the ACK
to SYN/ACK no longer caused snd_cwnd increase by MSS (actually, this
increase shouldn't happen as it's explicitly forbidden by RFC3390, but
it's another issue). Snd_cwnd remains really small (1*MSS + 1) and this
causes really bad interaction with delayed acks on other side.
The variable name sc_rxmits is a bit misleading as it counts all transmits,
not just retransmits.
Submitted by: Maxim Dounin <mdounin-at-mdounin-dot-ru>
MFC after: 10 days
2010-07-30 21:45:53 +00:00
Xin LI
16430b12a3
In rdmsr_safe, use zero extend (by doing a 32-bit movl over
...
eax to itself) instead of a sign extend.
Discussed with: stas
MFC after: 1 month
2010-07-30 21:39:28 +00:00
Matthew D Fleming
f6daba8329
Add MALLOC_DEBUG_MAXZONES=8 to powerpc64 GENERIC configuration file.
...
Requested by: nwhitehorn
Approved by: zml (mentor)
2010-07-30 20:25:04 +00:00
Ulrich Spörlein
684eaf44c0
Fix indention of attribution line for some recent additions.
...
MFC after: 3 days
2010-07-30 20:20:14 +00:00
Xin LI
e5fdd9de2c
Change copyright holder to author. We prefer using a real legal
...
entity for copyright holders.
Approved by: sephe
MFC after: 3 days
2010-07-30 17:51:22 +00:00
Rui Paulo
b4d22b2cb9
Add missing escape characthers.
...
Pointed out by: b.f.
2010-07-30 15:25:57 +00:00
Joel Dahl
a4f5b3dfeb
Fix spelling.
2010-07-30 14:05:20 +00:00
Doug Rabson
1df9a68303
A simple test harness to help debug problems with the ZFS boot code.
2010-07-30 13:54:15 +00:00
Ulrich Spörlein
06d85cc61f
gsched(8) was first released with FreeBSD 8.1
...
MFC after: 3 days
2010-07-30 12:56:34 +00:00
Jayachandran C.
55bf3928c0
n64 support - enable UX bit in STATUS for kernel and userspace.
...
- enable UX in kernel start, and kernel entry
- keep UX flag in cpu_fork and cpu_set_upcall
- enable UX for userspace
2010-07-30 12:45:00 +00:00
Ulrich Spörlein
32ba16b6e6
Fix a couple of typos.
...
PR: docs/148891
Submitted by: olgeni
MFC after: 1 week
2010-07-30 11:58:18 +00:00
Gabor Kovesdan
2759539b90
- Add Ukranian catalog
...
Submitted by: Alex Kozlov <spam@rm-rf.kiev.ua>
2010-07-30 11:07:24 +00:00
Jayachandran C.
654969d149
MIPS n64 support - support kstack in XKSEG.
...
- enable KX on entry from user-space, we need KX set to save to XKSEG
addresses.
- add MIPS_XKSEG_START to genassym.c
- Add n64 case for swth.S
2010-07-30 09:38:47 +00:00
Ulrich Spörlein
3f2b3942c9
Fix typo in pom(6) manpage
...
PR: docs/148825
Submitted by: Anatoly Borodin
MFC after: 1 week
2010-07-30 09:34:40 +00:00
Rui Paulo
3a1134997b
Fix previous commit: I forgot to include parenthesis.
...
Submitted by: anonymous
2010-07-30 08:52:19 +00:00
Pyun YongHyeon
f39cf57f91
Consistently check header type after reading PCIR_HDRTYPE register.
...
While I'm here use defined macro instead of using magic numbers for
header type.
Reviewed by: jhb
2010-07-29 20:42:38 +00:00
Konstantin Belousov
4782e51e14
Add compat32 shims for opencrypto(4).
...
Reviewed by: bz
MFC after: 3 weeks
2010-07-29 20:42:20 +00:00
Jayachandran C.
42963f5a48
Update rge driver for 64 bit kernel.
...
- stored virtual addresses should be 64bit
- physical memory can be directly accessed using XKPHYS pointers in 64 bit.
- no need to enable KX
2010-07-29 20:41:40 +00:00
Jayachandran C.
4c4a1ce8f8
64 bit support for MIPS rtld.
...
- Handle the case where pltgot[1] is 64 bit.
- use 'ifdef __mips_n64' instead of 'ELFSIZE == 64' to detect 64 bit compile.
2010-07-29 20:18:52 +00:00
Pawel Jakub Dawidek
3d3063c0b3
Fix typo.
...
PR: docs/149033
Submitted by: Kolar <hsn@sendmail.cz>
MFC after: 3 days
2010-07-29 20:16:12 +00:00
Jayachandran C.
fbbf115e35
Prepare for 3 level page tables for MIPS.
...
- Move page table second level shift and mask to param.h
- rename SEGOFSET to SEGMASK
- fix values for 64 bit maximum kernel and user addresses.
2010-07-29 20:02:56 +00:00
Jayachandran C.
a9ec9e9b03
Add fuiword() in n64 for completeness.
2010-07-29 19:47:15 +00:00
Jayachandran C.
9f91a43769
MIPS 64 bit support. Define fuword64() for n64 compilation, fuword() should
...
be fuword64() in 64 bit.
2010-07-29 19:14:06 +00:00
Xin LI
a3bc0a4e5c
Improve cputemp(4) driver wrt newer Intel processors, especially
...
Xeon 5500/5600 series:
- Utilize IA32_TEMPERATURE_TARGET, a.k.a. Tj(target) in place
of Tj(max) when a sane value is available, as documented
in Intel whitepaper "CPU Monitoring With DTS/PECI"; (By sane
value we mean 70C - 100C for now);
- Print the probe results when booting verbose;
- Replace cpu_mask with cpu_stepping;
- Use CPUID_* macros instead of rolling our own.
Approved by: rpaulo
MFC after: 1 month
2010-07-29 19:08:22 +00:00
John Baldwin
536af0d751
Mark the __curthread() functions as __pure2 and remove the volatile keyword
...
from the inline assembly. This allows the compiler to cache invocations of
curthread since it's value does not change within a thread context.
Submitted by: zec (i386)
MFC after: 1 week
2010-07-29 18:44:10 +00:00
Gabor Kovesdan
97a012f24a
- Some minor changes to the messages to increase usefulness of error msgs
...
Reviewed by: hrs (Japanese catalogs),
pluknet <pluknet at gmail dot com> (Russian catalog)
Approved by: delphij (mentor)
2010-07-29 18:02:57 +00:00
George V. Neville-Neil
ee6a02813b
Make sure that we clear the correct bits when we turn off
...
a PMC. It was possible that we could have turned a bit on but
never cleared it.
Extend the calls to rdmsr() to all necessary functions, not
just those which previously caused a panic.
Pointed out by: jhb@
MFC after: 1 week
2010-07-29 17:52:23 +00:00
John Baldwin
6676877bd9
When performing a sanity check on the SRAT table to ensure that each
...
memory domain has an assigned CPU, ignore disabled CPUs. Previously
disabled CPUs were counted as being in domain 0.
Reported by: mdf
2010-07-29 17:37:35 +00:00
Jung-uk Kim
994ce54d01
MFamd64: r210615
...
Fix another fallout from r208833. savectx() is used to save CPU context
for crash dump (dumppcb) and kdb (stoppcbs). For both cases, we cannot
have a valid pointer in pcb_save. This should restore the previous
behaviour.
2010-07-29 17:00:41 +00:00
Jung-uk Kim
9727ca6a77
Fix another fallout from r208833. savectx() is used to save CPU context
...
for crash dump (dumppcb) and kdb (stoppcbs). For both cases, there cannot
have a valid pointer in pcb_save. This should restore the previous
behaviour.
2010-07-29 16:49:20 +00:00
Jung-uk Kim
39381048f0
Rename PCB_USER_FPU to PCB_USERFPU not to clash with a macro from fpu.h.
2010-07-29 16:41:21 +00:00