[BACK]Return to cpu.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / arch / x86 / x86

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/arch/x86/x86/cpu.c between version 1.71 and 1.72

version 1.71, 2010/07/06 20:50:35 version 1.72, 2010/07/08 11:22:24
Line 300  cpu_attach(device_t parent, device_t sel
Line 300  cpu_attach(device_t parent, device_t sel
                         return;                          return;
                 }                  }
                 aprint_naive(": Application Processor\n");                  aprint_naive(": Application Processor\n");
                 ptr = (uintptr_t)kmem_alloc(sizeof(*ci) + CACHE_LINE_SIZE - 1,                  ptr = (uintptr_t)kmem_zalloc(sizeof(*ci) + CACHE_LINE_SIZE - 1,
                     KM_SLEEP);                      KM_SLEEP);
                 ci = (struct cpu_info *)roundup2(ptr, CACHE_LINE_SIZE);                  ci = (struct cpu_info *)roundup2(ptr, CACHE_LINE_SIZE);
                 memset(ci, 0, sizeof(*ci));  
                 ci->ci_curldt = -1;                  ci->ci_curldt = -1;
 #ifdef TRAPLOG  #ifdef TRAPLOG
                 ci->ci_tlog_base = kmem_zalloc(sizeof(struct tlog), KM_SLEEP);                  ci->ci_tlog_base = kmem_zalloc(sizeof(struct tlog), KM_SLEEP);

Legend:
Removed from v.1.71  
changed lines
  Added in v.1.72

CVSweb <webmaster@jp.NetBSD.org>