arch:xtensa: remove WSBITS/WBBITS to core.h
Remove WSBITS/WBBITS macro to core.h as may be used by arch common code. Signed-off-by: zhuyanlin <zhuyanlin1@xiaomi.com>
This commit is contained in:
parent
44cbba2c56
commit
583dce0b98
|
@ -71,6 +71,12 @@
|
|||
# define XCHAL_SEP2 },{
|
||||
#endif
|
||||
|
||||
/* WSBITS and WBBITS are the width of the WINDOWSTART and WINDOWBASE
|
||||
* registers
|
||||
*/
|
||||
#define WSBITS (XCHAL_NUM_AREGS / 4) /* width of WINDOWSTART in bits */
|
||||
#define WBBITS (XCHAL_NUM_AREGS_LOG2 - 2) /* width of WINDOWBASE in bits */
|
||||
|
||||
/* ISA **********************************************************************/
|
||||
|
||||
#if XCHAL_HAVE_BE
|
||||
|
|
|
@ -40,6 +40,7 @@
|
|||
****************************************************************************/
|
||||
|
||||
#include <arch/chip/core-isa.h>
|
||||
#include <arch/xtensa/core.h>
|
||||
#include <arch/xtensa/xtensa_specregs.h>
|
||||
#include <arch/xtensa/xtensa_corebits.h>
|
||||
|
||||
|
@ -116,8 +117,6 @@ _xtensa_window_spill:
|
|||
ret
|
||||
|
||||
#else /* XCHAL_HAVE_WINDOWED */
|
||||
# define WSBITS (XCHAL_NUM_AREGS / 4) /* Width of WINDOWSTART register in bits */
|
||||
# define WBBITS (XCHAL_NUM_AREGS_LOG2 - 2) /* Width of WINDOWBASE register in bits */
|
||||
|
||||
/*
|
||||
* Rearrange (rotate) window start bits relative to the current
|
||||
|
|
Loading…
Reference in New Issue