User ProcessA user process is a running instance of some user program (which must have been resident in the filesystem somewhere, such as /bin/ls or /usr/dt/bin/dtmail)Address SpaceEach user process has its own unique address space so that one user process cannot directly violate the memory space of another. The valid ranges of virtual addresses within the address spaces of two distinct processes will often look similar (e.g., executable code normally starts at address 0x10000), but will be mapped by the kernel to different physical memory addressesSegmentAn...
Wednesday, 24 November 2004
Thursday, 18 November 2004
C++: Name Mangling
Posted on 11:11 by Unknown
When C++ compilers compile a C++ program, it encodes all function names andcertain other identifiers to include type and scoping information. This encodingprocess is called name mangling. Linker uses these mangled names to ensuretype-safe linkage. These mangled names appear in the object files and finalexecutable file.What's a symbol?In every C++ program/library/object file, all non-static functions are representedin the binary file as symbols. These symbols are special text strings that uniquelyidentify a function in the program, library or object...
Monday, 15 November 2004
UNIX/C: cscope - an interactive program examiner
Posted on 16:53 by Unknown
cscope is an interactive program that locates specified elements of code in C,C++, lex, or yacc source files. cscope is a very useful utility to browse throughthe source code tree of a large project. It is a text-mode screen-oriented utility.When cscope is called for a set of C, C++, lex, or yacc source files, it builds asymbol cross-reference table for the functions, function calls, macros, variables,and preprocessor symbols in those files. You can then query that table about thelocations of symbols you specify.At First, cscope presents a menu...
Thursday, 11 November 2004
Sun C/C++: Installed Components & Version#s
Posted on 15:59 by Unknown
bpte4500s001:/sunbuild2/web/dump/%which version/sunbuild3/s1s9/SUNWspro/prod/bin/versionbpte4500s001:/sunbuild2/web/dump/%versionMachine hardware: sun4uOS version: 5.8Processor type: sparcHardware: SUNW,Ultra-EnterpriseThe following components are installed on your system:Sun Studio 9 Sun Studio 9 C Compiler Sun Studio 9 C++ Compiler Sun Studio 9 Tools.h++ 7.1 Sun Studio 9 C++ Standard 64-bit Class Library Sun Studio 9 Garbage Collector Sun Studio 9 Fortran 95 Sun Studio 9 Debugging Tools...
Monday, 8 November 2004
JDS: Linux & Sony DSC-V1/W1 Digital Camera
Posted on 15:07 by Unknown
summary:switch the camera in USB PTP (Picture Transfer Protocol) mode and then run "gtkam" application1) Setup the camera to enable PTP by default i) unplug USB cables (if any) from camera ii) turn the dial to "setup" iii) using arrow keys navigate to USB connect & set the mode to "PTP" ("normal" is the default) iv) exit the setupQuick test: i) plug-in the USB cable from Camera to computer ii) turn on the camera <= it should read "USB Mode - PTP". If it shows "USB Mode - Normal", we have to go back...
Subscribe to:
Posts (Atom)