setup_idt: lea ignore_int,%edx movl$ox00080000,%eax movw %dx,%ax movw $0x8E00,%dx
Author Archives: jeffrin
Bochs
snippet 1 $apt-cache search bochs grub-firmware-qemu – GRUB firmware image for QEMU vgabios – VGA BIOS software for the Bochs and Qemu emulated VGA card bochs – IA-32 PC emulator bochs-doc – Bochs upstream documentation bochs-sdl – SDL plugin for Bochs bochs-svga – SVGA plugin for Bochs bochs-term – Terminal (ncurses-based) plugin for Bochs bochs-wx …
ELF spec. types of object files
A relocatable file holds code and data suitable for linking with other object files to create an executable or a shared object file. An executable file holds a program suitable for execution; the file specifies how exec(BA_OS) creates a program’s process image. A shared object file holds code and data suitable for linking in two …
stackoverflow and … other links
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
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”