search for: 384,14

Displaying 3 results from an estimated 3 matches for "384,14".

2002 Jan 13
0
rsynd-2.5.1 / io.c patches
...len) +void read_buf(int f, void *buf,int len) { readfd(f,buf,len); } -void read_sbuf(int f,char *buf,int len) +void read_sbuf(int f, void *buf1,int len) { +unsigned char * buf; + buf = (unsigned char *)buf1; read_buf (f,buf,len); buf[len] = 0; } @@ -375,12 +384,14 @@ } /* write len bytes to fd */ -static void writefd_unbuffered(int fd,char *buf,int len) +static void writefd_unbuffered(int fd, const void * buf1,int len) { int total = 0; fd_set w_fds, r_fds; int fd_count, count; struct timeval tv; +unsigned char *...
2007 Apr 18
0
[RFC, PATCH 11/24] i386 Vmi segment changes
...l - testl $(VM_MASK | 3), %eax - jz resume_kernel + andb $SEGMENT_RPL_MASK, %al + cmpl $SEGMENT_RPL_MASK, %eax + jb resume_kernel # returning to kernel or vm86-space ENTRY(resume_userspace) CLI # make sure we don't miss an interrupt # setting need_resched or sigpending @@ -382,17 +384,14 @@ syscall_badsys: /* put ESP to the proper location */ \ movl %eax, %esp; #define UNWIND_ESPFIX_STACK \ - pushl %eax; \ - movl %ss, %eax; \ - /* see if on 16bit stack */ \ - cmpw $__ESPFIX_SS, %ax; \ + COMPARE_SEGMENT_REG(__ESPFIX_SS, %ss) \ jne 28f; \ - movl $__KERNEL_DS, %edx; \ + movl...
2007 Apr 18
0
[RFC, PATCH 11/24] i386 Vmi segment changes
...l - testl $(VM_MASK | 3), %eax - jz resume_kernel + andb $SEGMENT_RPL_MASK, %al + cmpl $SEGMENT_RPL_MASK, %eax + jb resume_kernel # returning to kernel or vm86-space ENTRY(resume_userspace) CLI # make sure we don't miss an interrupt # setting need_resched or sigpending @@ -382,17 +384,14 @@ syscall_badsys: /* put ESP to the proper location */ \ movl %eax, %esp; #define UNWIND_ESPFIX_STACK \ - pushl %eax; \ - movl %ss, %eax; \ - /* see if on 16bit stack */ \ - cmpw $__ESPFIX_SS, %ax; \ + COMPARE_SEGMENT_REG(__ESPFIX_SS, %ss) \ jne 28f; \ - movl $__KERNEL_DS, %edx; \ + movl...