Home | History | Annotate | Download | only in include
History log of /src/sys/arch/amd64/include/frame.h
RevisionDateAuthorComments
 1.23  27-Jun-2025  andvar Grammar and spelling fixes, mainly in comments. A few in documentation,
logging, test description, and SCSI ASC/ASCQ assignment descriptions.
 1.22  14-Feb-2019  cherry branches: 1.22.36;
Welcome XENPVHVM mode.

It is UP only, has xbd(4) and xennet(4) as PV drivers.

The console is com0 at isa and the native portion is very
rudimentary AT architecture, so is probably suboptimal to
run without PV support.
 1.21  11-Feb-2019  cherry We reorganise definitions for XEN source support as follows:

XEN - common sources required for baseline XEN support.
XENPV - sources required for support of XEN in PV mode.
XENPVHVM - sources required for support for XEN in HVM mode.
XENPVH - sources required for support for XEN in PVH mode.
 1.20  19-Nov-2018  kre Fix editing screwup in previous... noted by Rin Okuyama (thanks!)
 1.19  19-Nov-2018  kre Hide differences between i386 and amd64 interrupt frames so XEN does
not need to know there is one. Hopefully unbreak i386 build.
 1.18  14-Jun-2017  chs branches: 1.18.4; 1.18.6;
add an lwp_trapframe() interface to return an LWP's user trapframe.
needed by dtrace.
 1.17  20-Feb-2014  dsl branches: 1.17.6;
This doesn't need fpu.h, but should include ucontext.h
 1.16  11-Feb-2014  dsl Move sys/arch/amd64/amd64/fpu.c and sys/arch/amd64/include/fpu.h
into sys/arch/x86 in preparation for using the same code for i386.
 1.15  26-Oct-2008  mrg branches: 1.15.28; 1.15.38; 1.15.44;
put the contents of these header files around #ifdef __x86_64__, and
#include the <i386/foo.h> in the #else clause, making these files
largely bit-size independant.
 1.14  28-Apr-2008  martin branches: 1.14.6;
Remove clause 3 and 4 from TNF licenses
 1.13  04-Jan-2008  dsl branches: 1.13.6; 1.13.8; 1.13.10;
Change the way that the trap/intr/syscall frames and the __gregset_t[]
indexes are defined so that only a single list of the registers is used.
The code no longer relies on the two structures matching.
There should be no binary change.
 1.12  22-Dec-2007  dsl Define 'struct intrframe' in terms of 'struct trapframe' since the two are
assumed to match by a lot of code (including that which saves the regs).
This only slightly reduces the number of places the trapframe register
layout is defined.
 1.11  21-Dec-2007  dsl Create the trap/syscall frame space for all the registers in one go.
Use the tramp-frame offsets (TF_foo) for all references to the registers.
Sort the saving of the GP registers into the same order as the trap frame
because consequetive memory accesses are liekly to be faster.
 1.10  17-Oct-2007  garbled branches: 1.10.2; 1.10.4; 1.10.8;
Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.9  21-May-2007  skrll branches: 1.9.10;
Correct comment - it's cpu_switchto now.
 1.8  17-May-2007  yamt merge yamt-idlelwp branch. asked by core@. some ports still needs work.

from doc/BRANCHES:

idle lwp, and some changes depending on it.

1. separate context switching and thread scheduling.
(cf. gmcgarry_ctxsw)
2. implement idle lwp.
3. clean up related MD/MI interfaces.
4. make scheduler(s) modular.
 1.7  11-Dec-2005  christos branches: 1.7.26; 1.7.30; 1.7.32; 1.7.38;
merge ktrace-lwp.
 1.6  28-Mar-2004  drochner branches: 1.6.16;
We should ensure stack alignment _after_ subtracting sizeof(sigframe).
Should fix PR bin/24948 by Wolfgang S. Rupprecht.
(nuke getframe() completely because its interface doesn't support this,
and it it used at one place only anyway)
 1.5  25-Mar-2004  drochner only accept signal trampoline version 2, and remove "struct sigcontext"
 1.4  13-Oct-2003  fvdl Define all frame members as unsigned, to avoid any possibility of
sign extension on these values.
 1.3  06-Oct-2003  fvdl SIGINFO support.
Todo: 32bit compat support (COMPAT_NETBSD32 will not compile right now,
as it won't on other platforms).
 1.2  07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.1  26-Apr-2003  fvdl branches: 1.1.2;
Rename the x86_64 port to amd64, as this is the actual name used for
the processor family now. x86_64 is kept as the MACHINE_ARCH value,
since it's already widely used (by e.g. the toolchain, etc), and
by other operating systems.
 1.1.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.1.2.1  03-Aug-2004  skrll Sync with HEAD
 1.6.16.2  21-Jan-2008  yamt sync with head
 1.6.16.1  03-Sep-2007  yamt sync with head.
 1.7.38.1  22-May-2007  matt Update to HEAD.
 1.7.32.1  11-Jul-2007  mjf Sync with head.
 1.7.30.1  27-May-2007  ad Sync with head.
 1.7.26.1  03-Mar-2007  yamt adapt amd64.

XXX changes in identcpu.c is minmum for MONITOR.
XXX identcpu.c should be shared with i386.
 1.9.10.2  09-Jan-2008  matt sync with HEAD
 1.9.10.1  06-Nov-2007  matt sync with HEAD
 1.10.8.2  08-Jan-2008  bouyer Sync with HEAD
 1.10.8.1  02-Jan-2008  bouyer Sync with HEAD
 1.10.4.1  26-Dec-2007  ad Sync with head.
 1.10.2.1  18-Feb-2008  mjf Sync with HEAD.
 1.13.10.2  04-May-2009  yamt sync with head.
 1.13.10.1  16-May-2008  yamt sync with head.
 1.13.8.1  18-May-2008  yamt sync with head.
 1.13.6.2  17-Jan-2009  mjf Sync with HEAD.
 1.13.6.1  02-Jun-2008  mjf Sync with HEAD.
 1.14.6.1  13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.15.44.1  18-May-2014  rmind sync with head
 1.15.38.2  03-Dec-2017  jdolecek update from HEAD
 1.15.38.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.15.28.1  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.17.6.1  28-Aug-2017  skrll Sync with HEAD
 1.18.6.1  10-Jun-2019  christos Sync with HEAD
 1.18.4.1  26-Nov-2018  pgoyette Sync with HEAD, resolve a couple of conflicts
 1.22.36.1  02-Aug-2025  perseant Sync with HEAD

RSS XML Feed