Develop and Download Open Source Software

Browse Subversion Repository

Diff of /branches/mty-makai/mty.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 15 by chapuni, Fri Mar 9 11:18:28 2007 UTC revision 20 by chapuni, Mon Mar 12 09:25:48 2007 UTC
# Line 19  Line 19 
19  #include <ctype.h>  #include <ctype.h>
20  #include <malloc.h>  #include <malloc.h>
21  #include <limits.h>  #include <limits.h>
22    #include <stddef.h>
23  #include <stdio.h>  #include <stdio.h>
24  #include <stdlib.h>  #include <stdlib.h>
25  #include <string.h>  #include <string.h>
# Line 78  typedef uint32_t       ALU_T; Line 79  typedef uint32_t       ALU_T;
79  typedef uint64_t        WS_T;  typedef uint64_t        WS_T;
80  typedef uint64_t        ALU_T;  typedef uint64_t        ALU_T;
81    
82    #define CRYPT64_CLOBBER /* "%rcx", "%rdx",*/ "%r8", "%r9",
83    
84  #elif defined(USE_64_XMM)  #elif defined(USE_64_XMM)
85    
86  #define N_STRIDE 7  #define N_STRIDE 7
# Line 1475  main(int argc, char *argv[]) Line 1478  main(int argc, char *argv[])
1478    code = (signed char *)mmap(NULL,    code = (signed char *)mmap(NULL,
1479                               0x10000000,                               0x10000000,
1480                               PROT_EXEC | PROT_READ | PROT_WRITE,                               PROT_EXEC | PROT_READ | PROT_WRITE,
1481                               MAP_PRIVATE | MAP_ANONYMOUS,                               MAP_PRIVATE | MAP_ANON,
1482                               1, /* fd */                               1, /* fd */
1483                               0);                               0);
1484    if ((void *)code == MAP_FAILED)    if ((void *)code == MAP_FAILED)

Legend:
Removed from v.15  
changed lines
  Added in v.20

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26