doc: fix some missed renames
These were renamed to z_ prefix some time ago, but not updated in these places. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
2dc2ecfb60
commit
ae8acffaa6
2 changed files with 4 additions and 4 deletions
|
@ -209,8 +209,8 @@ Some objects will be implicitly initialized at boot:
|
||||||
* Device driver objects are considered initialized after their init function
|
* Device driver objects are considered initialized after their init function
|
||||||
is run by the kernel early in the boot process.
|
is run by the kernel early in the boot process.
|
||||||
|
|
||||||
If a kernel object is initialized with a private static initializer, the
|
If a kernel object is initialized with a private static initializer, the object
|
||||||
object must have :c:func:`_k_object_init()` called on it at some point by a supervisor
|
must have :c:func:`z_object_init()` called on it at some point by a supervisor
|
||||||
thread, otherwise the kernel will consider the object uninitialized if accessed
|
thread, otherwise the kernel will consider the object uninitialized if accessed
|
||||||
by a user thread. This is very uncommon, typically only for kernel objects that
|
by a user thread. This is very uncommon, typically only for kernel objects that
|
||||||
are embedded within some larger struct and initialized statically.
|
are embedded within some larger struct and initialized statically.
|
||||||
|
@ -228,7 +228,7 @@ are embedded within some larger struct and initialized statically.
|
||||||
};
|
};
|
||||||
|
|
||||||
...
|
...
|
||||||
_k_object_init(&my_foo.sem);
|
z_object_init(&my_foo.sem);
|
||||||
...
|
...
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -83,7 +83,7 @@ def process_line(line, fp):
|
||||||
return
|
return
|
||||||
|
|
||||||
# Set the lookup function to static inline so it gets rolled into
|
# Set the lookup function to static inline so it gets rolled into
|
||||||
# _k_object_find(), nothing else will use it
|
# z_object_find(), nothing else will use it
|
||||||
if re.search(args.pattern + " [*]$", line):
|
if re.search(args.pattern + " [*]$", line):
|
||||||
fp.write("static inline " + line)
|
fp.write("static inline " + line)
|
||||||
return
|
return
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue