Searched defs:ci (Results 1 - 25 of 121) sorted by relevance

12345

/illumos-gate/usr/src/psm/promif/ieee1275/common/
H A Dprom_exit.c38 cell_t ci[3]; local
40 ci[0] = p1275_ptr2cell("exit"); /* Service name */
41 ci[1] = (cell_t)0; /* #argument cells */
42 ci[2] = (cell_t)0; /* #return cells */
45 (void) p1275_cif_handler(&ci);
H A Dprom_gettime.c42 cell_t ci[4]; local
44 ci[0] = p1275_ptr2cell("milliseconds"); /* Service name */
45 ci[1] = (cell_t)0; /* #argument cells */
46 ci[2] = (cell_t)1; /* #return cells */
49 (void) p1275_cif_handler(&ci);
52 return (p1275_cell2uint(ci[3])); /* Res0: time in ms. */
H A Dprom_enter.c35 cell_t ci[3]; local
38 ci[0] = p1275_ptr2cell("enter"); /* Service name */
39 ci[1] = (cell_t)0; /* #argument cells */
40 ci[2] = (cell_t)0; /* #return cells */
44 (void) p1275_cif_handler(&ci);
H A Dprom_phandle.c35 cell_t ci[5]; local
37 ci[0] = p1275_ptr2cell("instance-to-package"); /* Service name */
38 ci[1] = (cell_t)1; /* #argument cells */
39 ci[2] = (cell_t)1; /* #result cells */
40 ci[3] = p1275_ihandle2cell(i); /* Arg1: instance */
41 ci[4] = p1275_dnode2cell(OBP_BADNODE); /* Res1: Prime result */
44 (void) p1275_cif_handler(&ci);
47 return (p1275_cell2phandle(ci[4])); /* Res1: package */
H A Dprom_reboot.c38 cell_t ci[4]; local
40 ci[0] = p1275_ptr2cell("boot"); /* Service name */
41 ci[1] = (cell_t)1; /* #argument cells */
42 ci[2] = (cell_t)0; /* #result cells */
43 ci[3] = p1275_ptr2cell(bootstr); /* Arg1: bootspec */
44 (void) p1275_cif_handler(&ci);
H A Dprom_handler.c35 cell_t ci[5]; local
37 ci[0] = p1275_ptr2cell("set-callback"); /* Service name */
38 ci[1] = (cell_t)1; /* #argument cells */
39 ci[2] = (cell_t)1; /* #return cells */
40 ci[3] = p1275_ptr2cell(handler); /* Arg1: New handler */
41 ci[4] = (cell_t)-1; /* Res1: Prime result */
44 (void) p1275_cif_handler(&ci);
47 return (p1275_cell2ptr(ci[4])); /* Res1: Old handler */
53 cell_t ci[5]; local
55 ci[
[all...]
H A Dprom_interp.c36 cell_t ci[9]; local
58 ci[0] = p1275_ptr2cell("interpret"); /* Service name */
59 ci[1] = (cell_t)6; /* #argument cells */
60 ci[2] = (cell_t)0; /* #return cells */
61 ci[3] = p1275_ptr2cell(string); /* Arg1: Interpreted string */
62 ci[4] = p1275_uintptr2cell(arg1); /* Arg2: stack arg 1 */
63 ci[5] = p1275_uintptr2cell(arg2); /* Arg3: stack arg 2 */
64 ci[6] = p1275_uintptr2cell(arg3); /* Arg4: stack arg 3 */
65 ci[7] = p1275_uintptr2cell(arg4); /* Arg5: stack arg 4 */
66 ci[
[all...]
H A Dprom_path.c65 cell_t ci[7]; local
98 ci[0] = p1275_ptr2cell("canon"); /* Service name */
99 ci[1] = (cell_t)3; /* #argument cells */
100 ci[2] = (cell_t)1; /* #result cells */
101 ci[3] = p1275_ptr2cell(from); /* Arg1: token */
102 ci[4] = p1275_ptr2cell(to); /* Arg2: buffer address */
103 ci[5] = p1275_uint2cell(OBP_MAXPATHLEN); /* Arg3: buffer length */
105 (void) p1275_cif_handler(&ci);
H A Dprom_test.c37 cell_t ci[5]; local
39 ci[0] = p1275_ptr2cell("test"); /* Service name */
40 ci[1] = (cell_t)1; /* #argument cells */
41 ci[2] = (cell_t)1; /* #result cells */
42 ci[3] = p1275_ptr2cell(service); /* Arg1: requested svc name */
43 ci[4] = (cell_t)-1; /* Res1: Prime result */
46 (void) p1275_cif_handler(&ci);
49 return (p1275_cell2int(ci[4])); /* Res1: missing flag */
55 cell_t ci[6]; local
60 ci[
[all...]
/illumos-gate/usr/src/psm/promif/ieee1275/sun4/
H A Dprom_power_off.c39 cell_t ci[3]; local
41 ci[0] = p1275_ptr2cell("SUNW,power-off"); /* Service name */
42 ci[1] = (cell_t) 0; /* #argument cells */
43 ci[2] = (cell_t) 0; /* #result cells */
46 (void) p1275_cif_handler(&ci);
H A Dprom_heartbeat.c39 cell_t ci[5]; local
41 ci[0] = p1275_ptr2cell("SUNW,heartbeat"); /* Service name */
42 ci[1] = (cell_t)1; /* #argument cells */
43 ci[2] = (cell_t)1; /* #result cells */
44 ci[3] = p1275_int2cell(msecs); /* Arg1: msecs */
45 ci[4] = (cell_t)0; /* Prime the result */
48 (void) p1275_cif_handler(&ci);
51 return (p1275_cell2int(ci[4])); /* Res1: abort-flag */
H A Dprom_set_traptable.c40 cell_t ci[4]; local
42 ci[0] = p1275_ptr2cell("SUNW,set-trap-table"); /* Service name */
43 ci[1] = (cell_t) 1; /* #argument cells */
44 ci[2] = (cell_t) 0; /* #result cells */
45 ci[3] = p1275_ptr2cell(tba_addr); /* Arg1: tba address */
48 (void) p1275_cif_handler(&ci);
H A Dprom_efcode.c42 cell_t ci[5]; local
49 ci[0] = p1275_ptr2cell("SUNW,get-fcode-size");
50 ci[1] = (cell_t)1; /* 1 input arg: str */
51 ci[2] = (cell_t)1; /* 1 output result: len or zero */
52 ci[3] = p1275_ptr2cell(str);
53 ci[4] = (cell_t)0;
56 rv = p1275_cif_handler(&ci);
60 return (p1275_cell2int(ci[4]));
70 cell_t ci[6]; local
77 ci[
[all...]
H A Dprom_alloc.c111 cell_t ci[7]; local
114 ci[0] = p1275_ptr2cell("claim"); /* Service name */
115 ci[1] = (cell_t)3; /* #argument cells */
116 ci[2] = (cell_t)1; /* #result cells */
117 ci[3] = p1275_ptr2cell(virt); /* Arg1: virt */
118 ci[4] = p1275_size2cell(size); /* Arg2: size */
119 ci[5] = p1275_uint2cell(align); /* Arg3: align */
122 rv = p1275_cif_handler(&ci);
126 return ((caddr_t)p1275_cell2ptr(ci[6])); /* Res1: base */
134 cell_t ci[ local
[all...]
H A Dprom_getunum.c42 cell_t ci[12]; local
50 ci[0] = p1275_ptr2cell("call-method"); /* Service name */
51 ci[1] = (cell_t)7; /* #argument cells */
52 ci[2] = (cell_t)2; /* #result cells */
53 ci[3] = p1275_ptr2cell("SUNW,get-unumber"); /* Arg1: Method name */
54 ci[4] = p1275_ihandle2cell(imemory); /* Arg2: mem. ihandle */
55 ci[5] = p1275_uint2cell(buflen); /* Arg3: buflen */
56 ci[6] = p1275_ptr2cell(buf); /* Arg4: buf */
57 ci[7] = p1275_ull2cell_high(physaddr); /* Arg5: physhi */
58 ci[
[all...]
H A Dprom_retain.c40 cell_t ci[11]; local
47 ci[0] = p1275_ptr2cell("call-method"); /* Service name */
48 ci[1] = (cell_t)5; /* #argument cells */
49 ci[2] = (cell_t)3; /* #result cells */
50 ci[3] = p1275_ptr2cell("SUNW,retain"); /* Arg1: Method name */
51 ci[4] = p1275_ihandle2cell(imemory); /* Arg2: memory ihandle */
52 ci[5] = p1275_uint2cell(align); /* Arg2: SA1: align */
53 ci[6] = p1275_size2cell(size); /* Arg3: SA2: size */
54 ci[7] = p1275_ptr2cell(id); /* Arg4: SA3: id name */
57 rv = p1275_cif_handler(&ci);
[all...]
/illumos-gate/usr/src/psm/promif/ieee1275/sun4v/
H A Dprom_sun4v_soft_state_supported.c38 cell_t ci[3]; local
43 ci[0] = p1275_ptr2cell("SUNW,soft-state-supported"); /* Service */
44 ci[1] = (cell_t)0; /* No Arguments */
45 ci[2] = (cell_t)0; /* No return values */
48 (void) p1275_cif_handler(&ci);
H A Dprom_set_mmfsa_traptable.c41 cell_t ci[5]; local
43 ci[0] = p1275_ptr2cell("SUNW,set-trap-table"); /* Service name */
44 ci[1] = (cell_t)2; /* #argument cells */
45 ci[2] = (cell_t)0; /* #result cells */
46 ci[3] = p1275_ptr2cell(tba_addr); /* Arg1: tba address */
47 ci[4] = p1275_ptr2cell(mmfsa_ra); /* Arg2: mmfsa RA */
50 (void) p1275_cif_handler(&ci);
H A Dprom_sun4v_api_version.c40 cell_t ci[8]; local
45 ci[0] = p1275_ptr2cell("SUNW,set-sun4v-api-version"); /* Service */
46 ci[1] = (cell_t)3; /* #argument cells */
47 ci[2] = (cell_t)2; /* #result cells */
48 ci[3] = (cell_t)api_group; /* Arg1: api_group */
49 ci[4] = (cell_t)major; /* Arg2: major */
50 ci[5] = (cell_t)minor; /* Arg3: minor */
51 ci[6] = (cell_t)-1; /* Res1: status */
52 ci[7] = (cell_t)-1; /* Res2: Supported minor */
55 (void) p1275_cif_handler(&ci);
70 cell_t ci[7]; local
[all...]
/illumos-gate/usr/src/uts/sun4v/promif/
H A Dpromif_key.c53 cell_t *ci = (cell_t *)p; local
55 ci[6] = p1275_int2cell(-1);
H A Dpromif_asr.c44 cell_t *ci = (cell_t *)p; local
46 ci[3] = p1275_int2cell(-1);
62 cell_t *ci = (cell_t *)p; local
64 ci[3] = p1275_int2cell(-1);
H A Dpromif_test.c34 cell_t *ci = (cell_t *)p; local
39 ASSERT(ci[1] == 1);
41 opname = p1275_cell2ptr(ci[3]);
48 ci[4] = p1275_int2cell(rv);
H A Dpromif_version.c39 cell_t *ci = (cell_t *)p; local
46 ASSERT(ci[1] == 3);
47 ASSERT(ci[2] == 2);
49 api_group = (uint64_t)p1275_cell2int(ci[3]);
50 major = (uint64_t)p1275_cell2int(ci[4]);
51 minor = (uint64_t)p1275_cell2int(ci[5]);
55 ci[6] = p1275_int2cell(status);
56 ci[7] = p1275_int2cell(supported_minor);
64 cell_t *ci = (cell_t *)p; local
70 ASSERT(ci[
[all...]
/illumos-gate/usr/src/psm/promif/ieee1275/sun4u/
H A Dprom_sunfire.c36 cell_t ci[3]; local
39 ci[0] = p1275_ptr2cell("SUNW,Ultra-Enterprise,cpu-off");
40 ci[1] = (cell_t)0; /* #argument cells */
41 ci[2] = (cell_t)0; /* #result cells */
50 (void) p1275_cif_handler(&ci);
61 cell_t ci[5]; local
64 ci[0] = p1275_ptr2cell("SUNW,Ultra-Enterprise,add-brd"); /* name */
65 ci[1] = (cell_t)1; /* #argument cells */
66 ci[2] = (cell_t)1; /* #result cells */
67 ci[
84 cell_t ci[5]; local
[all...]
H A Dprom_tlb.c40 cell_t ci[9]; local
47 ci[0] = p1275_ptr2cell("call-method"); /* Service name */
48 ci[1] = (cell_t)5; /* #argument cells */
49 ci[2] = (cell_t)1; /* #result cells */
50 ci[3] = p1275_ptr2cell("SUNW,itlb-load"); /* Arg1: method name */
51 ci[4] = p1275_ihandle2cell(immu); /* Arg2: mmu ihandle */
52 ci[5] = p1275_ptr2cell(virt); /* Arg3: SA1: virt */
53 ci[6] = (cell_t)tte_data; /* Arg4: SA2: tte_data */
54 ci[7] = p1275_int2cell(index); /* Arg5: SA3: index */
57 rv = p1275_cif_handler(&ci);
70 cell_t ci[9]; local
[all...]

Completed in 214 milliseconds

12345