On Tuesday, 27 October 2015 at 12:13:13 UTC, guodemone wrote:
sorry,My english is poot.
file asm.h
[...]
Can ldc work with C header files? I don't think it can but I
could be wrong.
Here's how I build my 32-bit bootloader and link with my kernel
main (you will have to replace names etc.):
Asm + D with the ability to write on behalf of Clang bootloader,
and prove that he can completely replace Clang.
This is my wish.
You chose quite advanced topic. Maybe you want to build common
skills in system programming first?
sorry,My english is poot.
file asm.h
/*
是bootasm.S汇编文件所需要的头文件,主要是一些与X86保护模式的段访问方式相关的宏定义
*/
#ifndef __BOOT_ASM_H__
#define __BOOT_ASM_H__
/* Assembler macros to create x86 segments */
/* Normal segment */
#define SEG_NULLASM