198247Smikeh/*- 279971Sobrien * Copyright 2012 Konstantin Belousov <kib@FreeBSD.ORG>. 379971Sobrien * All rights reserved. 479971Sobrien * 579971Sobrien * Redistribution and use in source and binary forms, with or without 679971Sobrien * modification, are permitted provided that the following conditions 779971Sobrien * are met: 879971Sobrien * 1. Redistributions of source code must retain the above copyright 979971Sobrien * notice, this list of conditions and the following disclaimer. 1079971Sobrien * 2. Redistributions in binary form must reproduce the above copyright 1179971Sobrien * notice, this list of conditions and the following disclaimer in the 1279971Sobrien * documentation and/or other materials provided with the distribution. 1379971Sobrien * 1479971Sobrien * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 1579971Sobrien * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 1679971Sobrien * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 1779971Sobrien * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 1879971Sobrien * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 1979971Sobrien * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 2079971Sobrien * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 2179971Sobrien * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 2279971Sobrien * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 2379971Sobrien * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 2479971Sobrien * 2579971Sobrien * $FreeBSD$ 2679971Sobrien */ 2779971Sobrien 2879971Sobrien#ifndef _POWERPC_VDSO_H 2979971Sobrien#define _POWERPC_VDSO_H 3079971Sobrien 3179971Sobrien#define VDSO_TIMEHANDS_MD \ 3279971Sobrien uint32_t th_res[8]; 3379971Sobrien 3479971Sobrien#ifdef _KERNEL 3579971Sobrien#ifdef COMPAT_FREEBSD32 36116424Smikeh 37116424Smikeh#define VDSO_TIMEHANDS_MD32 VDSO_TIMEHANDS_MD 38116424Smikeh 39116424Smikeh#endif 40116424Smikeh#endif 41116424Smikeh#endif 42116424Smikeh