1 /*
2  * Copyright (c) 2014 Travis Geiselbrecht
3  *
4  * Use of this source code is governed by a MIT-style
5  * license that can be found in the LICENSE file or at
6  * https://opensource.org/licenses/MIT
7  */
8 #pragma once
9 
10 #include <sys/types.h>
11 
12 struct fpstate {
13     uint64_t    regs[64];
14     uint32_t    fpcr;
15     uint32_t    fpsr;
16     uint        current_cpu;
17 };
18 
19 struct arch_thread {
20     vaddr_t sp;
21     struct fpstate fpstate;
22 };
23 
24