arch: Rename reserved function names
Rename reserved function names in arch/ subdirectory. The Python script gen_priv_stacks.py was updated to follow the 'z_' prefix naming. Signed-off-by: Patrik Flykt <patrik.flykt@intel.com>
This commit is contained in:
parent
97b3bd11a7
commit
7c0a245d32
109 changed files with 556 additions and 558 deletions
|
@ -32,7 +32,7 @@ kobjects = {
|
|||
|
||||
|
||||
header = """%compare-lengths
|
||||
%define lookup-function-name _k_priv_stack_map_lookup
|
||||
%define lookup-function-name z_priv_stack_map_lookup
|
||||
%language=ANSI-C
|
||||
%global-table
|
||||
%struct-type
|
||||
|
@ -63,10 +63,10 @@ structure = """struct _k_priv_stack_map {
|
|||
# turned into a string, we told gperf to expect binary strings that are not
|
||||
# NULL-terminated.
|
||||
footer = """%%
|
||||
u8_t *_k_priv_stack_find(void *obj)
|
||||
u8_t *z_priv_stack_find(void *obj)
|
||||
{
|
||||
const struct _k_priv_stack_map *map =
|
||||
_k_priv_stack_map_lookup((const char *)obj, sizeof(void *));
|
||||
z_priv_stack_map_lookup((const char *)obj, sizeof(void *));
|
||||
return map->priv_stack_addr;
|
||||
}
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue