Add OemRouter facility.
OemRouter adds a facility to register OEM Group Message handlers,
then dispatch matching messages to the registered handler.
Added as a core source so that any dynamic provider can register its
messages without requiring any specific load order.
Includes code fixes for x86 portability.
Change-Id: I47b8fe7873e3c7fdf35a00d3c8a7e17d30c398c4
Signed-off-by: Peter Hanson <peterh@google.com>
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/Makefile.am b/Makefile.am
index ef1bf14..24fd5e7 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -8,7 +8,8 @@
settings.cpp \
host-cmd-manager.cpp \
timer.cpp \
- utils.cpp
+ utils.cpp \
+ oemrouter.cpp
nodist_ipmid_SOURCES = ipmiwhitelist.cpp
libapphandler_BUILT_LIST = \
@@ -108,7 +109,9 @@
nobase_include_HEADERS = \
host-ipmid/ipmid-api.h \
host-ipmid/ipmid-host-cmd.hpp \
- host-ipmid/ipmid-host-cmd-utils.hpp
+ host-ipmid/ipmid-host-cmd-utils.hpp \
+ host-ipmid/oemopenbmc.hpp \
+ host-ipmid/oemrouter.hpp
# Forcing the build of self and then subdir
SUBDIRS = . test softoff