This website requires JavaScript.
Explore
Help
Sign in
Imbus
/
xv6-riscv-kernel
Watch
1
Fork
You've already forked xv6-riscv-kernel
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
7ce01cf9be
xv6-riscv-kernel
/
buf.h
8 lines
94 B
C
Raw
Normal View
History
Unescape
Escape
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 15:18:04 +02:00
struct
buf
{
int
flags
;
fix getblk to actually lock the block no more cons_put system calls usertests tests two processes writing files
2006-08-12 13:38:57 +02:00
uint
dev
;
uint
sector
;
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 15:18:04 +02:00
uchar
data
[
512
]
;
}
;
#
define B_BUSY 0x1
Reference in a new issue
Copy permalink