Changeset 53ad43c in mainline for kernel/genarch


Ignore:
Timestamp:
2018-03-08T18:54:30Z (7 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5ef16903
Parents:
e0a4686
Message:

Replace ASM macro with the standard ASSEMBLER.

At least, GCC claims it to be a standard predefined macro. I was unable
to find the relevant standard, but it's defined in both gcc and clang.

Location:
kernel/genarch/include/genarch/multiboot
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • kernel/genarch/include/genarch/multiboot/multiboot.h

    re0a4686 r53ad43c  
    5252#define MULTIBOOT_INFO_FLAGS_MMAP       0x40
    5353
    54 #ifndef __ASM__
     54#ifndef __ASSEMBLER__
    5555
    5656#include <typedefs.h>
     
    7777extern void multiboot_info_parse(uint32_t, const multiboot_info_t *);
    7878
    79 #endif /* __ASM__ */
     79#endif /* __ASSEMBLER__ */
    8080
    8181#endif
  • kernel/genarch/include/genarch/multiboot/multiboot2.h

    re0a4686 r53ad43c  
    6161#define MULTIBOOT2_VISUAL_EGA      2
    6262
    63 #ifndef __ASM__
     63#ifndef __ASSEMBLER__
    6464
    6565#include <typedefs.h>
     
    153153extern void multiboot2_info_parse(uint32_t, const multiboot2_info_t *);
    154154
    155 #endif /* __ASM__ */
     155#endif /* __ASSEMBLER__ */
    156156
    157157#endif
Note: See TracChangeset for help on using the changeset viewer.