diff options
author | Damjan Marion <damarion@cisco.com> | 2020-09-16 21:15:44 +0200 |
---|---|---|
committer | Damjan Marion <damarion@cisco.com> | 2020-09-16 21:19:51 +0200 |
commit | 57d1ec00a953620ff59242db07c369843bb16820 (patch) | |
tree | 7badde39e261f24c7a69221a87843a9acf030413 /src/vppinfra/mem.c | |
parent | 33ce5e568f8b4fb1254bf5ee32865e9443c0185a (diff) |
vppinfra: introduce clib_mem_main
To hold more data later...
Type: improvement
Change-Id: I4006d22dcacd788988c4907f2c263fd4e4a9d398
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vppinfra/mem.c')
-rw-r--r-- | src/vppinfra/mem.c | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/vppinfra/mem.c b/src/vppinfra/mem.c new file mode 100644 index 00000000000..3477e5f3c17 --- /dev/null +++ b/src/vppinfra/mem.c @@ -0,0 +1,30 @@ +/* + * Copyright (c) 2020 Cisco and/or its affiliates. + * 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. + */ + +#include <vppinfra/clib.h> +#include <vppinfra/mem.h> +#include <vppinfra/time.h> +#include <vppinfra/format.h> +#include <vppinfra/clib_error.h> + +clib_mem_main_t clib_mem_main; + +/* + * fd.io coding-style-patch-verification: ON + * + * Local Variables: + * eval: (c-set-style "gnu") + * End: + */ |