Implement ARM Standard Service

This patch implements ARM Standard Service as a runtime service and adds
support for call count, UID and revision information SMCs. The existing
PSCI implementation is subsumed by the Standard Service calls and all
PSCI calls are therefore dispatched by the Standard Service to the PSCI
handler.

At present, PSCI is the only specification under Standard Service. Thus
call count returns the number of PSCI calls implemented. As this is the
initial implementation, a revision number of 0.1 is returned for call
revision.

Fixes ARM-software/tf-issues#62

Change-Id: I6d4273f72ad6502636efa0f872e288b191a64bc1
diff --git a/bl31/bl31.mk b/bl31/bl31.mk
index 5bc58c5..8f6998c 100644
--- a/bl31/bl31.mk
+++ b/bl31/bl31.mk
@@ -33,13 +33,15 @@
 				arch/system/gic				\
 				plat/${PLAT}				\
 				arch/${ARCH}				\
-				services/psci				\
+				services/std_svc			\
+				services/std_svc/psci			\
 				lib/sync/locks/bakery			\
 				plat/${PLAT}/${ARCH}			\
 				${PLAT_BL31_C_VPATH}
 
 vpath			%.S	lib/arch/${ARCH}			\
-				services/psci				\
+				services/std_svc			\
+				services/std_svc/psci			\
 				include					\
 				plat/${PLAT}/${ARCH}			\
 				lib/sync/locks/exclusive		\
@@ -51,6 +53,7 @@
 				bl31_entrypoint.S			\
 				runtime_exceptions.S			\
 				bl31_main.c				\
+				std_svc_setup.c				\
 				psci_entry.S				\
 				psci_setup.c				\
 				psci_common.c				\