Changeset 34d9ab28 in mainline for genarch


Ignore:
Timestamp:
2005-10-26T00:07:17Z (20 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
807d2d4
Parents:
81e1396
Message:

Create genarch directory.
Move ppc32 ofw.[ch] to genarch.
Fix prototype for ofw_call() to return address instead of int (please review).
Fix copyright notice in sparc64/boot/boot.S.

Location:
genarch
Files:
1 added
2 moved

Legend:

Unmodified
Added
Removed
  • genarch/include/firmware/ofw/ofw.h

    r81e1396 r34d9ab28  
    5454extern void ofw_init(void);
    5555extern void ofw_done(void);
    56 extern int ofw_call(const char *service, const int nargs, const int nret, ...);
     56extern __address ofw_call(const char *service, const int nargs, const int nret, ...);
    5757extern void ofw_putchar(const char ch);
    5858extern phandle ofw_find_device(const char *name);
  • genarch/src/firmware/ofw/ofw.c

    r81e1396 r34d9ab28  
    2727 */
    2828
    29 #include <arch/drivers/ofw.h>
     29#include <genarch/firmware/ofw/ofw.h>
    3030#include <arch/asm.h>
    3131#include <stdarg.h>
    3232#include <cpu.h>
     33#include <arch/types.h>
    3334
    3435ofw_entry ofw;
     
    5354}
    5455
    55 int ofw_call(const char *service, const int nargs, const int nret, ...)
     56__address ofw_call(const char *service, const int nargs, const int nret, ...)
    5657{
    5758        va_list list;
Note: See TracChangeset for help on using the changeset viewer.