Changeset View
Changeset View
Standalone View
Standalone View
sys/arm64/include/pcb.h
| Show All 20 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/pcb.h> | |||||
| #else /* !__arm__ */ | |||||
| #ifndef _MACHINE_PCB_H_ | #ifndef _MACHINE_PCB_H_ | ||||
| #define _MACHINE_PCB_H_ | #define _MACHINE_PCB_H_ | ||||
| #ifndef LOCORE | #ifndef LOCORE | ||||
| #include <machine/debug_monitor.h> | #include <machine/debug_monitor.h> | ||||
| #include <machine/vfp.h> | #include <machine/vfp.h> | ||||
| ▲ Show 20 Lines • Show All 45 Lines • ▼ Show 20 Lines | |||||
| #ifdef _KERNEL | #ifdef _KERNEL | ||||
| void makectx(struct trapframe *tf, struct pcb *pcb); | void makectx(struct trapframe *tf, struct pcb *pcb); | ||||
| int savectx(struct pcb *pcb) __returns_twice; | int savectx(struct pcb *pcb) __returns_twice; | ||||
| #endif | #endif | ||||
| #endif /* !LOCORE */ | #endif /* !LOCORE */ | ||||
| #endif /* !_MACHINE_PCB_H_ */ | #endif /* !_MACHINE_PCB_H_ */ | ||||
| #endif /* !__arm__ */ | |||||