(xstack-intel) OCR: Cleanup of XE/CE policy domains

Major cleanup of the XE/CE PD. The XE now really does nothing.
This also simplifies the code and will hopefully make bugs
easier to track

Change-Id: Id93d3b0962b6f3e3daa180981e4bf676de486b00
(xstack-intel) Reviving plain non-OCR payload capability for debug.

Pull xe-abi.h header into a common directory and fix links.

Rework mb-printf example into nocr-printf and re-wire FSIM tests back
into the build chain.

Most importantly, re-work XE setup code and RMDKRNL's XE ELF loader
codes with capability to either:

  (a) branch into PD->Begin() for OCR payloads (that is, payloads WITH
      binary blobs), or

  (b) branch into the XE ELF entry point for plain payloads (that is,
      ones WITHOUT binary blobs.)

Change-Id: I0abb47f01b8aba40f22a922494a7688deb55a2db
(xstack-intel) Builder locates the heap after _end symbol

Builder reads the ELF file to locate _end
symbol for rmdkrnl/app and adjusts the heap
start addresses on CE & XE accordingly

Change-Id: I80b4c9c20bfb5aceb4de7a6630279636a0d50fb7
(xstack-intel) Connect XE sal_assert() to meaningful console message.

This was borked for too-long because of heap corruption that was
messing up the unnamed file name strings and wreaking havoc.  The
previous commit fixed that and this now works.

Change-Id: Iad0cdea9cfa7cd88b49f883c6ca87a8808bd85d7
(xstack-intel) Use null allocator for XE

Change-Id: I97e8d2011b7cd2deed0b0806cf99acb4657542c1
(xstack-intel) OCR: Cleaned-up message src/dest on XE/CE PD

The srcLocation and destLocation were not being properly set-up
on the XE/CE PDs which will cause problems for the FSim port. This fixes
these problems

Change-Id: I7dd85b231fda73ee96ee887932873f6f0108c42e
(xstack-intel) OCR: Added bufferSize and hint to comm-platform send/poll

See issue #68. This is a partial fix to unblock Ivan and allow
the FSim comm-platform to use the existing buffer.

Change-Id: I4ce48b0d986e8319f84ef18345bd9cc0f2b0f850
(xstack-intel) Tiny comment modifications to ocr-comm-platform.h

This is also to test the Trac linking of bugs. The previous change
[references issue #68].

Change-Id: I925c63d1c5534321a82ac35f0b99e9e8ba0f166a
(xstack-intel) Add initialize function to comm-api

Change-Id: I3a545017591505590f9c116b2ec523c14dd87d45
(xstack-intel) Update hashtable implementation conc/non-conc

Change-Id: I16bea2fa72996110a97e69541d39ce1cd374bd92
(xstack-intel) Add begin/start/stop/finish calls for comm-apis

Change-Id: I226f303a7cb8d77bcd958d329c4ad5cf55e25381
(xstack-intel) Fix some typos and update comments

Change-Id: I12c44bcec5ac302accddc6574a11032fd55c98fa
(xstack-intel) Make CE ASSERT more informative.

Change-Id: Ib289573208f4f95ef7d2b5c1cf0610c30483f2b3
(xstack-intel) OCR: Small cleanup of the communication layer

Clean-up to more clearly separate the layers.
[See issue #68]

Change-Id: I5d35a5ec3650e385f504cdc884ad52ff95555ff3
(xstack-intel) Fix a race between satisfy and registerSignaler

Concurrent execution of satisfy and registerSignaler
led toboth trying to execute registerOnFrontier.

Change-Id: I93be172d1940886b804c50d8940ca5c4824afe60
(xstack-intel) Add destruct call in PD's finish

Moved malloc mem-platform finish code to destruct fct
Cleaned freeUpRuntime call.

Change-Id: I1c69596218aa5bea662b94c4ad07d2d995ff165b
(xstack-intel) Resize comms stage area at head of scratchpads.

Currently, the size of a policy message is 120 bytes, so we'll budget
256 on each agent for one F/E word + one message with some room for
growth (let's hope not.)

XEs gets one message-worth. CEs get 8 message-worth (one per XE.)

Change-Id: I875540c61c8b62fb88fff676548ee39c7f60a3ba
(xstack-intel) Another step toward OCR on FSIM.

The comm-platform code works. Multiple round-trip XE->CE->XE exchanges
have been demonstrated in testing.

Sadly, many races and other issues remain. As well as many hacked up
kludges that need better and more permanent fixes (see FIXME: HACK!!!
comments.)

A trivial PRINTF() OCR application sometimes works on 1 block with 1
CE and 1 XE. Milestone, however underwhelming.

Change-Id: Ib654fde7f51372cc6124546d0e1d1b5ee093645f
(xstack-intel) Restore jenkins to working order.

The fsim comms changes accidentally included platform specific
assembly in common code...

Change-Id: I562dcae4ee438b45cfae512c031e6e20e83941ff
(xstack-intel) Fix a race induced by OCR Start() problems.

Gory details in the copious comments in the code. This makes the OCR
PRINTF example run correctly and in a much much more stable way.

Change-Id: Icbf67e6da7fc1d3f7124bb37c2580314d070d78d