Changeset 5748


Ignore:
Timestamp:
Jan 20, 2007, 6:23:11 PM (18 years ago)
Author:
Gary Byers
Message:

Saw an opportunity to use PAREF; probably several more.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ccl/level-1/l1-sockets.lisp

    r5707 r5748  
    11131113  #-linuxppc-target
    11141114  (syscall syscalls::socket domain type protocol)
    1115   #+linuxppc-target
    1116   (progn
    1117     #+ppc32-target
    1118     (%stack-block ((params 12))
    1119       (setf (%get-long params 0) domain
    1120             (%get-long params 4) type
    1121             (%get-long params 8) protocol)
    1122       (syscall syscalls::socketcall 1 params))
    1123     #+ppc64-target
    1124     (%stack-block ((params 24))
    1125       (setf (%%get-unsigned-longlong params 0) domain
    1126             (%%get-unsigned-longlong params 8) type
    1127             (%%get-unsigned-longlong params 16) protocol)
    1128       (syscall syscalls::socketcall 1 params))))
     1115  (rlet ((params (:array :unsigned-long 3)))
     1116    (setf (paref params (:* :unsigned-long) 0) domain
     1117          (paref params (:* :unsigned-long) 1) type
     1118          (paref params (:* :unsigned-long) 2) protocol)))
    11291119
    11301120(defun init-unix-sockaddr (addr path)
Note: See TracChangeset for help on using the changeset viewer.