Print this page
6648 illumos build should be explicit about C standards

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/i86pc/ml/genassym.c
          +++ new/usr/src/uts/i86pc/ml/genassym.c
↓ open down ↓ 73 lines elided ↑ open up ↑
  74   74          printf("#define\tCLOCK_LEVEL 0x%x\n", CLOCK_LEVEL);
  75   75          printf("#define\tDISP_LEVEL 0x%x\n", DISP_LEVEL);
  76   76          printf("#define\tPIL_MAX 0x%x\n", PIL_MAX);
  77   77          printf("#define\tHIGH_LEVELS 0x%x\n", HIGH_LEVELS);
  78   78          printf("#define\tCPU_INTR_ACTV_HIGH_LEVEL_MASK 0x%x\n",
  79   79              CPU_INTR_ACTV_HIGH_LEVEL_MASK);
  80   80  
  81   81          printf("#define\tPIC_NSEOI 0x%x\n", PIC_NSEOI);
  82   82          printf("#define\tPIC_SEOI_LVL7 0x%x\n", PIC_SEOI_LVL7);
  83   83  
  84      -        printf("#define\tNANOSEC 0x%x\n", NANOSEC);
       84 +        printf("#define\tNANOSEC 0x%llx\n", NANOSEC);
  85   85          printf("#define\tADJ_SHIFT 0x%x\n", ADJ_SHIFT);
  86   86  
  87   87          printf("#define\tSSLEEP 0x%x\n", SSLEEP);
  88   88          printf("#define\tSRUN 0x%x\n", SRUN);
  89   89          printf("#define\tSONPROC 0x%x\n", SONPROC);
  90   90  
  91   91          printf("#define\tT_INTR_THREAD 0x%x\n", T_INTR_THREAD);
  92   92          printf("#define\tFREE_THREAD 0x%x\n", TS_FREE);
  93   93          printf("#define\tTS_FREE 0x%x\n", TS_FREE);
  94   94          printf("#define\tTS_ZOMB 0x%x\n", TS_ZOMB);
↓ open down ↓ 48 lines elided ↑ open up ↑
 143  143  
 144  144          printf("#define\tNSYSCALL 0x%x\n", NSYSCALL);
 145  145  
 146  146          printf("#define\tSE_32RVAL1 0x%x\n", SE_32RVAL1);
 147  147          printf("#define\tSE_32RVAL2 0x%x\n", SE_32RVAL2);
 148  148          printf("#define\tSE_64RVAL 0x%x\n", SE_64RVAL);
 149  149  
 150  150          printf("#define\tMAXSYSARGS 0x%x\n", MAXSYSARGS);
 151  151  
 152  152          /* Hack value just to allow clock to be kicked */
 153      -        printf("#define\tNSEC_PER_CLOCK_TICK 0x%x\n", NANOSEC / 100);
      153 +        printf("#define\tNSEC_PER_CLOCK_TICK 0x%llx\n", NANOSEC / 100);
 154  154  
 155      -        printf("#define\tNSEC_PER_COUNTER_TICK 0x%x\n", NANOSEC / PIT_HZ);
      155 +        printf("#define\tNSEC_PER_COUNTER_TICK 0x%llx\n", NANOSEC / PIT_HZ);
 156  156  
 157  157          printf("#define\tPITCTR0_PORT 0x%x\n", PITCTR0_PORT);
 158  158          printf("#define\tPITCTL_PORT 0x%x\n", PITCTL_PORT);
 159  159          printf("#define\tPIT_COUNTDOWN 0x%x\n",
 160  160              PIT_C0 | PIT_LOADMODE | PIT_NDIVMODE);
 161  161  
 162  162          printf("#define\tNBPW 0x%x\n", NBPW);
 163  163  
 164  164          printf("#define\tDDI_ACCATTR_IO_SPACE 0x%x\n", DDI_ACCATTR_IO_SPACE);
 165  165          printf("#define\tDDI_ACCATTR_DIRECT 0x%x\n", DDI_ACCATTR_DIRECT);
↓ open down ↓ 26 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX