kaashoek
939f9edeac
iread for T_DEV
...
O_RDWR, etc.
create file
2006-08-09 19:25:20 +00:00
rtm
0e84a0ec6e
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
2006-08-08 19:58:06 +00:00
kaashoek
104207726b
bwrite
2006-08-07 01:38:46 +00:00
kaashoek
8ec6530fee
generalize async read to support write too
2006-08-06 20:28:15 +00:00
kaashoek
c8b29f6d03
better interrupt plan---this one appears to work
...
ioapic
2006-08-04 18:12:31 +00:00
rtm
32630628a9
open()
2006-07-29 09:35:02 +00:00
kaashoek
e46fb46fcf
acquire+release ide_lock in ide_intr
2006-07-29 01:20:15 +00:00
rtm
11a9947f1a
bread
...
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-21 13:18:04 +00:00
rtm
2927081628
uint32_t -> uint &c
2006-07-20 09:07:53 +00:00
rsc
0dd4253747
add ide_lock for sleep
2006-07-17 05:00:25 +00:00
rsc
b5ee516575
add uint and standardize on typedefs instead of unsigned
2006-07-17 01:52:13 +00:00
rtm
46bbd72f3e
no more recursive locks
...
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-15 12:03:57 +00:00
kaashoek
7ea6c9d197
queue with disk requests
2006-07-10 19:06:48 +00:00
kaashoek
72ea69fbdf
read the disk using interrupts
2006-07-10 13:08:37 +00:00
kaashoek
7837c71b32
disable all interrupts when acquiring lock
...
user program that makes a blocking system call
2006-07-06 21:47:22 +00:00
kaashoek
b22d898297
timer interrupts
...
disk interrupts (assuming bochs has a bug)
2006-07-05 20:00:14 +00:00
rtm
ae6e8aa730
checkpoint
2006-06-16 20:29:25 +00:00