Changeset View
Changeset View
Standalone View
Standalone View
sys/arm64/include/ucontext.h
Show All 24 Lines | |||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||
* SUCH DAMAGE. | * SUCH DAMAGE. | ||||
* | * | ||||
* $FreeBSD$ | * $FreeBSD$ | ||||
*/ | */ | ||||
#ifdef __arm__ | |||||
#include <arm/ucontext.h> | |||||
#else /* !__arm__ */ | |||||
#ifndef _MACHINE_UCONTEXT_H_ | #ifndef _MACHINE_UCONTEXT_H_ | ||||
#define _MACHINE_UCONTEXT_H_ | #define _MACHINE_UCONTEXT_H_ | ||||
struct gpregs { | struct gpregs { | ||||
__register_t gp_x[30]; | __register_t gp_x[30]; | ||||
__register_t gp_lr; | __register_t gp_lr; | ||||
__register_t gp_sp; | __register_t gp_sp; | ||||
__register_t gp_elr; | __register_t gp_elr; | ||||
Show All 40 Lines | |||||
typedef struct __mcontext32_vfp { | typedef struct __mcontext32_vfp { | ||||
__uint64_t mcv_reg[32]; | __uint64_t mcv_reg[32]; | ||||
__uint32_t mcv_fpscr; | __uint32_t mcv_fpscr; | ||||
} mcontext32_vfp_t; | } mcontext32_vfp_t; | ||||
#endif /* COMPAT_FREEBSD32 */ | #endif /* COMPAT_FREEBSD32 */ | ||||
#endif /* !_MACHINE_UCONTEXT_H_ */ | #endif /* !_MACHINE_UCONTEXT_H_ */ | ||||
#endif /* !__arm__ */ |