提交 801affcd 创建 作者: kaashoek's avatar kaashoek

centralize credits

上级 97a5bba6
...@@ -10,3 +10,17 @@ Communications; ISBN: 1-57398-013-7; 1st edition (June 14, 2000). See ...@@ -10,3 +10,17 @@ Communications; ISBN: 1-57398-013-7; 1st edition (June 14, 2000). See
also http://pdos.csail.mit.edu/6.828/2006/v6.html, which provides also http://pdos.csail.mit.edu/6.828/2006/v6.html, which provides
pointers to on-line resources for v6. pointers to on-line resources for v6.
Code was used from the following sources:
JOS (asm.h, elf.h, mmu.h, bootasm.S, ide.c, and others)
Plan 9 (bootother.S, mp.h, mp.c, ioapic.h, lapic.c)
FreeBSD (ioapic.c)
The following people made contributions:
Russ Cox (context switching, locking)
Cliff Frey (MP)
Xiao Yu (MP)
If you spot errors or have suggestions for improvement, please send
email to Frans Kaashoek and Robert Morris
({kaashoek,rtm}@csail.mit.edu). This version is the very first one,
so don't be surprised if there are errors or the code is unclear.
// //
// macros to create x86 segments from assembler // macros to create x86 segments from assembler
// from JOS
// //
#define SEG_NULL \ #define SEG_NULL \
......
#
# from JOS
#
#include "asm.h" #include "asm.h"
.set PROT_MODE_CSEG,0x8 # code segment selector .set PROT_MODE_CSEG,0x8 # code segment selector
......
...@@ -14,7 +14,6 @@ ...@@ -14,7 +14,6 @@
* mp.c puts the correct %esp in start-4, and the place to jump * mp.c puts the correct %esp in start-4, and the place to jump
* to in start-8. * to in start-8.
* *
* Credit: Cliff Frey and Plan 9
*/ */
.set PROT_MODE_CSEG,0x8 # code segment selector .set PROT_MODE_CSEG,0x8 # code segment selector
......
// //
// format of an ELF executable file // format of an ELF executable file
// from JOS
// //
#define ELF_MAGIC 0x464C457FU /* "\x7FELF" in little endian */ #define ELF_MAGIC 0x464C457FU /* "\x7FELF" in little endian */
......
...@@ -7,11 +7,6 @@ ...@@ -7,11 +7,6 @@
#include "mmu.h" #include "mmu.h"
#include "proc.h" #include "proc.h"
/*
* Credit: Plan 9 sources, Intel MP spec, and Cliff Frey
*/
enum { /* Local APIC registers */ enum { /* Local APIC registers */
LAPIC_ID = 0x0020, /* ID */ LAPIC_ID = 0x0020, /* ID */
LAPIC_VER = 0x0030, /* Version */ LAPIC_VER = 0x0030, /* Version */
......
/* /*
* This file contains definitions for the x86 memory management unit (MMU). * This file contains definitions for the x86 memory management unit (MMU).
* from JOS.
*/ */
// Eflags register // Eflags register
......
/* /*
* MultiProcessor Specification Version 1.[14]. * See MultiProcessor Specification Version 1.[14].
* *
* Credit: Plan 9 sources
*/ */
struct mp { /* floating pointer */ struct mp { /* floating pointer */
......
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论