p1275_ptr2cell
ci[0] = p1275_ptr2cell(service); /* Service name */
ci[4] = p1275_ptr2cell(buf); /* Arg2: Result buffer */
ci[0] = p1275_ptr2cell("enter"); /* Service name */
ci[0] = p1275_ptr2cell("exit"); /* Service name */
ci[0] = p1275_ptr2cell("milliseconds"); /* Service name */
ci[0] = p1275_ptr2cell("set-callback"); /* Service name */
ci[3] = p1275_ptr2cell(handler); /* Arg1: New handler */
ci[0] = p1275_ptr2cell("set-symbol-lookup"); /* Service name */
ci[3] = p1275_ptr2cell(sym2val); /* Arg1: s2v handler */
ci[4] = p1275_ptr2cell(val2sym); /* Arg1: v2s handler */
ci[0] = p1275_ptr2cell("interpret"); /* Service name */
ci[3] = p1275_ptr2cell(string); /* Arg1: Interpreted string */
ci[0] = p1275_ptr2cell("read"); /* Service name */
ci[4] = p1275_ptr2cell(buf); /* Arg2: buffer address */
ci[0] = p1275_ptr2cell("write"); /* Service name */
ci[4] = p1275_ptr2cell(buf); /* Arg2: buffer addr */
ci[0] = p1275_ptr2cell("close"); /* Service name */
ci[0] = p1275_ptr2cell("open"); /* Service name */
ci[3] = p1275_ptr2cell(path); /* Arg1: Pathname */
ci[0] = p1275_ptr2cell("seek"); /* Service name */
ci[0] = p1275_ptr2cell("SUNW,get-security-key");
ci[3] = p1275_ptr2cell(keyname);
ci[4] = p1275_ptr2cell(buf);
ci[0] = p1275_ptr2cell("SUNW,set-security-key");
ci[3] = p1275_ptr2cell(keyname);
ci[4] = p1275_ptr2cell(buf);
ci[0] = p1275_ptr2cell("parent"); /* Service name */
ci[0] = p1275_ptr2cell("finddevice"); /* Service name */
ci[3] = p1275_ptr2cell(path); /* Arg1: pathname */
ci[0] = p1275_ptr2cell("peer"); /* Service name */
ci[0] = p1275_ptr2cell("child"); /* Service name */
ci[3] = p1275_ptr2cell(from); /* Arg1: token */
ci[4] = p1275_ptr2cell(to); /* Arg2: buffer address */
ci[0] = p1275_ptr2cell("canon"); /* Service name */
ci[0] = p1275_ptr2cell("instance-to-package"); /* Service name */
ci[3] = p1275_ptr2cell(value); /* Arg1: buffer address */
ci[0] = p1275_ptr2cell("SUNW,asr-list-keys"); /* Service name */
ci[3] = p1275_ptr2cell(value); /* Arg1: buffer address */
ci[0] = p1275_ptr2cell("SUNW,asr-disable"); /* Service name */
ci[3] = p1275_ptr2cell(keystr); /* Arg1: key address */
ci[3] = p1275_ptr2cell(reason); /* Arg1: reason address */
ci[0] = p1275_ptr2cell("SUNW,asr-enable"); /* Service name */
ci[3] = p1275_ptr2cell(keystr); /* Arg1: key address */
ci[0] = p1275_ptr2cell("getproplen"); /* Service name */
ci[4] = p1275_ptr2cell(name); /* Arg2: Property name */
ci[0] = p1275_ptr2cell("getprop"); /* Service name */
ci[4] = p1275_ptr2cell(name); /* Arg2: property name */
ci[5] = p1275_ptr2cell(value); /* Arg3: buffer address */
ci[0] = p1275_ptr2cell("getprop"); /* Service name */
ci[4] = p1275_ptr2cell(name); /* Arg2: property name */
ci[5] = p1275_ptr2cell(value); /* Arg3: buffer address */
ci[0] = p1275_ptr2cell("nextprop"); /* Service name */
ci[4] = p1275_ptr2cell(previous); /* Arg2: addr of prev name */
ci[5] = p1275_ptr2cell(next); /* Arg3: addr of 32 byte buf */
ci[0] = p1275_ptr2cell("setprop"); /* Service name */
ci[4] = p1275_ptr2cell(name); /* Arg2: property name */
ci[5] = p1275_ptr2cell(value); /* Arg3: New value ptr */
ci[0] = p1275_ptr2cell("SUNW,asr-export-len"); /* Service name */
ci[0] = p1275_ptr2cell("SUNW,asr-list-keys-len");
ci[0] = p1275_ptr2cell("SUNW,asr-export"); /* Service name */
ci[0] = p1275_ptr2cell("boot"); /* Service name */
ci[3] = p1275_ptr2cell(bootstr); /* Arg1: bootspec */
ci[0] = p1275_ptr2cell("test"); /* Service name */
ci[3] = p1275_ptr2cell(service); /* Arg1: requested svc name */
ci[0] = p1275_ptr2cell("test-method"); /* service */
ci[4] = p1275_ptr2cell(method);
ci[0] = p1275_ptr2cell("claim"); /* Service name */
ci[3] = p1275_ptr2cell(virt); /* Arg1: virt */
ci[0] = p1275_ptr2cell("release"); /* Service name */
ci[3] = p1275_ptr2cell(virt); /* Arg1: virt */
ci[0] = p1275_ptr2cell("SUNW,park-cpu");
ci[0] = p1275_ptr2cell("SUNW,hotadd-cpu-by-cpuid"); /* Service name */
ci[0] = p1275_ptr2cell("SUNW,hotremove-cpu-by-cpuid"); /* Service */
ci[0] = p1275_ptr2cell("SUNW,stop-cpu-by-cpuid"); /* Service name */
ci[0] = p1275_ptr2cell("SUNW,start-cpu"); /* Service name */
ci[4] = p1275_ptr2cell(pc); /* Arg2: pc */
ci[0] = p1275_ptr2cell("SUNW,start-cpu-by-cpuid"); /* Service name */
ci[4] = p1275_ptr2cell(pc); /* Arg2: pc */
ci[0] = p1275_ptr2cell("SUNW,wakeup-cpu"); /* Service name */
ci[0] = p1275_ptr2cell("SUNW,get-fcode-size");
ci[3] = p1275_ptr2cell(str);
ci[0] = p1275_ptr2cell("SUNW,get-fcode");
ci[3] = p1275_ptr2cell(buf); /* Arg#1: buffer to put fcode */
ci[4] = p1275_ptr2cell(str); /* Arg#2: name of drop-in */
ci[0] = p1275_ptr2cell("call-method"); /* Service name */
ci[3] = p1275_ptr2cell("open-volume"); /* Arg1: Method name */
ci[6] = p1275_ptr2cell(path); /* Arg4: Pathname */
ci[0] = p1275_ptr2cell("call-method"); /* Service name */
ci[3] = p1275_ptr2cell("seek-file"); /* Arg1: Method name */
ci[0] = p1275_ptr2cell("call-method"); /* Service name */
ci[3] = p1275_ptr2cell("read-file"); /* Arg1: Method name */
ci[7] = p1275_ptr2cell(buf); /* Arg5: buffer address */
ci[0] = p1275_ptr2cell("call-method"); /* Service name */
ci[3] = p1275_ptr2cell("size-file"); /* Arg1: Method name */
ci[0] = p1275_ptr2cell("call-method"); /* Service name */
ci[3] = p1275_ptr2cell("cinfo-file"); /* Arg1: Method name */
ci[0] = p1275_ptr2cell("call-method"); /* Service name */
ci[3] = p1275_ptr2cell("close-file"); /* Arg1: Method name */
ci[0] = p1275_ptr2cell("call-method"); /* Service name */
ci[3] = p1275_ptr2cell("open-file"); /* Arg1: Method name */
ci[6] = p1275_ptr2cell(path); /* Arg4: Pathname */
ci[0] = p1275_ptr2cell("call-method"); /* Service name */
ci[3] = p1275_ptr2cell("SUNW,get-unumber"); /* Arg1: Method name */
ci[6] = p1275_ptr2cell(buf); /* Arg4: buf */
ci[0] = p1275_ptr2cell("SUNW,heartbeat"); /* Service name */
ci[0] = p1275_ptr2cell("call-method"); /* Service name */
ci[3] = p1275_ptr2cell("claim"); /* Arg1: Method name */
ci[0] = p1275_ptr2cell("call-method"); /* Service name */
ci[3] = p1275_ptr2cell("release"); /* Arg1: Method name */
ci[0] = p1275_ptr2cell("call-method"); /* Service name */
ci[3] = p1275_ptr2cell("claim"); /* Arg1: Method name */
ci[0] = p1275_ptr2cell("call-method"); /* Service name */
ci[3] = p1275_ptr2cell("claim"); /* Arg1: Method name */
ci[0] = p1275_ptr2cell("call-method"); /* Service name */
ci[3] = p1275_ptr2cell("claim"); /* Arg1: Method name */
ci[7] = p1275_ptr2cell(virt); /* Arg5: virt */
ci[0] = p1275_ptr2cell("call-method"); /* Service name */
ci[3] = p1275_ptr2cell("release"); /* Arg1: Method name */
ci[6] = p1275_ptr2cell(virt); /* Arg4: virt */
ci[0] = p1275_ptr2cell("call-method"); /* Service name */
ci[3] = p1275_ptr2cell("unmap"); /* Arg1: Method name */
ci[6] = p1275_ptr2cell(virt); /* Arg4: SA2: virt */
ci[0] = p1275_ptr2cell("call-method"); /* Service name */
ci[3] = p1275_ptr2cell("translate"); /* Arg1: Method name */
ci[5] = p1275_ptr2cell(virt); /* Arg3: virt */
ci[0] = p1275_ptr2cell("call-method"); /* Service name */
ci[3] = p1275_ptr2cell("map"); /* Arg1: method name */
ci[7] = p1275_ptr2cell(virt); /* Arg5: SA3: virt */
ci[0] = p1275_ptr2cell("SUNW,power-off"); /* Service name */
ci[0] = p1275_ptr2cell("call-method"); /* Service name */
ci[3] = p1275_ptr2cell("SUNW,retain"); /* Arg1: Method name */
ci[7] = p1275_ptr2cell(id); /* Arg4: SA3: id name */
ci[0] = p1275_ptr2cell("SUNW,set-trap-table"); /* Service name */
ci[3] = p1275_ptr2cell(tba_addr); /* Arg1: tba address */
ci[0] = p1275_ptr2cell("FJSV,detach-notice");
ci[0] = p1275_ptr2cell("FJSV,switch-console"); /* name */
ci[0] = p1275_ptr2cell("FJSV,get-tod"); /* Service name */
ci[0] = p1275_ptr2cell("FJSV,set-domain-time"); /* Service name */
ci[0] = p1275_ptr2cell("FJSV,attach-notice");
ci[0] = p1275_ptr2cell("SUNW,Serengeti,switch-tunnel"); /* name */
ci[0] = p1275_ptr2cell("SUNW,Serengeti,park-cpu");
ci[0] = p1275_ptr2cell("call-method"); /* Service name */
ci[3] = p1275_ptr2cell("SUNW,Serengeti,get-ecache-unum");
ci[6] = p1275_ptr2cell(buf); /* Arg4: buf */
ci[0] = p1275_ptr2cell("SUNW,Serengeti,wakeup-cpu"); /* Service name */
ci[0] = p1275_ptr2cell("SUNW,set-console-input");
ci[3] = p1275_ptr2cell(new_value);
ci[0] = p1275_ptr2cell("SUNW,Serengeti,add-board"); /* name */
ci[0] = p1275_ptr2cell("SUNW,Serengeti,remove-board"); /* name */
ci[0] = p1275_ptr2cell("SUNW,Ultra-Enterprise,cpu-off");
ci[0] = p1275_ptr2cell("SUNW,Ultra-Enterprise,add-brd"); /* name */
ci[0] = p1275_ptr2cell("SUNW,Ultra-Enterprise,rm-brd"); /* name */
ci[0] = p1275_ptr2cell("call-method"); /* Service name */
ci[3] = p1275_ptr2cell("SUNW,itlb-load"); /* Arg1: method name */
ci[5] = p1275_ptr2cell(virt); /* Arg3: SA1: virt */
ci[0] = p1275_ptr2cell("call-method"); /* Service name */
ci[3] = p1275_ptr2cell("SUNW,dtlb-load"); /* Arg1: method name */
ci[5] = p1275_ptr2cell(virt); /* Arg3: SA1: virt */
ci[0] = p1275_ptr2cell("SUNW,set-trap-table"); /* Service name */
ci[3] = p1275_ptr2cell(tba_addr); /* Arg1: tba address */
ci[4] = p1275_ptr2cell(mmfsa_ra); /* Arg2: mmfsa RA */
ci[0] = p1275_ptr2cell("SUNW,set-sun4v-api-version"); /* Service */
ci[0] = p1275_ptr2cell("SUNW,get-sun4v-api-version"); /* Service */
ci[0] = p1275_ptr2cell("SUNW,soft-state-supported"); /* Service */
ci[0] = p1275_ptr2cell("SUNW,stop-self"); /* Service name */
ci[0] = p1275_ptr2cell("call-method"); /* Service name */
ci[3] = p1275_ptr2cell("remap"); /* Arg1: Method name */
ci[6] = p1275_ptr2cell(virt); /* remap arg1 */
cif[3 + nargs + 1] = p1275_ptr2cell(name);
ci[3] = p1275_ptr2cell("set-time");
ci[0] = p1275_ptr2cell("call-method"); /* Service name */
ci[3] = p1275_ptr2cell("get-time");
ci[0] = p1275_ptr2cell("call-method"); /* Service name */
cell_t arg = p1275_ptr2cell("sync");