Searched refs:ihandle_t (Results 1 - 25 of 48) sorted by relevance

12

/illumos-gate/usr/src/boot/sys/boot/ofw/libofw/
H A Dopenfirm.h68 typedef unsigned int ihandle_t; typedef
74 extern ihandle_t memory, mmu;
91 phandle_t OF_instance_to_package(ihandle_t);
98 int OF_instance_to_path(ihandle_t, char *, int);
100 int OF_call_method(char *, ihandle_t, int, int, ...);
103 ihandle_t OF_open(char *);
104 void OF_close(ihandle_t);
105 int OF_read(ihandle_t, void *, int);
106 int OF_write(ihandle_t, void *, int);
107 int OF_seek(ihandle_t, u_quad_
[all...]
H A Dofw_console.c43 static ihandle_t stdin;
44 static ihandle_t stdout;
H A Dlibofw.h35 ihandle_t d_handle;
H A Dopenfirm.c70 ihandle_t mmu;
71 ihandle_t memory;
223 OF_instance_to_package(ihandle_t instance)
400 OF_instance_to_path(ihandle_t instance, char *buf, int len)
452 OF_call_method(char *method, ihandle_t instance, int nargs, int nreturns, ...)
495 ihandle_t
519 OF_close(ihandle_t instance)
537 OF_read(ihandle_t instance, void *addr, int len)
575 OF_write(ihandle_t instance, void *addr, int len)
601 OF_seek(ihandle_t instanc
[all...]
/illumos-gate/usr/src/psm/promif/ieee1275/common/
H A Dprom_stdin.c35 ihandle_t
38 static ihandle_t istdin;
45 sizeof (ihandle_t)) {
49 return (istdin = (ihandle_t)-1);
64 ihandle_t istdin;
69 if ((istdin = prom_stdin_ihandle()) == (ihandle_t)-1)
H A Dprom_stdout.c35 ihandle_t
38 static ihandle_t istdout;
45 sizeof (ihandle_t)) {
46 return (istdout = (ihandle_t)-1);
62 ihandle_t istdout;
67 if ((istdout = prom_stdout_ihandle()) == (ihandle_t)-1)
H A Dprom_inpath.c38 ihandle_t istdin;
45 if (istdin != (ihandle_t)-1)
H A Dprom_outpath.c38 ihandle_t istdout;
45 if (istdout != (ihandle_t)-1)
H A Dprom_phandle.c33 prom_getphandle(ihandle_t i)
H A Dprom_wrtestr.c39 ihandle_t istdin;
/illumos-gate/usr/src/psm/promif/ieee1275/sun4/
H A Dprom_mmu.c38 ihandle_t
41 static ihandle_t immu;
43 if (immu != (ihandle_t)0)
46 if (prom_getproplen(prom_chosennode(), "mmu") != sizeof (ihandle_t))
47 return (immu = (ihandle_t)-1);
68 ihandle_t immu = prom_mmu_ihandle();
70 if ((immu == (ihandle_t)-1))
109 ihandle_t immu = prom_mmu_ihandle();
111 if ((immu == (ihandle_t)-1))
144 ihandle_t imm
[all...]
H A Dprom_mem.c40 ihandle_t
43 static ihandle_t imemory;
45 if (imemory != (ihandle_t)0)
48 if (prom_getproplen(prom_chosennode(), "memory") != sizeof (ihandle_t))
49 return (imemory = (ihandle_t)-1);
68 ihandle_t imemory = prom_memory_ihandle();
70 if ((imemory == (ihandle_t)-1))
110 ihandle_t imemory = prom_memory_ihandle();
112 if ((imemory == (ihandle_t)-1))
146 ihandle_t imemor
[all...]
H A Dprom_retain.c42 ihandle_t imemory = prom_memory_ihandle();
44 if ((imemory == (ihandle_t)-1))
H A Dprom_getunum.c44 ihandle_t imemory = prom_memory_ihandle();
47 if ((imemory == (ihandle_t)-1))
H A Dprom_fio.c33 prom_fopen(ihandle_t fsih, char *path)
80 prom_volopen(ihandle_t fsih, char *path)
127 prom_fseek(ihandle_t fsih, int fd, unsigned long long offset)
154 prom_fread(ihandle_t fsih, int fd, caddr_t buf, size_t len)
197 prom_fsize(ihandle_t fsih, int fd, size_t *size)
223 prom_compinfo(ihandle_t fsih, int fd, int *iscmp, size_t *fsize, size_t *bsize)
250 prom_fclose(ihandle_t fsih, int fd)
H A Dprom_macaddr.c39 prom_getmacaddr(ihandle_t hd, caddr_t ea)
/illumos-gate/usr/src/psm/promif/ieee1275/sun4u/
H A Dprom_tlb.c42 ihandle_t immu = prom_mmu_ihandle();
44 if ((immu == (ihandle_t)-1))
72 ihandle_t immu = prom_mmu_ihandle();
74 if ((immu == (ihandle_t)-1))
/illumos-gate/usr/src/uts/sun/sys/
H A Dpromif.h127 extern phandle_t prom_getphandle(ihandle_t i);
141 extern int prom_ihandle_to_path(ihandle_t, char *buf,
149 extern ihandle_t prom_stdin_ihandle(void);
150 extern ihandle_t prom_stdout_ihandle(void);
170 extern ihandle_t prom_memory_ihandle(void);
171 extern ihandle_t prom_mmu_ihandle(void);
276 extern ssize_t prom_read(ihandle_t fd, caddr_t buf, size_t len,
278 extern ssize_t prom_write(ihandle_t fd, caddr_t buf, size_t len,
318 extern int prom_fopen(ihandle_t, char *);
319 extern int prom_volopen(ihandle_t, cha
[all...]
H A Dttymux.h138 ihandle_t sm_i_ihdl; /* ihandle of the OBP input device */
139 ihandle_t sm_o_ihdl; /* ihandle of the OBP output device */
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dpromif_impl.h109 extern void cif_init(char *, caddr_t, ihandle_t, ihandle_t,
111 extern void promif_io_init(ihandle_t, ihandle_t, phandle_t, phandle_t);
/illumos-gate/usr/src/uts/intel/sys/
H A Dobpdefs.h41 typedef int ihandle_t; /* 1275 device instance number */ typedef
/illumos-gate/usr/src/cmd/mdb/common/kmdb/
H A Dkmdb_promif.h49 extern ihandle_t kmdb_prom_get_handle(char *);
H A Dkmdb_auxv.h112 ihandle_t kav_promif_in; /* PROM input dev instance */
113 ihandle_t kav_promif_out; /* PROM output dev instance */
/illumos-gate/usr/src/uts/sun4v/promif/
H A Dpromif_io.c92 static pnode_t instance_to_package(ihandle_t ih);
98 static ihandle_t istdin;
99 static ihandle_t istdout;
107 ihandle_t ih;
270 instance_to_package(ihandle_t ih)
287 promif_io_init(ihandle_t in, ihandle_t out, phandle_t pin, phandle_t pout)
316 ihandle_t ih;
/illumos-gate/usr/src/uts/sparc/v9/sys/
H A Dprom_isa.h60 #define p1275_ihandle2cell(ih) ((cell_t)((unsigned int)((ihandle_t)(ih))))
71 #define p1275_cell2ihandle(ih) ((ihandle_t)((cell_t)(ih)))

Completed in 144 milliseconds

12