40 #define OF_N_MAX_ARGS 10 41 #define OF_ARG_MAX_LEN 4096 43 struct of_device_property {
44 struct of_device_property *next;
52 #define OF_PROP_STRING 1 56 struct of_device *next;
60 struct of_device_property *properties;
63 #define OF_FIND(ptr,cond) for (; ptr != NULL; ptr = ptr->next) \ 67 #define OF_SERVICE_ARGS struct cpu *, char **, uint64_t, uint64_t 74 #define OF_SERVICE(n) static int of__ ## n (struct cpu *cpu, \ 75 char **arg, uint64_t base, uint64_t retofs) 76 #define OF_GET_ARG(i) load_32bit_word(cpu, base + 12 + \ 77 sizeof(uint32_t) * (i)) 80 struct of_service *next;
82 int (*
f)(OF_SERVICE_ARGS);
88 struct of_device *of_devices;
89 struct of_service *of_services;
99 uint64_t fb_addr,
int fb_xsize,
int fb_ysize);
void of_emul_init_isa(struct machine *)
void f(int s, int func, int only_name)
int of_emul(struct cpu *cpu)
void of_emul_init_adb(struct machine *)
void of_emul_init_uninorth(struct machine *)
struct of_data * of_emul_init(struct machine *machine, struct vfb_data *, uint64_t fb_addr, int fb_xsize, int fb_ysize)
void of_emul_init_zs(struct machine *)