Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia64/src/ia64.c

    r36df4109 r9928240  
    3434
    3535#include <arch.h>
    36 #include <arch/arch.h>
    3736#include <typedefs.h>
    3837#include <errno.h>
     
    6160#endif
    6261
    63 static void ia64_pre_mm_init(void);
    64 static void ia64_post_mm_init(void);
    65 static void ia64_post_smp_init(void);
    66 
    67 arch_ops_t ia64_ops = {
    68         .pre_mm_init = ia64_pre_mm_init,
    69         .post_mm_init = ia64_post_mm_init,
    70         .post_smp_init = ia64_post_smp_init,
    71 };
    72 
    73 arch_ops_t *arch_ops = &ia64_ops;
    74 
    7562/* NS16550 as a COM 1 */
    7663#define NS16550_IRQ  (4 + LEGACY_INTERRUPT_BASE)
     
    8269
    8370/** Performs ia64-specific initialization before main_bsp() is called. */
    84 void ia64_pre_main(void)
     71void arch_pre_main(void)
    8572{
    8673        init.cnt = min3(bootinfo->taskmap.cnt, TASKMAP_MAX_RECORDS,
     
    9784}
    9885
    99 void ia64_pre_mm_init(void)
     86void arch_pre_mm_init(void)
    10087{
    10188        if (config.cpu_active == 1)
     
    130117}
    131118
    132 void ia64_post_mm_init(void)
     119void arch_post_mm_init(void)
    133120{
    134121        if (config.cpu_active == 1) {
     
    143130}
    144131
    145 void ia64_post_smp_init(void)
     132void arch_post_cpu_init(void)
     133{
     134}
     135
     136void arch_pre_smp_init(void)
     137{
     138}
     139
     140void arch_post_smp_init(void)
    146141{
    147142        static const char *platform;
     
    181176#ifdef CONFIG_NS16550
    182177        ns16550_instance_t *ns16550_instance
    183             = ns16550_init((ns16550_t *) NS16550_BASE, NS16550_IRQ, NULL, NULL,
    184             NULL);
     178            = ns16550_init((ns16550_t *) NS16550_BASE, NS16550_IRQ, NULL, NULL);
    185179        if (ns16550_instance) {
    186180                srln_instance_t *srln_instance = srln_init();
     
    255249}
    256250
     251/** Set thread-local-storage pointer.
     252 *
     253 * We use r13 (a.k.a. tp) for this purpose.
     254 */
     255sysarg_t sys_tls_set(uintptr_t addr)
     256{
     257        return EOK;
     258}
     259
    257260void arch_reboot(void)
    258261{
Note: See TracChangeset for help on using the changeset viewer.