Reorder using register_t to the point where it is defined.

This commit is contained in:
joerg 2016-02-28 22:19:01 +00:00
parent f39627880d
commit 2f6c48363c

View File

@ -1,4 +1,4 @@
/* $NetBSD: types.h,v 1.4 2016/01/23 22:31:19 christos Exp $ */
/* $NetBSD: types.h,v 1.5 2016/02/28 22:19:01 joerg Exp $ */
/*-
* Copyright (c) 2014 The NetBSD Foundation, Inc.
@ -38,12 +38,6 @@
#include <sys/featuretest.h>
#include <aarch64/int_types.h>
#if defined(_KERNEL)
typedef struct label_t { /* Used by setjmp & longjmp */
register_t lb_reg[13]; /* x19 .. x30, sp */
} label_t;
#endif
#if defined(_KERNEL) || defined(_KMEMUSER) || defined(_KERNTYPES) || defined(_STANDALONE)
typedef unsigned long vm_offset_t; /* depreciated */
typedef unsigned long vm_size_t; /* depreciated */
@ -69,6 +63,12 @@ typedef unsigned long pmc_evid_t;
typedef unsigned long pmc_ctr_t;
typedef unsigned short tlb_asid_t;
#if defined(_KERNEL)
typedef struct label_t { /* Used by setjmp & longjmp */
register_t lb_reg[13]; /* x19 .. x30, sp */
} label_t;
#endif
#endif
/*