Ignore:
Timestamp:
2016-06-06T16:29:56Z (9 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7510326
Parents:
7f0580d
Message:

Introduce architecure-specific operations

This replaces the arch_*_init() functions with an arch_ops_t structure
defined for each architecture. Undefined operations are treated as NOPs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/amd64/src/boot/multiboot2.S

    r7f0580d r36df4109  
    250250        movq %rsp, %rbp
    251251       
    252         /* Call arch_pre_main(multiboot_eax, multiboot_ebx) */
     252        /* Call amd64_pre_main(multiboot_eax, multiboot_ebx) */
    253253        movl multiboot_eax, %edi
    254254        movl multiboot_ebx, %esi
    255         callq arch_pre_main
     255        callq amd64_pre_main
    256256       
    257257        /* Call main_bsp() */
Note: See TracChangeset for help on using the changeset viewer.