http://blog.chinaunix.net/uid/16979052.html
全部博文(286)
发布时间:2012-06-28 08:09:17
#ifndef __KERNEL_PRINTK_INCLUDED__#define __KERNEL_PRINTK_INCLUDED__#include <types.h>#include <platform.h>int __printk(const char *file, int line, const char *fmt, ...);#define printk(fmt, ...) __printk(__FUNCTION__, __LINE__, fmt, ## __VA_ARGS__)#ifdef.........【阅读全文】
发布时间:2012-06-27 17:17:16
#ifndef __KERNEL_MULTIBOOT_H#define __KERNEL_MULTIBOOT_H/** The magic number for the Multiboot header. */#define MULTIBOOT_HEADER_MAGIC 0x1BADB002/** The flags for the Multiboot header. */#define MULTIBOOT_HEADER_FLAGS 0x00000003/** Marks an ELF-compatible executable. .........【阅读全文】