diff options
Diffstat (limited to 'core/malloc.c')
-rw-r--r-- | core/malloc.c | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/core/malloc.c b/core/malloc.c index 669cc59..613cff9 100644 --- a/core/malloc.c +++ b/core/malloc.c @@ -1,19 +1,11 @@ -/* Copyright 2013-2014 IBM Corp. +// SPDX-License-Identifier: Apache-2.0 +/* + * Implement malloc()/free() etc on top of our memory region allocator, + * which provides mem_alloc()/mem_free(). * - * 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. + * Copyright 2013-2015 IBM Corp. */ -/* Wrappers for malloc, et. al. */ + #include <mem_region.h> #include <lock.h> #include <string.h> |