Home | History | Annotate | Download | only in include
History log of /src/sys/arch/arm/include/frame.h
RevisionDateAuthorComments
 1.23  02-Apr-2022  skrll Update to support EFI runtime outside the kernel virtual address space
by creating an EFI RT pmap that can be activated / deactivated when
required.

Adds support for EFI RT to ARM_MMU_EXTENDED (ASID) 32-bit Arm machines.

On Arm64 the usage of pmapboot_enter is reduced and the mappings are
created much later in the boot process -- now in cpu_startup_hook.
Backward compatiblity for KVA mapped RT from old bootaa64.efi is
maintained.

Adding support to other platforms should be easier as a result.
 1.22  06-Oct-2021  skrll Trailing whitespace
 1.21  24-Jan-2018  skrll Remove references to arm26
 1.20  24-Jan-2018  skrll Remove port-acorn26

OK core@
 1.19  25-Apr-2017  skrll Expose lwp_trapframe for _KEMUSER, e.g. crash(8)
 1.18  18-Aug-2013  matt branches: 1.18.6; 1.18.10;
fix comment.
 1.17  16-Aug-2012  matt branches: 1.17.2; 1.17.4;
small rototill.
pcb_flags is dead. PCB_NOALIGNFLT is now in stored l_md.md_flags as
MDLWP_NOALIGNFLT. This avoids a few loads of the PCB in exception handling.
pcb_tf has been moved to l_md.md_tf. Again this avoids a lot of pcb
references just to access or set this. It also means that pcb doesn't
need to accessed by MI code.
Move pcb_onfault to after the pcb union.
Add pcb_sp macro to make code prettier.
Add lwp_settrapframe(l, tf) to set the l_md.md_tf field.
Use lwp_trapframe to access it (was process_frame but that name was changed
in a previous commit).
Kill off curpcb in acorn26.
Kill the checks for curlwp being NULL.
Move TRAP_USERMODE from arm32/fault.c to frame.h and a __PROG26 version.
Replace tests for usermode with that macro.
 1.16  16-Aug-2012  matt Rename process_frame to lwp_trapframe
 1.15  01-Aug-2012  matt Move fill to between spsr and r0 so that the registers will be dword aligned.
Adjust PUSH/PULL macros accordingly.
 1.14  31-Jul-2012  matt Make trapframe/irqframe an even number of words (make adjustments for
the filler word).
Improve the comments in PUSH/PULL macros.
Use the armv6+ CPS instruction if we can.
 1.13  19-Feb-2012  rmind Remove COMPAT_SA / KERN_SA. Welcome to 6.99.3!
Approved by core@.
 1.12  21-Nov-2009  rmind branches: 1.12.12; 1.12.16; 1.12.20;
Use lwp_getpcb() on ARM (and acorn26/32), clean from struct user usage.
 1.11  15-Oct-2008  wrstuden branches: 1.11.12;
Merge wrstuden-revivesa into HEAD.
 1.10  27-Apr-2008  matt branches: 1.10.2; 1.10.6;
Merge kernel changes in matt-armv6 to HEAD.
 1.9  09-Feb-2007  ad branches: 1.9.26; 1.9.46; 1.9.48; 1.9.50;
Merge newlock2 to head.
 1.8  11-Dec-2005  christos branches: 1.8.20;
merge ktrace-lwp.
 1.7  13-Sep-2005  christos split compat_16 functions to their own file and make this compile again.
 1.6  05-Oct-2003  matt branches: 1.6.16;
Add SA_SIGINFO support for ARM (from Chris Gilbert).
 1.5  17-Jan-2003  thorpej branches: 1.5.2;
Merge the nathanw_sa branch.
 1.4  23-Jun-2002  thorpej When delivering a signal, there is no need to push the signal number,
code, context pointer, or handler onto the stack, so don't do so.
 1.3  31-Aug-2001  simonb branches: 1.3.6; 1.3.14;
Use comments around the token after a #endif.
 1.2  20-Jan-2001  bjh21 branches: 1.2.2; 1.2.6;
Unify arm26 and arm32 trapframe structures. The unified trapframe is the same
shape as the old arm32 one, but there are a few #defines to keep arm26 code
happy. Anything that depends on the precise shape of the trapframe,
and especially on being able to treat it as an array of registers, has been
updated.
 1.1  18-Jan-2001  bjh21 Add <arm/frame.h>, for shared stack frame structures. Currently, only sigframes
are common.
 1.2.6.2  06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.2.6.1  13-Sep-2001  thorpej Update the kqueue branch to HEAD.
 1.2.2.2  11-Feb-2001  bouyer Sync with HEAD.
 1.2.2.1  20-Jan-2001  bouyer file frame.h was added on branch thorpej_scsipi on 2001-02-11 19:08:51 +0000
 1.3.14.1  16-Jul-2002  gehenna catch up with -current.
 1.3.6.5  01-Aug-2002  nathanw Catch up to -current.
 1.3.6.4  05-Jul-2002  thorpej When delivering an upcall, arrange to have the kernel return to
the upcall directly, and use the upcall trampoline only to exit
if the upcall returns.
 1.3.6.3  17-Nov-2001  thorpej Adapt to latest MI changes. Update copyright in arm_machdep.c
 1.3.6.2  15-Nov-2001  thorpej Machine-dependent kernel mods for scheduler activations on
32-bit ARM processors. Kernel boots multi-user on an XScale,
but upcalls not yet tested.
 1.3.6.1  31-Aug-2001  thorpej file frame.h was added on branch nathanw_sa on 2001-11-15 06:39:22 +0000
 1.5.2.4  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.5.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.5.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.5.2.1  03-Aug-2004  skrll Sync with HEAD
 1.6.16.2  26-Feb-2007  yamt sync with head.
 1.6.16.1  21-Jun-2006  yamt sync with head.
 1.8.20.1  30-Jan-2007  ad Remove support for SA. Ok core@.
 1.9.50.3  11-Mar-2010  yamt sync with head
 1.9.50.2  04-May-2009  yamt sync with head.
 1.9.50.1  16-May-2008  yamt sync with head.
 1.9.48.1  18-May-2008  yamt sync with head.
 1.9.46.2  17-Jan-2009  mjf Sync with HEAD.
 1.9.46.1  02-Jun-2008  mjf Sync with HEAD.
 1.9.26.1  29-Aug-2007  matt Add define for tf_ip (tf_r12)
 1.10.6.1  19-Oct-2008  haad Sync with HEAD.
 1.10.2.3  22-Jun-2008  wrstuden Re-add cpu_upcall() and page fault code. i386 kernels now compile.
They don't boot, but that seems to be a consequence of current from the
day this branch was started.
 1.10.2.2  14-May-2008  wrstuden Per discussion with ad, remove most of the #include <sys/sa.h> lines
as they were including sa.h just for the type(s) needed for syscallargs.h.

Instead, create a new file, sys/satypes.h, which contains just the
types needed for syscallargs.h. Yes, there's only one now, but that
may change and it's probably more likely to change if it'd be difficult
to handle. :-)

Per discussion with matt at n dot o, add an include of satypes.h to
sigtypes.h. Upcall handlers are kinda signal handlers, and signalling
is the header file that's already included for syscallargs.h that
closest matches SA.

This shaves about 3000 lines off of the diff of the branch relative
to the base. That also represents about 18% of the total before this
checkin.

I think this reduction is very good thing.
 1.10.2.1  10-May-2008  wrstuden Initial checkin of re-adding SA. Everything except kern_sa.c
compiles in GENERIC for i386. This is still a work-in-progress, but
this checkin covers most of the mechanical work (changing signalling
to be able to accomidate SA's process-wide signalling and re-adding
includes of sys/sa.h and savar.h). Subsequent changes will be much
more interesting.

Also, kern_sa.c has received partial cleanup. There's still more
to do, though.
 1.11.12.1  15-Feb-2014  matt Merge armv7 support from HEAD, specifically support for the BCM5301X
and BCM56340 evbarm kernels.
 1.12.20.1  28-Nov-2012  matt Merge improved arm support (especially Cortex) from HEAD
including OMAP and BCM53xx support.
 1.12.16.1  24-Feb-2012  mrg sync to -current.
 1.12.12.3  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.12.12.2  30-Oct-2012  yamt sync with head
 1.12.12.1  17-Apr-2012  yamt sync with head
 1.17.4.1  28-Aug-2013  rmind sync with head
 1.17.2.2  03-Dec-2017  jdolecek update from HEAD
 1.17.2.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.18.10.1  26-Apr-2017  pgoyette Sync with HEAD
 1.18.6.1  28-Aug-2017  skrll Sync with HEAD

RSS XML Feed