Changeset 45b26dad in mainline for kernel/arch/sparc64/src/drivers


Ignore:
Timestamp:
2006-09-26T12:59:28Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b44939b
Parents:
6ff1f1e
Message:

sparc64 work:

  • Loader now starts all processors.
  • Kernel halts all but the bootstrup processor for now.
  • Read clock-frequency from the respective processor node in the device tree
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/src/drivers/tick.c

    r6ff1f1e r45b26dad  
    5353        interrupt_register(14, "tick_int", tick_interrupt);
    5454        compare.int_dis = false;
    55         compare.tick_cmpr = bootinfo.processor.clock_frequency/HZ;
     55        compare.tick_cmpr = CPU->arch.clock_frequency/HZ;
    5656        tick_compare_write(compare.value);
    5757        tick_write(0);
Note: See TracChangeset for help on using the changeset viewer.