Renaming InitMap _mem_map_init
Updating micro kernel functions to follow a consistent naming convention. Part of that process is the removal of camelCase naming conventions for the preferred_underscore_method. Change accomplished with the following script: #!/bin/bash echo "Searching for ${1} to replace with ${2}" find . -type f \( -iname \*.c -o -iname \*.h -o -iname \*.s -o -iname \*.kconf \) \ -not \( -path host/src/genIdt -prune \) \ \ -not \( -path host/src/gen_tables -prune \) \ -print | xargs sed -i "s/"${1}"/"${2}"/g" Change-Id: I0eb8925e53f00b7993374fd8ed3e6ac950dfc1ef Signed-off-by: Dan Kalowsky <daniel.kalowsky@intel.com>
This commit is contained in:
parent
629d73d857
commit
12af4313ea
3 changed files with 4 additions and 4 deletions
|
@ -39,7 +39,7 @@ extern "C" {
|
||||||
|
|
||||||
#ifndef LITE
|
#ifndef LITE
|
||||||
|
|
||||||
extern void InitMap(void);
|
extern void _mem_map_init(void);
|
||||||
|
|
||||||
extern int task_mem_map_used_get(kmemory_map_t map);
|
extern int task_mem_map_used_get(kmemory_map_t map);
|
||||||
extern int _task_mem_map_alloc(kmemory_map_t mmap, void **mptr, int32_t time);
|
extern int _task_mem_map_alloc(kmemory_map_t mmap, void **mptr, int32_t time);
|
||||||
|
|
|
@ -36,14 +36,14 @@
|
||||||
|
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
*
|
*
|
||||||
* InitMap - initialize kernel memory map subsystem
|
* _mem_map_init - initialize kernel memory map subsystem
|
||||||
*
|
*
|
||||||
* Perform any initialization of memory maps that wasn't done at build time.
|
* Perform any initialization of memory maps that wasn't done at build time.
|
||||||
*
|
*
|
||||||
* RETURNS: N/A
|
* RETURNS: N/A
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void InitMap(void)
|
void _mem_map_init(void)
|
||||||
{
|
{
|
||||||
int i, j, w;
|
int i, j, w;
|
||||||
struct map_struct *M;
|
struct map_struct *M;
|
||||||
|
|
|
@ -950,7 +950,7 @@ def kernel_main_c_node_init():
|
||||||
if (len(pipe_list) > 0):
|
if (len(pipe_list) > 0):
|
||||||
kernel_main_c_out(" InitPipe();\n")
|
kernel_main_c_out(" InitPipe();\n")
|
||||||
if (len(map_list) > 0):
|
if (len(map_list) > 0):
|
||||||
kernel_main_c_out(" InitMap();\n")
|
kernel_main_c_out(" _mem_map_init();\n")
|
||||||
if (len(pool_list) > 0):
|
if (len(pool_list) > 0):
|
||||||
kernel_main_c_out(" InitPools();\n")
|
kernel_main_c_out(" InitPools();\n")
|
||||||
kernel_main_c_out("}\n")
|
kernel_main_c_out("}\n")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue