提交 d57d49e3 创建 作者: Nickolai Zeldovich's avatar Nickolai Zeldovich

try to name C++ header files .hh, and C-only header files .h

上级 e0780ce4
......@@ -10,7 +10,7 @@
#include "fs.h"
#include "file.hh"
#include "vm.hh"
#include "elf.h"
#include "elf.hh"
#include "cpu.hh"
#include "prof.hh"
#include <stddef.h>
......
......@@ -3,7 +3,7 @@
#include "mmu.h"
#include "cpu.hh"
#include "kernel.hh"
#include "bits.h"
#include "bits.hh"
#include "spinlock.h"
#include "kalloc.h"
#include "queue.h"
......
......@@ -10,7 +10,7 @@
#include "kalloc.h"
#include "mtrace.h"
#include "cpu.hh"
#include "multiboot.h"
#include "multiboot.hh"
static struct Mbmem mem[128];
static u64 nmem;
......
......@@ -5,7 +5,7 @@
#include "amd64.h"
#include "kernel.hh"
#include "traps.h"
#include "bits.h"
#include "bits.hh"
#include "cpu.hh"
// Local APIC registers, divided by 4 for use as uint[] indices.
......
#include "types.h"
#include "multiboot.h"
#include "multiboot.hh"
#include "kernel.hh"
#include "spinlock.h"
#include "kalloc.h"
......
......@@ -4,7 +4,7 @@
#include "types.h"
#include "amd64.h"
#include "mp.h"
#include "mp.hh"
#include "kernel.hh"
#include "cpu.hh"
......
......@@ -7,8 +7,8 @@
#include "queue.h"
#include "proc.hh"
#include "cpu.hh"
#include "bits.h"
#include "kmtrace.h"
#include "bits.hh"
#include "kmtrace.hh"
#include "sched.hh"
#include "kalloc.h"
#include "vm.hh"
......
......@@ -5,7 +5,7 @@
#include "fs.h"
#include "file.hh"
#include "prof.hh"
#include "bits.h"
#include "bits.hh"
#include "amd64.h"
extern profctr_t sprof[];
......
......@@ -6,7 +6,7 @@
#include "stat.h"
#include "kalloc.h"
#include "file.hh"
#include "bits.h"
#include "bits.hh"
#include "amd64.h"
#include "cpu.hh"
#include "sampler.h"
......
......@@ -7,8 +7,8 @@
#include "queue.h"
#include "proc.hh"
#include "cpu.hh"
#include "bits.h"
#include "kmtrace.h"
#include "bits.hh"
#include "kmtrace.hh"
#include "sched.h"
#include "vm.hh"
#include <stddef.h>
......
......@@ -4,7 +4,7 @@
#include "kernel.hh"
#include "amd64.h"
#include "cpu.hh"
#include "bits.h"
#include "bits.hh"
#include "spinlock.h"
#include "mtrace.h"
#include "condvar.hh"
......
......@@ -8,7 +8,7 @@
#include "amd64.h"
#include "syscall.h"
#include "cpu.hh"
#include "kmtrace.h"
#include "kmtrace.hh"
// User code makes a system call with INT T_SYSCALL.
// System call number in %eax.
......
......@@ -8,8 +8,8 @@
#include "spinlock.h"
#include "condvar.hh"
#include "proc.hh"
#include "kmtrace.h"
#include "bits.h"
#include "kmtrace.hh"
#include "bits.hh"
struct intdesc idt[256] __attribute__((aligned(16)));
......
......@@ -3,7 +3,7 @@
#include "mmu.h"
#include "cpu.hh"
#include "kernel.hh"
#include "bits.h"
#include "bits.hh"
#include "spinlock.h"
#include "kalloc.h"
#include "queue.h"
......
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论