mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-21 03:33:59 +08:00
a00736e936
Used the following script to copy the files: cd include set -e SPARC64=`ls asm-sparc64` for FILE in ${SPARC64}; do if [ -f asm-sparc/$FILE ]; then echo $FILE exist in asm-sparc else git mv asm-sparc64/$FILE asm-sparc/$FILE printf "#include <asm-sparc/$FILE>\n" > asm-sparc64/$FILE git add asm-sparc64/$FILE fi done Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
15 lines
508 B
C
15 lines
508 B
C
#ifndef _SPARC64_SCRATCHPAD_H
|
|
#define _SPARC64_SCRATCHPAD_H
|
|
|
|
/* Sun4v scratchpad registers, accessed via ASI_SCRATCHPAD. */
|
|
|
|
#define SCRATCHPAD_MMU_MISS 0x00 /* Shared with OBP - set by OBP */
|
|
#define SCRATCHPAD_CPUID 0x08 /* Shared with OBP - set by hypervisor */
|
|
#define SCRATCHPAD_UTSBREG1 0x10
|
|
#define SCRATCHPAD_UTSBREG2 0x18
|
|
/* 0x20 and 0x28, hypervisor only... */
|
|
#define SCRATCHPAD_UNUSED1 0x30
|
|
#define SCRATCHPAD_UNUSED2 0x38 /* Reserved for OBP */
|
|
|
|
#endif /* !(_SPARC64_SCRATCHPAD_H) */
|