History log of /xv6-public/main.c (Results 76 – 100 of 135)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# f83f7ce2 08-Aug-2007 rsc <rsc>

set init name


Revision tags: symlinks, xv6-2006, xv6-rev0
# 4fb68454 08-Sep-2006 rsc <rsc>

formatting nits


# efb01c1d 08-Sep-2006 rsc <rsc>

only need a page


# 5cb7877e 08-Sep-2006 kaashoek <kaashoek>

use bootstrap processor as specified by MP table. typically 0, but not
guaranteed.


# 8e1d1ec9 08-Sep-2006 kaashoek <kaashoek>

some comment changes


# 7e019461 07-Sep-2006 rsc <rsc>

fix build


# e00baa9f 07-Sep-2006 kaashoek <kaashoek>

get precedence of <, >, and | right
simplify


# f7017212 07-Sep-2006 kaashoek <kaashoek>

run without lapic and ioapic, if they are not present
if no lapic available, use 8253pit for clock
now xv6 runs both on qemu (uniprocessor) and bochs (uniprocessor and MP)


# 50e514be 06-Sep-2006 rsc <rsc>

fd_* => file_*


# 9e9bcaf1 06-Sep-2006 rsc <rsc>

standardize various * conventions


# a650c606 06-Sep-2006 rsc <rsc>

spacing fixes: no tabs, 2-space indents (for rtm)


# dfcc5b99 29-Aug-2006 rtm <rtm>

prune unneeded panics and debug output


# 2b19190c 29-Aug-2006 rtm <rtm>

clean up stale error checks and panics
delete unused functions
a few comments


# ceb0e427 16-Aug-2006 rtm <rtm>

proc[0] can sleep(), at least after it gets to main00()
proc[0] calls iget(rootdev, 1) before forking init


# 350e63f7 15-Aug-2006 rtm <rtm>

no more proc[] entry per cpu for idle loop
each cpu[] has its own gdt and tss
no per-proc gdt or tss, re-write cpu's in scheduler (you win, cliff)
main0() switches to cpu[0].mpstack


# 69332d19 15-Aug-2006 kaashoek <kaashoek>

oops


# e958c538 15-Aug-2006 kaashoek <kaashoek>

commented out code for cwd


# 9e5970d5 13-Aug-2006 rtm <rtm>

link()


# 17a85657 11-Aug-2006 rtm <rtm>

init creates console, opens 0/1/2, runs sh
sh accepts 0-argument commands (like userfs)
reads from console


# 5be0039c 10-Aug-2006 rtm <rtm>

interrupts could be recursive since lapic_eoi() called before rti
so fast interrupts overflow the kernel stack
fix: cli() before lapic_eoi()


# 8a8be1b8 10-Aug-2006 rtm <rtm>

low-level keyboard input (not hooked up to /dev yet)
fix acquire() to cli() *before* incrementing nlock
make T_SYSCALL a trap gate, not an interrupt gate
sadly, various crashes if you hold down a key

low-level keyboard input (not hooked up to /dev yet)
fix acquire() to cli() *before* incrementing nlock
make T_SYSCALL a trap gate, not an interrupt gate
sadly, various crashes if you hold down a keyboard key...

show more ...


# 6fa5ffb5 09-Aug-2006 kaashoek <kaashoek>

devsw
checkpoint: write(fd,"hello\n",6) where fd is a console dev almost works


# 0e84a0ec 08-Aug-2006 rtm <rtm>

fix race in holding() check in acquire()
give cpu1 a TSS and gdt for when it enters scheduler()
and a pseudo proc[] entry for each cpu
cpu0 waits for each other cpu to start up
read() for files


# c8b29f6d 04-Aug-2006 kaashoek <kaashoek>

better interrupt plan---this one appears to work
ioapic


# 32630628 29-Jul-2006 rtm <rtm>

open()


123456