commit | 90b92fe48ec72b6c15cce24d33ac983548368b98 | [log] [tgz] |
---|---|---|
author | Ratan Gupta <ratagupt@in.ibm.com> | Fri May 05 17:34:00 2017 +0530 |
committer | Patrick Williams <patrick@stwcx.xyz> | Fri Jun 02 03:35:22 2017 +0000 |
tree | 3bd93add19f4e71dc8ca34d8b1e7cba9bbd90586 | |
parent | b3d88c439278b931863344306ff9b5532dc1028f [diff] |
Make the code compatible with c++ compiler if we write "int i;" in header file, c compiler treats as a tentative definition while c++ compiler treats as a definition. so when two cpp file includes the same header file then during linking time compiler says that there are multiple definitions. so to overcome this problem we are declaring it as extern and defining it in the corresponding c file. Change-Id: I91378c4c587414edf35f8313f2497268be36e2f4 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
Copyright 2017 IBM
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
This repo contains the protocol definition for the host to BMC mailbox communication specification which can be found in Documentation/mbox_procotol.md.
There is also a reference implementation of a BMC mailbox daemon, the details of which can be found in Documentation/mboxd.md.
Finally there is also an implementation of a mailbox daemon control program, the details of which can be found in Documentation/mboxctl.md.