summaryrefslogtreecommitdiff
path: root/ide.c
AgeCommit message (Collapse)AuthorFilesLines
2006-09-08move ide_intr lowerrsc1-9/+9
2006-09-07fix disk bugrsc1-0/+3
2006-09-07fix ide, pit interfacesrsc1-33/+35
2006-09-07commentsrsc1-0/+7
2006-09-07run without lapic and ioapic, if they are not presentkaashoek1-0/+1
if no lapic available, use 8253pit for clock now xv6 runs both on qemu (uniprocessor) and bochs (uniprocessor and MP)
2006-09-06more named constantsrsc1-6/+10
2006-09-06more tabs go awayrsc1-2/+2
2006-09-06no /* */ commentsrsc1-5/+3
2006-09-06standardize various * conventionsrsc1-16/+16
2006-09-06spacing fixes: no tabs, 2-space indents (for rtm)rsc1-4/+5
2006-09-03remove duplicationkaashoek1-0/+1
don't use the same name for two different pieces of code
2006-08-30complain if no disk 1rtm1-20/+8
lots of cleanup
2006-08-13link()rtm1-2/+0
2006-08-10interrupts could be recursive since lapic_eoi() called before rtirtm1-2/+2
so fast interrupts overflow the kernel stack fix: cli() before lapic_eoi()
2006-08-10low-level keyboard input (not hooked up to /dev yet)rtm1-1/+1
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...
2006-08-09iread for T_DEVkaashoek1-1/+1
O_RDWR, etc. create file
2006-08-08fix race in holding() check in acquire()rtm1-2/+2
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
2006-08-07bwritekaashoek1-8/+10
2006-08-06generalize async read to support write tookaashoek1-8/+13
2006-08-04better interrupt plan---this one appears to workkaashoek1-2/+6
ioapic
2006-07-29open()rtm1-1/+1
2006-07-29acquire+release ide_lock in ide_intrkaashoek1-1/+3
2006-07-21breadrtm1-7/+9
iget mkfs makes a file system image put this in your .bochsrc: ata0-slave: type=disk, mode=flat, path="fs.img", cylinders=1024, heads=1, spt=1
2006-07-20uint32_t -> uint &crtm1-13/+7
2006-07-17add ide_lock for sleeprsc1-1/+7
2006-07-17add uint and standardize on typedefs instead of unsignedrsc1-3/+3
2006-07-15no more recursive locksrtm1-1/+1
wakeup1() assumes you hold proc_table_lock sleep(chan, lock) provides atomic sleep-and-release to wait for condition ugly code in swtch/scheduler to implement new sleep fix lots of bugs in pipes, wait, and exit fix bugs if timer interrupt goes off in schedule() console locks per line, not per byte
2006-07-10queue with disk requestskaashoek1-18/+55
2006-07-10read the disk using interruptskaashoek1-7/+12
2006-07-06disable all interrupts when acquiring lockkaashoek1-2/+11
user program that makes a blocking system call
2006-07-05timer interruptskaashoek1-60/+67
disk interrupts (assuming bochs has a bug)
2006-06-16checkpointrtm1-0/+117