diff options
author | kaashoek <kaashoek> | 2006-07-06 21:47:22 +0000 |
---|---|---|
committer | kaashoek <kaashoek> | 2006-07-06 21:47:22 +0000 |
commit | 7837c71b32fc716101a859302e0349061416bd6e (patch) | |
tree | 57ec72178b980a3cd794b2f93bd021e08004368f /defs.h | |
parent | b22d898297a2496ba4cfd31d445769fbebc0a46d (diff) | |
download | xv6-labs-7837c71b32fc716101a859302e0349061416bd6e.tar.gz xv6-labs-7837c71b32fc716101a859302e0349061416bd6e.tar.bz2 xv6-labs-7837c71b32fc716101a859302e0349061416bd6e.zip |
disable all interrupts when acquiring lock
user program that makes a blocking system call
Diffstat (limited to 'defs.h')
-rw-r--r-- | defs.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -71,4 +71,5 @@ int fd_write(struct fd *fd, char *addr, int n); // ide.c void ide_init(void); +void ide_intri(void); int ide_read(uint32_t secno, void *dst, unsigned nsecs); |