Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Feb 2018 02:48:27 +0000 (UTC)
From:      Justin Hibbits <jhibbits@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r329257 - head/sys/powerpc/pseries
Message-ID:  <201802140248.w1E2mRQ9073531@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhibbits
Date: Wed Feb 14 02:48:27 2018
New Revision: 329257
URL: https://svnweb.freebsd.org/changeset/base/329257

Log:
  powerpc64/pseries: Define new hcalls
  
  Summary:
  Define new hcalls as in 'Linux on Power Architecture Platform Reference'
  version 1.1 (24 March 2016) downloaded from:
  
          https://members.openpowerfoundation.org/document/dl/469
  
  Submitted by:	Breno Leitao
  Differential Revision:	https://reviews.freebsd.org/D14281

Modified:
  head/sys/powerpc/pseries/phyp-hvcall.h

Modified: head/sys/powerpc/pseries/phyp-hvcall.h
==============================================================================
--- head/sys/powerpc/pseries/phyp-hvcall.h	Wed Feb 14 00:34:02 2018	(r329256)
+++ head/sys/powerpc/pseries/phyp-hvcall.h	Wed Feb 14 02:48:27 2018	(r329257)
@@ -296,7 +296,25 @@
 #define H_VPM_STAT	       	0x2bc
 #define H_SET_MPP		0x2d0
 #define H_GET_MPP		0x2d4
-#define MAX_HCALL_OPCODE	H_GET_MPP
+#define H_MO_PERF		0x2d8
+#define H_REG_SUB_CRQ		0x2dc
+#define H_FREE_SUB_CRQ		0x2e0
+#define H_SEND_SUB_CRQ		0x2e4
+#define H_SEND_SUB_CRQ_IND	0x2e8
+#define H_HOME_NODE_ASSOC	0x2ec
+/* Reserved ... */
+#define H_BEST_ENERGY		0x2f4
+#define H_REG_SNS		0x2f8
+#define H_X_XIRR		0x2fc
+#define H_RANDOM		0x300
+/* Reserved ... */
+#define H_COP_OP		0x304
+#define H_STOP_COP_OP		0x308
+#define H_GET_MPP_X		0x314
+#define H_SET_MODE		0x31C
+/* Reserved ... */
+#define H_GET_DMA_XLATES_L	0x324
+#define MAX_HCALL_OPCODE	H_GET_DMA_XLATES_L
 
 int64_t phyp_hcall(uint64_t opcode, ...);
 int64_t phyp_pft_hcall(uint64_t opcode, uint64_t flags, uint64_t pteidx,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802140248.w1E2mRQ9073531>