Subversion Repositories HelenOS

Rev

Rev 1787 | Rev 1852 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1787 Rev 1851
Line 24... Line 24...
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
 */
27
 */
28
 
28
 
29
 /** @addtogroup sparc64interrupt sparc64
29
/** @addtogroup sparc64interrupt sparc64
30
 * @ingroup interrupt
30
 * @ingroup interrupt
31
 * @{
31
 * @{
32
 */
32
 */
33
/** @file
33
/** @file
34
 */
34
 */
Line 50... Line 50...
50
 
50
 
51
#define trap_virtual_enable_irqs(x)
51
#define trap_virtual_enable_irqs(x)
52
#define trap_virtual_eoi()
52
#define trap_virtual_eoi()
53
 
53
 
54
struct istate {
54
struct istate {
-
 
55
    uint64_t    pstate;
-
 
56
    uint64_t    tnpc;
-
 
57
    uint64_t    tpc;
-
 
58
    uint64_t    tstate;
55
};
59
};
56
 
60
 
57
static inline void istate_set_retaddr(istate_t *istate, uintptr_t retaddr)
61
static inline void istate_set_retaddr(istate_t *istate, uintptr_t retaddr)
58
{
62
{
59
    /* TODO */
63
    /* TODO */
Line 72... Line 76...
72
 
76
 
73
extern void interrupt_register(int n, const char *name, iroutine f);
77
extern void interrupt_register(int n, const char *name, iroutine f);
74
 
78
 
75
#endif
79
#endif
76
 
80
 
77
 /** @}
81
/** @}
78
 */
82
 */
79
 
-