projects
/
cascardo
/
kernel
/
samples
/
char2
/
.git
/ history
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
first ⋅ prev ⋅ next
Using udelay to busy wait for about 10 seconds.
[cascardo/kernel/samples/char2/.git]
/
hellochar.c
2010-05-20
Thadeu Lima de Sou...
Using udelay to busy wait for about 10 seconds.
time
blob
|
commitdiff
|
raw
2010-05-20
Thadeu Lima de Sou...
Wait 5 seconds testing for jiffies.
relax
blob
|
commitdiff
|
raw
|
diff to current
2010-05-20
Thadeu Lima de Sou...
Use spinlock to busy wait.
blob
|
commitdiff
|
raw
|
diff to current
2010-05-20
Thadeu Lima de Sou...
Use mutex.
master
blob
|
commitdiff
|
raw
|
diff to current
2010-05-20
Thadeu Lima de Sou...
USe interruptible version of down.
blob
|
commitdiff
|
raw
|
diff to current
2010-05-20
Thadeu Lima de Sou...
Serialize access to global structure using semaphore.
blob
|
commitdiff
|
raw
|
diff to current
2010-05-19
Thadeu Lima de Sou...
Check truncate and append flags.
blob
|
commitdiff
|
raw
|
diff to current
2010-05-19
Thadeu Lima de Sou...
Use global buffer.
blob
|
commitdiff
|
raw
|
diff to current
2010-05-19
Thadeu Lima de Sou...
Write function.
blob
|
commitdiff
|
raw
|
diff to current
2010-05-19
Thadeu Lima de Sou...
Allocate buffer when opening and added release function.
blob
|
commitdiff
|
raw
|
diff to current
2010-05-19
Thadeu Lima de Sou...
Added read function.
blob
|
commitdiff
|
raw
|
diff to current
2010-05-19
Thadeu Lima de Sou...
Do not kfree after cdev_del, which already does kfree...
blob
|
commitdiff
|
raw
|
diff to current
2010-05-19
Thadeu Lima de Sou...
Create char device.
blob
|
commitdiff
|
raw
|
diff to current
2010-05-19
Thadeu Lima de Sou...
Allocate device number dynamically.
blob
|
commitdiff
|
raw
|
diff to current
2010-05-19
Thadeu Lima de Sou...
Register number of devices.
blob
|
commitdiff
|
raw
|
diff to current