Skip to content

Commit

Permalink
[SPARC64]: Sun4v scratchpad register layout.
Browse files Browse the repository at this point in the history
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller authored and David S. Miller committed Mar 20, 2006
1 parent d398ee2 commit 277b6dd
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions include/asm-sparc64/scratchpad.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#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) */

0 comments on commit 277b6dd

Please sign in to comment.