summaryrefslogtreecommitdiff
path: root/big-little/include/events.h
diff options
context:
space:
mode:
authorRobin Randhawa <robin.randhawa@arm.com>2011-12-20 15:54:33 +0000
committerRobin Randhawa <robin.randhawa@arm.com>2011-12-20 15:54:33 +0000
commit06193b40307e17cf6b675000abb5859838b0c841 (patch)
treebc792d2f9e8be28dd8ffc2913df4bc0cd6a2b5eb /big-little/include/events.h
parent0656dea51f48c51a57e77187de4d5f66a6ba1337 (diff)
Updated to release v2.1.
Intended to be the basis for the VSM development.
Diffstat (limited to 'big-little/include/events.h')
-rw-r--r--big-little/include/events.h61
1 files changed, 33 insertions, 28 deletions
diff --git a/big-little/include/events.h b/big-little/include/events.h
index 248a5b3..d6523e3 100644
--- a/big-little/include/events.h
+++ b/big-little/include/events.h
@@ -1,18 +1,24 @@
/*
- * $Copyright:
- * ----------------------------------------------------------------
- * This confidential and proprietary software may be used only as
- * authorised by a licensing agreement from ARM Limited
- * (C) COPYRIGHT 2008-2011 ARM Limited
- * ALL RIGHTS RESERVED
- * The entire notice above must be reproduced on all authorised
- * copies and copies may only be made to the extent permitted
- * by a licensing agreement from ARM Limited.
- * ----------------------------------------------------------------
- * File: events.h
- * ----------------------------------------------------------------
- * $
- */
+ * Copyright (c) 2011, ARM Limited. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with
+ * or without modification, are permitted provided that the
+ * following conditions are met:
+ *
+ * Redistributions of source code must retain the above
+ * copyright notice, this list of conditions and the
+ * following disclaimer.
+ *
+ * Redistributions in binary form must reproduce the
+ * above copyright notice, this list of conditions and
+ * the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *
+ * Neither the name of ARM nor the names of its
+ * contributors may be used to endorse or promote products
+ * derived from this software without specific prior written
+ * permission.
+ */
#ifndef __EVENTS_H__
#define __EVENTS_H__
@@ -24,37 +30,36 @@
/*
* Events for inter/intra-cluster sync
*/
-#define MAX_EVENTS 13
+#define MAX_EVENTS 12
/* Inter cluster events */
-#define IB_HS_DONE 0
-#define IB_CONTEXT_DONE 1
-#define OB_CONTEXT_DONE 2
+#define IB_CONTEXT_DONE 0
+#define OB_CONTEXT_DONE 1
/* Intra cluster events */
-#define L2_READY 3
-#define L1_DONE 4
-#define CCI_READY 5
-#define GIC_READY 6
+#define L2_READY 2
+#define L1_DONE 3
+#define CCI_READY 4
+#define GIC_READY 5
/* Cores have finished performing inbound headstart specific initialisation */
-#define HS_DONE 7
+#define HS_DONE 6
/*
* Holding pen to ensure that all other context is restored only after all
* cpus have finished initialised local and global HYP mode context.
*/
-#define HYP_CONTEXT_DONE 8
+#define HYP_CONTEXT_DONE 7
/*
* Holding pen to ensure that all cores have setup the local and global
* virtualisor context before any one of them uses it
*/
-#define VIRT_SETUP_DONE 9
+#define VIRT_SETUP_DONE 8
/*
* Event to synchronise creation of HYP mode pagetables
*/
-#define VIRT_PGT_DONE 10
+#define VIRT_PGT_DONE 9
-#define CACHE_GEOM_DONE 11
-#define VID_REGS_DONE 12
+#define CACHE_GEOM_DONE 10
+#define VID_REGS_DONE 11
/* Defines for Secure events */
#define MAX_SEC_EVENTS 4