qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] target/ppc: Remove unused MMU definitions
@ 2021-01-27 23:24 Philippe Mathieu-Daudé
  2021-01-28  0:22 ` David Gibson
  0 siblings, 1 reply; 2+ messages in thread
From: Philippe Mathieu-Daudé @ 2021-01-27 23:24 UTC (permalink / raw)
  To: qemu-devel
  Cc: Richard Henderson, Philippe Mathieu-Daudé, Greg Kurz,
	qemu-ppc, Joe Komlodi, David Gibson

Remove these confusing and unused definitions.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
---
 target/ppc/cpu.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/target/ppc/cpu.h b/target/ppc/cpu.h
index 2609e4082ed..cb002102888 100644
--- a/target/ppc/cpu.h
+++ b/target/ppc/cpu.h
@@ -2205,9 +2205,6 @@ enum {
  * may be needed for precise access rights control and precise exceptions.
  */
 enum {
-    /* 1 bit to define user level / supervisor access */
-    ACCESS_USER  = 0x00,
-    ACCESS_SUPER = 0x01,
     /* Type of instruction that generated the access */
     ACCESS_CODE  = 0x10, /* Code fetch access                */
     ACCESS_INT   = 0x20, /* Integer load/store access        */
-- 
2.26.2



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] target/ppc: Remove unused MMU definitions
  2021-01-27 23:24 [PATCH] target/ppc: Remove unused MMU definitions Philippe Mathieu-Daudé
@ 2021-01-28  0:22 ` David Gibson
  0 siblings, 0 replies; 2+ messages in thread
From: David Gibson @ 2021-01-28  0:22 UTC (permalink / raw)
  To: Philippe Mathieu-Daudé
  Cc: Richard Henderson, qemu-ppc, qemu-devel, Joe Komlodi, Greg Kurz

[-- Attachment #1: Type: text/plain, Size: 1076 bytes --]

On Thu, Jan 28, 2021 at 12:24:01AM +0100, Philippe Mathieu-Daudé wrote:
> Remove these confusing and unused definitions.
> 
> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>

Applied to ppc-for-6.0.

> ---
>  target/ppc/cpu.h | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/target/ppc/cpu.h b/target/ppc/cpu.h
> index 2609e4082ed..cb002102888 100644
> --- a/target/ppc/cpu.h
> +++ b/target/ppc/cpu.h
> @@ -2205,9 +2205,6 @@ enum {
>   * may be needed for precise access rights control and precise exceptions.
>   */
>  enum {
> -    /* 1 bit to define user level / supervisor access */
> -    ACCESS_USER  = 0x00,
> -    ACCESS_SUPER = 0x01,
>      /* Type of instruction that generated the access */
>      ACCESS_CODE  = 0x10, /* Code fetch access                */
>      ACCESS_INT   = 0x20, /* Integer load/store access        */

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-01-28  1:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-27 23:24 [PATCH] target/ppc: Remove unused MMU definitions Philippe Mathieu-Daudé
2021-01-28  0:22 ` David Gibson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).