Skip site navigation (1)Skip section navigation (2)

CVS log for src/sys/amd64/include/reg.h

[BACK] Up to [FreeBSD] / src / sys / amd64 / include

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.42.2.1.2.1: download - view: text, markup, annotated - select for diffs
Fri Nov 11 04:20:22 2011 UTC (2 months, 4 weeks ago) by kensmith
Branches: RELENG_9_0
CVS tags: RELENG_9_0_0_RELEASE
Diff to: previous 1.42.2.1: preferred, colored
Changes since revision 1.42.2.1: +0 -0 lines
SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith

Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
cycle.

Approved by:	re (implicit)

Revision 1.42.2.1: download - view: text, markup, annotated - select for diffs
Fri Sep 23 00:51:37 2011 UTC (4 months, 2 weeks ago) by kensmith
Branches: RELENG_9
CVS tags: RELENG_9_0_BP
Branch point for: RELENG_9_0
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +0 -0 lines
SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by:	re (implicit)

Revision 1.39.2.4: download - view: text, markup, annotated - select for diffs
Wed Mar 2 22:44:04 2011 UTC (11 months, 1 week ago) by dchagin
Branches: RELENG_8
Diff to: previous 1.39.2.3: preferred, colored; branchpoint 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39.2.3: +2 -0 lines
SVN rev 219211 on 2011-03-02 22:44:04Z by dchagin

Direct commit: fix cryptodev module build when COMPAT_FREEBSD32 option
is enabled. To avoid header pollution put trapframe declaration here.

Noticed by:	kib
Pointyhat to:	me

Revision 1.39.2.3: download - view: text, markup, annotated - select for diffs
Wed Mar 2 20:04:54 2011 UTC (11 months, 1 week ago) by dchagin
Branches: RELENG_8
Diff to: previous 1.39.2.2: preferred, colored; branchpoint 1.39: preferred, colored
Changes since revision 1.39.2.2: +1 -0 lines
SVN rev 219204 on 2011-03-02 20:04:54Z by dchagin

MFC r218744:
To avoid excessive code duplication create wrapper for fill regs
from stack frame. Change the trap() code to use newly created function
instead of explicit regs assignment.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Wed Feb 16 17:50:21 2011 UTC (11 months, 3 weeks ago) by dchagin
Branches: MAIN
CVS tags: RELENG_9_BP, HEAD
Branch point for: RELENG_9
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +1 -0 lines
SVN rev 218744 on 2011-02-16 17:50:21Z by dchagin

To avoid excessive code duplication create wrapper for fill regs
from stack frame. Change the trap() code to use newly created function
instead of explicit regs assignment.

Revision 1.38.12.1: download - view: text, markup, annotated - select for diffs
Tue Dec 21 17:10:29 2010 UTC (13 months, 2 weeks ago) by kensmith
Branches: RELENG_7_4
CVS tags: RELENG_7_4_0_RELEASE
Diff to: previous 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38: +0 -0 lines
SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith

Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release.

Approved by:	re (implicit)

Revision 1.39.2.2.4.1: download - view: text, markup, annotated - select for diffs
Tue Dec 21 17:09:25 2010 UTC (13 months, 2 weeks ago) by kensmith
Branches: RELENG_8_2
CVS tags: RELENG_8_2_0_RELEASE
Diff to: previous 1.39.2.2: preferred, colored; next MAIN 1.39.2.3: preferred, colored
Changes since revision 1.39.2.2: +0 -0 lines
SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith

Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release.

Approved by:	re (implicit)

Revision 1.39.2.2.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 14 02:09:06 2010 UTC (19 months, 4 weeks ago) by kensmith
Branches: RELENG_8_1
CVS tags: RELENG_8_1_0_RELEASE
Diff to: previous 1.39.2.2: preferred, colored; next MAIN 1.39.2.3: preferred, colored
Changes since revision 1.39.2.2: +0 -0 lines
SVN rev 209145 on 2010-06-14 02:09:06Z by kensmith

Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.

Approved by:	re (implicit)

Revision 1.39.2.2: download - view: text, markup, annotated - select for diffs
Wed Apr 7 02:24:41 2010 UTC (22 months ago) by nwhitehorn
Branches: RELENG_8
CVS tags: RELENG_8_2_BP, RELENG_8_1_BP
Branch point for: RELENG_8_2, RELENG_8_1
Diff to: previous 1.39.2.1: preferred, colored; branchpoint 1.39: preferred, colored
Changes since revision 1.39.2.1: +9 -0 lines
SVN rev 206336 on 2010-04-07 02:24:41Z by nwhitehorn

MFC r205014,205015:

Provide groundwork for 32-bit binary compatibility on non-x86 platforms,
for upcoming 64-bit PowerPC and MIPS support. This renames the COMPAT_IA32
option to COMPAT_FREEBSD32, removes some IA32-specific code from MI parts
of the kernel and enhances the freebsd32 compatibility code to support
big-endian platforms.

This MFC is required for MFCs of later changes to the freebsd32
compatibility from HEAD.

Requested by:	kib

Revision 1.41: download - view: text, markup, annotated - select for diffs
Mon Mar 29 18:47:04 2010 UTC (22 months, 1 week ago) by jhb
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +1 -1 lines
SVN rev 205850 on 2010-03-29 18:47:04Z by jhb

Cosmetic tweak to use a type suffix instead of a cast to force a constant
to be a long.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Thu Mar 11 14:49:06 2010 UTC (23 months ago) by nwhitehorn
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +9 -0 lines
SVN rev 205014 on 2010-03-11 14:49:06Z by nwhitehorn

Provide groundwork for 32-bit binary compatibility on non-x86 platforms,
for upcoming 64-bit PowerPC and MIPS support. This renames the COMPAT_IA32
option to COMPAT_FREEBSD32, removes some IA32-specific code from MI parts
of the kernel and enhances the freebsd32 compatibility code to support
big-endian platforms.

Reviewed by:	kib, jhb

Revision 1.38.10.1: download - view: text, markup, annotated - select for diffs
Wed Feb 10 00:26:20 2010 UTC (2 years ago) by kensmith
Branches: RELENG_7_3
CVS tags: RELENG_7_3_0_RELEASE
Diff to: previous 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38: +0 -0 lines
SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith

Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process.

Approved by:	re (implicit)

Revision 1.39.2.1.2.1: download - view: text, markup, annotated - select for diffs
Sun Oct 25 01:10:29 2009 UTC (2 years, 3 months ago) by kensmith
Branches: RELENG_8_0
CVS tags: RELENG_8_0_0_RELEASE
Diff to: previous 1.39.2.1: preferred, colored; next MAIN 1.39.2.2: preferred, colored
Changes since revision 1.39.2.1: +0 -0 lines
SVN rev 198460 on 2009-10-25 01:10:29Z by kensmith

Copy stable/8 to releng/8.0 as part of 8.0-RELEASE release procedure.

Approved by:	re (implicit)

Revision 1.39.2.1: download - view: text, markup, annotated - select for diffs
Mon Aug 3 08:13:06 2009 UTC (2 years, 6 months ago) by kensmith
Branches: RELENG_8
CVS tags: RELENG_8_0_BP
Branch point for: RELENG_8_0
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +0 -0 lines
SVN rev 196045 on 2009-08-03 08:13:06Z by kensmith

Copy head to stable/8 as part of 8.0 Release cycle.

Approved by:	re (Implicit)

Revision 1.38.8.1: download - view: text, markup, annotated - select for diffs
Wed Apr 15 03:14:26 2009 UTC (2 years, 9 months ago) by kensmith
Branches: RELENG_7_2
CVS tags: RELENG_7_2_0_RELEASE
Diff to: previous 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38: +0 -0 lines
SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith

Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.

Approved by:	re (implicit)

Revision 1.39: download - view: text, markup, annotated - select for diffs
Wed Apr 1 12:44:17 2009 UTC (2 years, 10 months ago) by kib
Branches: MAIN
CVS tags: RELENG_8_BP
Branch point for: RELENG_8
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +6 -2 lines
SVN rev 190616 on 2009-04-01 12:44:17Z by kib

Add all segment registers for the amd64 CPU to struct reg and mcontext.
To keep these structures ABI-compatible, half the size of r_trapno,
r_err, mc_trapno, mc_flags.

Add fsbase and gsbase to mcontext on both amd64 and i386.
Add flags to amd64 mcontext to indicate that it contains valid segments
or bases.

In collaboration with:	pho
Discussed with:	peter
Reviewed by:	jhb

Revision 1.38.6.1: download - view: text, markup, annotated - select for diffs
Tue Nov 25 02:59:29 2008 UTC (3 years, 2 months ago) by kensmith
Branches: RELENG_7_1
CVS tags: RELENG_7_1_0_RELEASE
Diff to: previous 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38: +0 -0 lines
SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith

Create releng/7.1 in preparation for moving into RC phase of 7.1 release
cycle.

Approved by:	re (implicit)

Revision 1.35.20.1: download - view: text, markup, annotated - select for diffs
Thu Oct 2 02:57:24 2008 UTC (3 years, 4 months ago) by kensmith
Branches: RELENG_6_4
CVS tags: RELENG_6_4_0_RELEASE
Diff to: previous 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35: +0 -0 lines
SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith

Create releng/6.4 from stable/6 in preparation for 6.4-RC1.

Approved by:	re (implicit)

Revision 1.38: download - view: text, markup, annotated - select for diffs
Fri Nov 17 20:27:01 2006 UTC (5 years, 2 months ago) by jhb
Branches: MAIN
CVS tags: RELENG_7_BP, RELENG_7_4_BP, RELENG_7_3_BP, RELENG_7_2_BP, RELENG_7_1_BP, RELENG_7_0_BP, RELENG_7_0_0_RELEASE, RELENG_7_0, RELENG_7
Branch point for: RELENG_7_4, RELENG_7_3, RELENG_7_2, RELENG_7_1
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +1 -0 lines
Add support for 8 byte hardware watches in long mode.  Kernel hardware
watches support 8 byte watches.  For userland, we disallow 8 byte watches
for 32-bit tasks.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Fri Nov 17 19:20:31 2006 UTC (5 years, 2 months ago) by jhb
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +12 -0 lines
- Add macro constants for the various fields in %dr7 and use them in place
  of various scattered magic values.
- Pretty print the address of hardware watchpoints in 'show watch' rather
  than just displaying hex.
- Expand address field width on amd64 for 64-bit pointers.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Wed Nov 15 19:53:48 2006 UTC (5 years, 2 months ago) by jhb
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +7 -5 lines
Various whitespace and style fixes.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Mon Apr 5 23:55:14 2004 UTC (7 years, 10 months ago) by imp
Branches: MAIN
CVS tags: RELENG_6_BP, RELENG_6_4_BP, RELENG_6_3_BP, RELENG_6_3_0_RELEASE, RELENG_6_3, RELENG_6_2_BP, RELENG_6_2_0_RELEASE, RELENG_6_2, RELENG_6_1_BP, RELENG_6_1_0_RELEASE, RELENG_6_1, RELENG_6_0_BP, RELENG_6_0_0_RELEASE, RELENG_6_0, RELENG_6, RELENG_5_BP, RELENG_5_5_BP, RELENG_5_5_0_RELEASE, RELENG_5_5, RELENG_5_4_BP, RELENG_5_4_0_RELEASE, RELENG_5_4, RELENG_5_3_BP, RELENG_5_3_0_RELEASE, RELENG_5_3, RELENG_5
Branch point for: RELENG_6_4
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +0 -4 lines
Remove advertising clause from University of California Regent's license,
per letter dated July 22, 1999 and email from Peter Wemm.

Approved by: core, peter

Revision 1.34: download - view: text, markup, annotated - select for diffs
Wed Jan 28 23:54:31 2004 UTC (8 years ago) by peter
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +14 -1 lines
Add dbreg struct definitions for /proc/*/dbregs and a place to store the
registers in the pcb

Revision 1.33: download - view: text, markup, annotated - select for diffs
Sat Nov 8 04:39:22 2003 UTC (8 years, 3 months ago) by peter
Branches: MAIN
CVS tags: RELENG_5_2_BP, RELENG_5_2_1_RELEASE, RELENG_5_2_0_RELEASE, RELENG_5_2
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +1 -0 lines
Update the graffiti.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Sat Nov 8 02:39:46 2003 UTC (8 years, 3 months ago) by peter
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +1 -1 lines
Rename npx* to fpu*.  I haven't done the flags/function names yet.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Fri May 23 06:31:56 2003 UTC (8 years, 8 months ago) by peter
Branches: MAIN
CVS tags: RELENG_5_1_BP, RELENG_5_1_0_RELEASE, RELENG_5_1
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +1 -0 lines
As suggested by the gdb folks, pad the 'struct fpreg' to a full 512 bytes
to match the native fxsave/fxrstor object size since thats apparently what
the Linux/NetBSD folks do.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Thu May 1 01:05:23 2003 UTC (8 years, 9 months ago) by peter
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +26 -76 lines
Commit MD parts of a loosely functional AMD64 port.  This is based on
a heavily stripped down FreeBSD/i386 (brutally stripped down actually) to
attempt to get a stable base to start from.  There is a lot missing still.
Worth noting:
- The kernel runs at 1GB in order to cheat with the pmap code.  pmap uses
  a variation of the PAE code in order to avoid having to worry about 4
  levels of page tables yet.
- It boots in 64 bit "long mode" with a tiny trampoline embedded in the
  i386 loader.  This simplifies locore.s greatly.
- There are still quite a few fragments of i386-specific code that have
  not been translated yet, and some that I cheated and wrote dumb C
  versions of (bcopy etc).
- It has both int 0x80 for syscalls (but using registers for argument
  passing, as is native on the amd64 ABI), and the 'syscall' instruction
  for syscalls.  int 0x80 preserves all registers, 'syscall' does not.
- I have tried to minimize looking at the NetBSD code, except in a couple
  of places (eg: to find which register they use to replace the trashed
  %rcx register in the syscall instruction).  As a result, there is not a
  lot of similarity.  I did look at NetBSD a few times while debugging to
  get some ideas about what I might have done wrong in my first attempt.

Revision 1.22.2.2: download - view: text, markup, annotated - select for diffs
Thu Nov 7 22:47:55 2002 UTC (9 years, 3 months ago) by alfred
Branches: old_RELENG_4
CVS tags: old_RELENG_4_8_BP, old_RELENG_4_8_0_RELEASE, old_RELENG_4_8
Diff to: previous 1.22.2.1: preferred, colored; branchpoint 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22.2.1: +2 -2 lines
MFC: 1.29 (fix DBREG_DRX macro)

Revision 1.29: download - view: text, markup, annotated - select for diffs
Thu Nov 7 22:42:31 2002 UTC (9 years, 3 months ago) by alfred
Branches: MAIN
CVS tags: old_RELENG_5_0_BP, old_RELENG_5_0_0_RELEASE, old_RELENG_5_0
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +1 -1 lines
Properly parenthesize the DBREG_DRX macro's variables to allow for
DBREG_DRX(&dbregs, n) usage.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Sun Oct 20 20:48:56 2002 UTC (9 years, 3 months ago) by phk
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +6 -9 lines
Change the definition of the debugging registers to be an array, so
that we can index into it, rather than do pointer gymnastics on a
structure containing 8 elements.

Verified by:	MD5 hash on the produced .o files.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Thu Aug 29 06:17:46 2002 UTC (9 years, 5 months ago) by jake
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +0 -1 lines
Renamed poorly named setregs to exec_setregs.  Moved its prototype to
imgact.h with the other exec support functions.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Wed Mar 20 05:48:58 2002 UTC (9 years, 10 months ago) by alfred
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +7 -7 lines
Remove __P.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Sun Oct 21 22:16:47 2001 UTC (10 years, 3 months ago) by des
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +7 -4 lines
[partially forced commit due to pilot error in earlier commit attempt]

{set,fill}_{,fp,db}regs() fixup:

 - Add dummy {set,fill}_dbregs() on architectures that don't have them.

 - KSEfy the powerpc versions (struct proc -> struct thread).

 - Some architectures had the prototypes in md_var.h, some in reg.h, and
   some in both; for consistency, move them to reg.h on all platforms.

These functions aren't really MD (the implementation is MD, but the interface
is MI), so they should move to an MI header, but I haven't figured out which
one yet.

Run-tested on i386, build-tested on Alpha, untested on other platforms.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Wed Sep 12 08:37:33 2001 UTC (10 years, 5 months ago) by julian
Branches: MAIN
CVS tags: old_KSE_MILESTONE_2
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +5 -5 lines
KSE Milestone 2
Note ALL MODULES MUST BE RECOMPILED
make the kernel aware that there are smaller units of scheduling than the
process. (but only allow one thread per process at this time).
This is functionally equivalent to teh previousl -current except
that there is a thread associated with each process.

Sorry john! (your next MFC will be a doosie!)

Reviewed by: peter@freebsd.org, dillon@freebsd.org

X-MFC after:    ha ha ha ha

Revision 1.22.2.1: download - view: text, markup, annotated - select for diffs
Sat Oct 21 01:42:52 2000 UTC (11 years, 3 months ago) by bsd
Branches: old_RELENG_4
CVS tags: old_RELENG_4_7_BP, old_RELENG_4_7_0_RELEASE, old_RELENG_4_7, old_RELENG_4_6_BP, old_RELENG_4_6_2_RELEASE, old_RELENG_4_6_1_RELEASE, old_RELENG_4_6_0_RELEASE, old_RELENG_4_6, old_RELENG_4_5_BP, old_RELENG_4_5_0_RELEASE, old_RELENG_4_5, old_RELENG_4_4_BP, old_RELENG_4_4_0_RELEASE, old_RELENG_4_4, old_RELENG_4_3_BP, old_RELENG_4_3_0_RELEASE, old_RELENG_4_3, old_RELENG_4_2_0_RELEASE
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +7 -1 lines
MFC: #define's and prototypes for ia32 debug register helper
     functions.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Thu Sep 21 17:07:27 2000 UTC (11 years, 4 months ago) by bsd
Branches: MAIN
CVS tags: old_KSE_PRE_MILESTONE_2
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +7 -1 lines
Add a couple of debug register helper functions to assist in setting
and clearing watchpoints.

Reviewed by:	jwd@FreeBSD.org, -hackers@

Revision 1.22: download - view: text, markup, annotated - select for diffs
Sat Feb 12 18:33:54 2000 UTC (12 years ago) by obrien
Branches: MAIN
CVS tags: old_RELENG_4_BP, old_RELENG_4_1_1_RELEASE, old_RELENG_4_1_0_RELEASE, old_RELENG_4_0_0_RELEASE, old_PRE_SMPNG
Branch point for: old_RELENG_4
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +4 -1 lines
Document the support in the kernel for hardware debug registers on the
ix86 platform which allows for hardware watchpoints, etc...

Submitted by:	Brian Dean <brdean@unx.sas.com>

Revision 1.21: download - view: text, markup, annotated - select for diffs
Wed Dec 29 04:33:07 1999 UTC (12 years, 1 month ago) by peter
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -2 lines
Change #ifdef KERNEL to #ifdef _KERNEL in the public headers.  "KERNEL"
is an application space macro and the applications are supposed to be free
to use it as they please (but cannot).  This is consistant with the other
BSD's who made this change quite some time ago.  More commits to come.

Revision 1.10.4.1: download - view: text, markup, annotated - select for diffs
Sun Sep 5 08:30:10 1999 UTC (12 years, 5 months ago) by peter
Branches: old_RELENG_2_1_0
Diff to: previous 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10: +1 -1 lines
$Id$ -> $FreeBSD$

Revision 1.11.4.1: download - view: text, markup, annotated - select for diffs
Sun Sep 5 08:12:01 1999 UTC (12 years, 5 months ago) by peter
Branches: old_RELENG_2_2
Diff to: previous 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11: +1 -1 lines
$Id$ -> $FreeBSD$

Revision 1.16.2.2: download - view: text, markup, annotated - select for diffs
Sun Aug 29 16:06:47 1999 UTC (12 years, 5 months ago) by peter
Branches: old_RELENG_3
CVS tags: old_RELENG_3_5_0_RELEASE, old_RELENG_3_4_0_RELEASE, old_RELENG_3_3_0_RELEASE
Diff to: previous 1.16.2.1: preferred, colored; branchpoint 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16.2.1: +1 -1 lines
$Id$ -> $FreeBSD$

Revision 1.20: download - view: text, markup, annotated - select for diffs
Sat Aug 28 00:44:23 1999 UTC (12 years, 5 months ago) by peter
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +1 -1 lines
$Id$ -> $FreeBSD$

Revision 1.19: download - view: text, markup, annotated - select for diffs
Fri Jul 9 04:15:49 1999 UTC (12 years, 7 months ago) by jlemon
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +14 -1 lines
Implement support for hardware debug registers on the i386.

Submitted by:	Brian Dean <brdean@unx.sas.com>

Revision 1.18: download - view: text, markup, annotated - select for diffs
Wed Apr 28 01:04:06 1999 UTC (12 years, 9 months ago) by luoqi
Branches: MAIN
CVS tags: old_PRE_VFS_BIO_NFS_PATCH, old_POST_VFS_BIO_NFS_PATCH, old_POST_SMP_VMSHARE
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +19 -19 lines
Enable vmspace sharing on SMP. Major changes are,
- %fs register is added to trapframe and saved/restored upon kernel entry/exit.
- Per-cpu pages are no longer mapped at the same virtual address.
- Each cpu now has a separate gdt selector table. A new segment selector
  is added to point to per-cpu pages, per-cpu global variables are now
  accessed through this new selector (%fs). The selectors in gdt table are
  rearranged for cache line optimization.
- fask_vfork is now on as default for both UP and SMP.
- Some aio code cleanup.

Reviewed by:	Alan Cox	<alc@cs.rice.edu>
		John Dyson	<dyson@iquest.net>
		Julian Elischer	<julian@whistel.com>
		Bruce Evans	<bde@zeta.org.au>
		David Greenman	<dg@root.com>

Revision 1.16.2.1: download - view: text, markup, annotated - select for diffs
Wed Apr 14 04:55:22 1999 UTC (12 years, 10 months ago) by jdp
Branches: old_RELENG_3
CVS tags: old_RELENG_3_2_PAO_BP, old_RELENG_3_2_PAO, old_RELENG_3_2_0_RELEASE
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -2 lines
MFC (3 April 1999): Enable BSD/OS binaries to run in configurations
that have a large kernel virtual address space.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sat Apr 3 22:19:59 1999 UTC (12 years, 10 months ago) by jdp
Branches: MAIN
CVS tags: old_PRE_SMP_VMSHARE, old_PRE_NEWBUS, old_POST_NEWBUS
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -2 lines
Restore support for executing BSD/OS binaries on the i386 by passing
the address of the ps_strings structure to the process via %ebx.
For other kinds of binaries, %ebx is still zeroed as before.

Submitted by:	Thomas Stephens <tas@stephens.org>
Reviewed by:	jdp

Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon Sep 14 22:43:40 1998 UTC (13 years, 4 months ago) by jdp
Branches: MAIN
CVS tags: old_RELENG_3_BP, old_RELENG_3_1_0_RELEASE, old_RELENG_3_0_0_RELEASE
Branch point for: old_RELENG_3
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -1 lines
Add new functions fill_fpregs() and set_fpregs(), like fill_regs()
and set_regs() but for the floating point register state.  The code
is stolen from procfs_machdep.c, and moved out of there into
machdep.c.

These functions are needed for generating ELF core dumps.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Sat Jun 7 04:36:06 1997 UTC (14 years, 8 months ago) by bde
Branches: MAIN
CVS tags: old_WOLLMAN_MBUF, old_PRE_SOFTUPDATE, old_PRE_NOBDEV, old_PRE_DEVFS_SLICE, old_POST_SOFTUPDATE, old_POST_DEVFS_SLICE, old_BP_WOLLMAN_MBUF
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +13 -1 lines
Preserve %fs and %gs across context switches.  This has a relatively low
cost since it is only done in cpu_switch(), not for every exception.
The extra state is kept in the pcb, and handled much like the npx state,
with similar deficiencies (the state is not preserved across signal
handlers, and error handling loses state).

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sat Jun 7 00:49:45 1997 UTC (14 years, 8 months ago) by bde
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +15 -15 lines
Updated comments.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sat Feb 22 09:35:07 1997 UTC (14 years, 11 months ago) by peter
Branches: MAIN
CVS tags: old_pre_smp_merge, old_post_smp_merge
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +1 -1 lines
Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$.  We are not
ready for it yet.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Tue Jan 14 06:40:08 1997 UTC (15 years ago) by jkh
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +1 -1 lines
Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Tue Jan 30 22:54:56 1996 UTC (16 years ago) by mpp
Branches: MAIN
CVS tags: old_wollman_polling, old_RELENG_2_2_BP, old_RELENG_2_2_8_RELEASE, old_RELENG_2_2_7_RELEASE, old_RELENG_2_2_6_RELEASE, old_RELENG_2_2_5_RELEASE, old_RELENG_2_2_2_RELEASE, old_RELENG_2_2_1_RELEASE, old_RELENG_2_2_0_RELEASE
Branch point for: old_RELENG_2_2
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -2 lines
Fix a bunch of spelling errors in the comment fields of
a bunch of system include files.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sat Jan 14 10:41:41 1995 UTC (17 years, 1 month ago) by bde
Branches: MAIN
CVS tags: old_RELENG_2_1_7_RELEASE, old_RELENG_2_1_6_RELEASE, old_RELENG_2_1_6_1_RELEASE, old_RELENG_2_1_5_RELEASE, old_RELENG_2_1_0_RELEASE, old_RELENG_2_1_0_BP, old_RELENG_2_0_5_RELEASE, old_RELENG_2_0_5_BP, old_RELENG_2_0_5_ALPHA, old_RELENG_2_0_5
Branch point for: old_RELENG_2_1_0
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +13 -6 lines
Declare a real `struct fpreg' to prepare for implementing reading and
writing of FP regs for procfs.

Uniformize idempotency ifdef.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sun Oct 2 17:31:29 1994 UTC (17 years, 4 months ago) by phk
Branches: MAIN
CVS tags: old_RELEASE_2_0, old_OLAH_TTCP, old_BETA_2_0, old_ALPHA_2_0
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +5 -1 lines
apm_bios.h:  removed the equiv-stuff.  Not needed now that the kernel module
works correctly.

clock.h & reg.h: prototypes.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed May 25 08:56:42 1994 UTC (17 years, 8 months ago) by rgrimes
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +13 -3 lines
The big 4.4BSD Lite to FreeBSD 2.0.0 (Development) patch.

Reviewed by:	Rodney W. Grimes
Submitted by:	John Dyson and David Greenman

Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Jan 31 10:27:11 1994 UTC (18 years ago) by davidg
Branches: MAIN
CVS tags: old_REL_before_johndavid_2_0_0, old_MOVED_NEWCVS, old_GAMMA_1_1, old_FINAL_1_1, old_BP_BETA_1_1, old_BETA_1_1
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -2 lines
  WINE/user LDT support from John Brezak, ported to FreeBSD by Jeffrey Hsu
<hsu@soda.berkeley.edu>.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon Jan 3 07:55:34 1994 UTC (18 years, 1 month ago) by davidg
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +1 -23 lines
Convert syscall to trapframe. Based on work done by John Brezak.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri Dec 3 05:10:08 1993 UTC (18 years, 2 months ago) by alm
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -1 lines
From: Jeffrey Hsu <hsu@soda.berkeley.edu>

The following patch adds the addr argument to signal handlers.

The kernel with the patch is no more and no less in compliance or in
violation of POSIX and ANSI C than the kernel before the patch.

The added functionality this addr argument provides is quite useful.  It
enables an entire class of algorithms which use mprotect to trace memory
references.  Beside garbage collectors, I have heard of this technique being
applied to debuggers and profilers.  The only benchmarking I've performed is
using akcl to compile maxima:  without the kernel patch, it takes 7 hours to
compile maxima, while with stratified garbage collection, it only takes 50
minutes.

Basically, I can't think of a reason not to add the addr argument and there
is a compelling need for it.

If you find the patch acceptable, please let me know so I can send my
FreeBSD akcl config files to wfs for inclusion in the core akcl release.
The old 386BSD config files there won't work on either NetBSD or FreeBSD.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Nov 16 09:54:57 1993 UTC (18 years, 2 months ago) by davidg
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +29 -11 lines
new process tracing code from Sean Eric Fagen (sef@kithrup.com).
...also, fixed up the syscall args to make GCC happy.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Nov 7 17:43:07 1993 UTC (18 years, 3 months ago) by wollman
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +5 -1 lines
Made all header files idempotent and moved incorrect common data from
headers into a related source file.  Added cons.h as first step towards
moving i386/i386/cons.h to machine/cons.h where it belongs.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat Oct 16 14:39:29 1993 UTC (18 years, 3 months ago) by rgrimes
Branches: MAIN
CVS tags: old_FINAL_1_0_2, old_FINAL_1_0, old_BRANCH_1_0
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -1 lines
Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, some
minor cleanup.  Added $Id$ to files that did not have any version info, etc

Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Sat Jun 12 14:58:10 1993 UTC (18 years, 8 months ago) by rgrimes
CVS tags: old_V_0_1_2_4, old_GAMMA_1_0, old_EPSILON_1_0, old_BETA_1_0, old_ALPHA_1_0
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0 lines
Initial import, 0.1 + pk 0.2.4-B1

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sat Jun 12 14:58:09 1993 UTC (18 years, 8 months ago) by rgrimes
Branches: MAIN
Initial revision

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options