Links http://stackoverflow.com/questions/43180/how-to-get-started-in-operating-system-development http://www.osix.net/modules/article/?id=359 http://www.nondot.org/sabre/os/articles
Author Archives: jeffrin
Standalone Device Drivers in Linux Theodore Ts’o July 1, 1999
Linguistic defer Recommended Reading 1. Linux Kernel In A Nutshell 2. Link to the above book at oreilly Website. 3. GNU Make Manual
bounded interrupt latencies
Connected From This We ensure bounded interrupt latencies by the standard approach of introducing a few, carefully placed, interrupt points. On detection of a pending interrupt, the kernel explicitly returns through the function call stack to the ker- nel/user boundary and responds to the interrupt. It then restarts the original operation, including reestablishing all the …
TERM signal ——–x a user space interrupt
Connected From This 1. kill command can be used to send TERM signal. 2. SIGTERM 15 Term Termination signal Signal is an user space interrupt. Sending a Signal The following system calls and library functions allow the caller to send a signal: raise(3) Sends a signal to the calling thread. kill(2) Sends a signal to …
make – GNU make utility to maintain groups of programs
A UNIX Command $make gcc -g -O2 -lcairo -I/usr/include/cairo/ -L/usr/lib/ `pkg \ -config –cflags –libs gtk+-2.0 gthread-2.0` – \ DVERSION=\”0.0.1\” language.c -o language $ $ls autom4te.cache config.status configure.in CVS language Makefile TODO config.log configure COPYING Documentation language.c Makefile.in $ Sample Makefile Contents CC = gcc VERSION = 0.0.1 CFLAGS = -g -O2 -lcairo -I/usr/include/cairo/ -L/usr/lib/ …
Continue reading “make – GNU make utility to maintain groups of programs”
history – shows command history
A UNIX Command $history 11 ls 12 vi kernel_start.s 13 as kernel_start.s 14 ls -l 15 sh a.out 16 ls 17 vi kernel_start.s 18 ls 19 cd linux/ 20 ls 21 cd boot/ 22 ls 23 as boot.s 24 cd 25 cd linux-2.6 26 ls 27 cd arch/ 28 ls 29 cd .. 30 find …
nohup – run a command immune to hangups, with output to a non-tty
A UNIX Command $nohup ls < /dev/null nohup: appending output to `nohup.out' $cat nohup.out Desktop Downloads JohnySagariga LeanBiz.zip nohup.out $ls Desktop Downloads JohnySagariga LeanBiz.zip nohup.out $ $nohup top < /dev/null nohup: appending output to `nohup.out' $cat nohup.out Desktop Downloads JohnySagariga LeanBiz.zip nohup.out top: failed tty get $nohup top < /dev/ nohup: appending output to `nohup.out' …
Continue reading “nohup – run a command immune to hangups, with output to a non-tty”
chrt – manipulate real-time attributes of a process
A UNIX Command $chrt -m SCHED_OTHER min/max priority : 0/0 SCHED_FIFO min/max priority : 1/99 SCHED_RR min/max priority : 1/99 SCHED_BATCH min/max priority : 0/0 SCHED_IDLE min/max priority : 0/0 $chrt -b -p 0 4555 $chrt -p 4555 pid 4555’s current scheduling policy: SCHED_BATCH pid 4555’s current scheduling priority: 0 $chrt -o -p 0 4555 …
Continue reading “chrt – manipulate real-time attributes of a process”
vdir – list directory contents
A UNIX Command $vdir symmel/ total 20 drwxr-xr-x 2 jeffrin jeffrin 4096 Jul 27 01:11 Docs -rw-r–r– 1 jeffrin jeffrin 88 Jul 25 00:57 kernel_start.asm -rw-r–r– 1 jeffrin jeffrin 78 Jul 25 00:57 kernel_start.s drwxr-xr-x 10 jeffrin jeffrin 4096 Jul 25 00:57 linux drwxr-xr-x 2 jeffrin jeffrin 4096 Jul 26 23:55 loader -rw-r–r– 1 jeffrin …