PIC32MZ: Make sure that the microMIPS ISA is selected on all common MIPS32 assembly files when the PIC21MZ is selected
This commit is contained in:
parent
9a4f360265
commit
cfd139e8af
@ -42,6 +42,11 @@ config ARCH_MIPS_24KC
|
|||||||
config ARCH_MIPS_M14K
|
config ARCH_MIPS_M14K
|
||||||
bool
|
bool
|
||||||
default n
|
default n
|
||||||
|
select ARCH_MIPS_MICROMIPS
|
||||||
|
|
||||||
|
config ARCH_MIPS_MICROMIPS
|
||||||
|
bool
|
||||||
|
default n
|
||||||
|
|
||||||
config ARCH_FAMILY
|
config ARCH_FAMILY
|
||||||
string
|
string
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* arch/mips/src/mips32/up_syscall0.S
|
* arch/mips/src/mips32/up_syscall0.S
|
||||||
*
|
*
|
||||||
* Copyright (C) 2011 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2011, 2015 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
@ -80,7 +80,12 @@
|
|||||||
|
|
||||||
.text
|
.text
|
||||||
.set noreorder
|
.set noreorder
|
||||||
|
.set nomips16
|
||||||
|
#ifdef CONFIG_ARCH_MIPS_MICROMIPS
|
||||||
|
.set micromips
|
||||||
|
#endif
|
||||||
.ent sys_call0
|
.ent sys_call0
|
||||||
|
|
||||||
sys_call0: /* r4 holds the syscall number */
|
sys_call0: /* r4 holds the syscall number */
|
||||||
sys_call1: /* r4 holds the syscall number, argument in r5 */
|
sys_call1: /* r4 holds the syscall number, argument in r5 */
|
||||||
sys_call2: /* r4 holds the syscall number, arguments in r5 and r6 */
|
sys_call2: /* r4 holds the syscall number, arguments in r5 and r6 */
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
* arch/mips/src/mips32/vfork.S
|
* arch/mips/src/mips32/vfork.S
|
||||||
*
|
*
|
||||||
* Copyright (C) 2013 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2013, 2015 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
@ -102,6 +102,9 @@
|
|||||||
.globl vfork
|
.globl vfork
|
||||||
.type vfork, function
|
.type vfork, function
|
||||||
.set nomips16
|
.set nomips16
|
||||||
|
#ifdef CONFIG_ARCH_MIPS_MICROMIPS
|
||||||
|
.set micromips
|
||||||
|
#endif
|
||||||
.ent vfork
|
.ent vfork
|
||||||
|
|
||||||
vfork:
|
vfork:
|
||||||
|
Loading…
Reference in New Issue
Block a user