centralize credits
This commit is contained in:
parent
97a5bba6d2
commit
801affcd14
8 changed files with 15 additions and 15 deletions
14
README
14
README
|
@ -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.
|
||||||
|
|
1
asm.h
1
asm.h
|
@ -1,6 +1,5 @@
|
||||||
//
|
//
|
||||||
// macros to create x86 segments from assembler
|
// macros to create x86 segments from assembler
|
||||||
// from JOS
|
|
||||||
//
|
//
|
||||||
|
|
||||||
#define SEG_NULL \
|
#define SEG_NULL \
|
||||||
|
|
|
@ -1,7 +1,3 @@
|
||||||
#
|
|
||||||
# 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 @@
|
||||||
* 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
|
||||||
|
|
1
elf.h
1
elf.h
|
@ -1,6 +1,5 @@
|
||||||
//
|
//
|
||||||
// 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 */
|
||||||
|
|
5
lapic.c
5
lapic.c
|
@ -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 */
|
||||||
|
|
1
mmu.h
1
mmu.h
|
@ -1,6 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* 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
|
||||||
|
|
3
mp.h
3
mp.h
|
@ -1,7 +1,6 @@
|
||||||
/*
|
/*
|
||||||
* MultiProcessor Specification Version 1.[14].
|
* See MultiProcessor Specification Version 1.[14].
|
||||||
*
|
*
|
||||||
* Credit: Plan 9 sources
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct mp { /* floating pointer */
|
struct mp { /* floating pointer */
|
||||||
|
|
Loading…
Reference in a new issue