-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 42288 b: refs/heads/master c: e042604 h: refs/heads/master v: v3
- Loading branch information
Michael Ellerman
authored and
Paul Mackerras
committed
Dec 4, 2006
1 parent
6acafbd
commit 20a0234
Showing
7 changed files
with
50 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: af89fb8041562508895c8f3ba04790d7c2f4338c | ||
refs/heads/master: e0426047cb684842700f0098f74842a38260dbae |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
#ifndef _POWERPC_XMON_DIS_ASM_H | ||
#define _POWERPC_XMON_DIS_ASM_H | ||
/* | ||
* Copyright (C) 2006 Michael Ellerman, IBM Corporation. | ||
* | ||
* This program is free software; you can redistribute it and/or | ||
* modify it under the terms of the GNU General Public License | ||
* as published by the Free Software Foundation; either version | ||
* 2 of the License, or (at your option) any later version. | ||
*/ | ||
|
||
extern void print_address (unsigned long memaddr); | ||
|
||
#ifdef CONFIG_XMON_DISASSEMBLY | ||
extern int print_insn_powerpc(unsigned long insn, unsigned long memaddr); | ||
extern int print_insn_spu(unsigned long insn, unsigned long memaddr); | ||
#else | ||
static inline int print_insn_powerpc(unsigned long insn, unsigned long memaddr) | ||
{ | ||
printf("%.8x", insn); | ||
return 0; | ||
} | ||
|
||
static inline int print_insn_spu(unsigned long insn, unsigned long memaddr) | ||
{ | ||
printf("%.8x", insn); | ||
return 0; | ||
} | ||
#endif | ||
|
||
#endif /* _POWERPC_XMON_DIS_ASM_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters