core: remove global capability id counter

The global capability ID counter is not used by NOVA and Fiasco.OC
and in the future not needed by base-hw too. Thereby, remove the static
counter variable from the generic code base and add it where appropriated.

Ref #1443
This commit is contained in:
Stefan Kalkowski
2015-03-11 11:09:45 +01:00
committed by Christian Helmuth
parent 358380046c
commit a168c9d6ce
12 changed files with 30 additions and 9 deletions

View File

@ -15,6 +15,7 @@
#define _CORE__INCLUDE__LINUX__CAP_SESSION_COMPONENT_H_
#include <cap_session/cap_session.h>
#include <base/allocator.h>
#include <base/rpc_server.h>
#include <base/lock.h>

View File

@ -11,6 +11,7 @@ SRC_CC = main.cc \
ram_session_component.cc \
ram_session_support.cc \
rom_session_component.cc \
cap_session_component.cc \
cpu_session_component.cc \
cpu_session_extension.cc \
cpu_session_support.cc \
@ -49,6 +50,7 @@ include $(GEN_CORE_DIR)/version.inc
vpath main.cc $(GEN_CORE_DIR)
vpath ram_session_component.cc $(GEN_CORE_DIR)
vpath cap_session_component.cc $(GEN_CORE_DIR)
vpath cpu_session_component.cc $(GEN_CORE_DIR)
vpath platform_services.cc $(GEN_CORE_DIR)
vpath signal_session_component.cc $(GEN_CORE_DIR)