Changeset 94d614e in mainline for boot/genarch/ofw.c


Ignore:
Timestamp:
2006-07-13T17:32:38Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a5f76758
Parents:
63cda71
Message:

Remove OpenFirmware calls from kernel/ entirely.

Switch the sparc64 port to use bootinfo.

Copy memcpy from boot/ to sparc64 kernel/ and
adjust it for memcpy_from/to_uspace.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • boot/genarch/ofw.c

    r63cda71 r94d614e  
    7575}
    7676
    77 
     77/** Perform a call to OpenFirmware client interface.
     78 *
     79 * @param service String identifying the service requested.
     80 * @param nargs Number of input arguments.
     81 * @param nret Number of output arguments. This includes the return value.
     82 * @param rets Buffer for output arguments or NULL. The buffer must accommodate nret - 1 items.
     83 *
     84 * @return Return value returned by the client interface.
     85 */
    7886static unsigned long ofw_call(const char *service, const int nargs, const int nret, ofw_arg_t *rets, ...)
    7987{
     
    8290        int i;
    8391       
    84         args.service = service;
     92        args.service = (ofw_arg_t) service;
    8593        args.nargs = nargs;
    8694        args.nret = nret;
Note: See TracChangeset for help on using the changeset viewer.