minor documentation fix
This commit is contained in:
parent
32d86a2a5a
commit
63df912d01
1 changed files with 4 additions and 1 deletions
|
@ -223,7 +223,10 @@ pub fn ofw_call(entry_fn: EntryFunction, service: NTSTR, num_args: i32, num_rets
|
|||
/// // addr_hi, addr_lo -- okay?
|
||||
/// // however, we must add another cell in order to account for the catch-result
|
||||
/// // (see ieee 1275, 6.3.2.2 Device tree)
|
||||
/// use ofw::{ntstr, ofw_call_method};
|
||||
/// use ofw::{IHandle, ntstr, ofw_call_method};
|
||||
/// use ofw::arch::EntryFunction;
|
||||
/// let entry_fn: EntryFunction = unimplemented!("get the entry function from somewhere");
|
||||
/// let instance: IHandle = unimplemented!("get the package instance from somewhere");
|
||||
/// // addr_hi, addr_lo, catch-result, okay?
|
||||
/// let mut args: [i32; 4] = [0, 0, 0, 0];
|
||||
/// // note that num_args and num_rets are not the same as the length of args, this is intentional
|
||||
|
|
Loading…
Add table
Reference in a new issue