Changeset View
Changeset View
Standalone View
Standalone View
sys/arm/arm/locore-v6.S
Show All 22 Lines | |||||
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||
* 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. | ||||
*/ | */ | ||||
#include "assym.s" | #include "assym.inc" | ||||
#include <sys/syscall.h> | #include <sys/syscall.h> | ||||
#include <machine/asm.h> | #include <machine/asm.h> | ||||
#include <machine/asmacros.h> | #include <machine/asmacros.h> | ||||
#include <machine/armreg.h> | #include <machine/armreg.h> | ||||
#include <machine/sysreg.h> | #include <machine/sysreg.h> | ||||
#include <machine/pte-v6.h> | #include <machine/pte-v6.h> | ||||
__FBSDID("$FreeBSD$"); | __FBSDID("$FreeBSD$"); | ||||
/* We map 64MB of kernel unless overridden in assym.s by the kernel option. */ | /* We map 64MB of kernel unless overridden in assym.inc by the kernel option. */ | ||||
#ifndef LOCORE_MAP_MB | #ifndef LOCORE_MAP_MB | ||||
#define LOCORE_MAP_MB 64 | #define LOCORE_MAP_MB 64 | ||||
#endif | #endif | ||||
#if __ARM_ARCH >= 7 | #if __ARM_ARCH >= 7 | ||||
#if defined(__ARM_ARCH_7VE__) || defined(__clang__) | #if defined(__ARM_ARCH_7VE__) || defined(__clang__) | ||||
/* | /* | ||||
* HYP support is in bintuils >= 2.21 and gcc >= 4.9 defines __ARM_ARCH_7VE__ | * HYP support is in bintuils >= 2.21 and gcc >= 4.9 defines __ARM_ARCH_7VE__ | ||||
▲ Show 20 Lines • Show All 546 Lines • Show Last 20 Lines |