Changeset 36df4109 in mainline for kernel/arch/ia32/src/boot


Ignore:
Timestamp:
2016-06-06T16:29:56Z (10 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.

Location:
kernel/arch/ia32/src/boot
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia32/src/boot/multiboot.S

    r7f0580d r36df4109  
    142142        pm2_status $status_prot3
    143143       
    144         /* Call arch_pre_main(multiboot_eax, multiboot_ebx) */
     144        /* Call ia32_pre_main(multiboot_eax, multiboot_ebx) */
    145145        pushl multiboot_ebx
    146146        pushl multiboot_eax
    147         call arch_pre_main
     147        call ia32_pre_main
    148148       
    149149        pm2_status $status_main
  • kernel/arch/ia32/src/boot/multiboot2.S

    r7f0580d r36df4109  
    178178        movl %esp, %ebp
    179179       
    180         /* Call arch_pre_main(multiboot_eax, multiboot_ebx) */
     180        /* Call ia32_pre_main(multiboot_eax, multiboot_ebx) */
    181181        pushl multiboot_ebx
    182182        pushl multiboot_eax
    183         call arch_pre_main
     183        call ia32_pre_main
    184184       
    185185        /* Call main_bsp() */
Note: See TracChangeset for help on using the changeset viewer.