# HG changeset patch # User Oleksandr Gavenko # Date 1250797518 -10800 # Node ID 5181378e42af5c9d5251b740ec7e0cad33187580 # Parent 95c55e2920e59d245a2f594bdec0a7748b30fcbb CR/LF ==> LF. diff -r 95c55e2920e5 -r 5181378e42af cpp.rst --- a/cpp.rst Fri Aug 07 20:36:28 2009 +0300 +++ b/cpp.rst Thu Aug 20 22:45:18 2009 +0300 @@ -1,34 +1,34 @@ --*- outline -*- - -* How to see macros expansion? - -** GCC. - - $ cpp .c - -** MSVC. - - $ cl /E .c - -* Who to see predefined macros? - -See - - http://predef.sourceforge.net/ - http://en.wikipedia.org/wiki/C_preprocessor#Compiler-specific_predefined_macros - -** GNU C Compiler. - - $ gcc -dM -E - < /dev/null - -** HP-UX ansi C compiler. - - $ cc -v EMPTY.c - -** SCO OpenServer C compiler. - - $ cc -## EMPTY.c - -** Sun Studio C/C++ compiler. - - $ cc -## EMPTY.c +-*- outline -*- + +* How to see macros expansion? + +** GCC. + + $ cpp .c + +** MSVC. + + $ cl /E .c + +* Who to see predefined macros? + +See + + http://predef.sourceforge.net/ + http://en.wikipedia.org/wiki/C_preprocessor#Compiler-specific_predefined_macros + +** GNU C Compiler. + + $ gcc -dM -E - < /dev/null + +** HP-UX ansi C compiler. + + $ cc -v EMPTY.c + +** SCO OpenServer C compiler. + + $ cc -## EMPTY.c + +** Sun Studio C/C++ compiler. + + $ cc -## EMPTY.c diff -r 95c55e2920e5 -r 5181378e42af driver-win.rst --- a/driver-win.rst Fri Aug 07 20:36:28 2009 +0300 +++ b/driver-win.rst Thu Aug 20 22:45:18 2009 +0300 @@ -1,91 +1,91 @@ --*- outline -*- - -* Which version exist? - - - VxD - Windows 3.x and Windows 9x - - Windows Driver Model (WDM) - Windows 98, Windows 98 Second Edition, Windows Me, Windows - 2000, Windows XP, Windows Server 2003 and Windows Vista (for - backwards compatibility) - - Windows Driver Foundation (WDF) - Windows 2000 and later - -* VxD. - -See - - http://en.wikipedia.org/wiki/VxD - -* WDM. - -See - - http://en.wikipedia.org/wiki/Windows_Driver_Model - -* WDF. - -See - - http://en.wikipedia.org/wiki/Windows_Driver_Foundation - -* Filename extension. - - * VxD - .386 under Windows 3.x - .vxd under Windows 95 - -* Tools. - -** Microsoft DDK. - -*** DevCon. - -Supported device classes: - - cmd> devcon.exe classes - -Which files used by specific driver (with "*" prints list of files for all drivers): - - cmd> devcon.exe driverfiles * - -Device ID (names included): - - cmd> devcon.exe hwids * - -Device status (running/stoped): - - cmd> devcon.exe status * - -** USB Command Verifier. - -All USB peripherals are required to pass the Device Framework tests in order -to gain certification. - - http://www.usb.org/developers/tools/ - -* Files. - -** Windows 98 SE/ME. - -** Windows NT (2000/XP/2003). - - * .inf - Stored in %Windir%\Inf. - * .pnf - Precompiled INF File. Stored in %Windir%\Inf. - -* Driver type. - -** CDC. - - http://support.microsoft.com/kb/837637 - How to use or to reference the Usbser.sys driver from - universal serial bus (USB) modem .inf files. - -* Driver class. - -See - - http://msdn.microsoft.com/en-us/library/ms791134.aspx - System-Supplied Device Setup Classes +-*- outline -*- + +* Which version exist? + + - VxD + Windows 3.x and Windows 9x + - Windows Driver Model (WDM) + Windows 98, Windows 98 Second Edition, Windows Me, Windows + 2000, Windows XP, Windows Server 2003 and Windows Vista (for + backwards compatibility) + - Windows Driver Foundation (WDF) + Windows 2000 and later + +* VxD. + +See + + http://en.wikipedia.org/wiki/VxD + +* WDM. + +See + + http://en.wikipedia.org/wiki/Windows_Driver_Model + +* WDF. + +See + + http://en.wikipedia.org/wiki/Windows_Driver_Foundation + +* Filename extension. + + * VxD + .386 under Windows 3.x + .vxd under Windows 95 + +* Tools. + +** Microsoft DDK. + +*** DevCon. + +Supported device classes: + + cmd> devcon.exe classes + +Which files used by specific driver (with "*" prints list of files for all drivers): + + cmd> devcon.exe driverfiles * + +Device ID (names included): + + cmd> devcon.exe hwids * + +Device status (running/stoped): + + cmd> devcon.exe status * + +** USB Command Verifier. + +All USB peripherals are required to pass the Device Framework tests in order +to gain certification. + + http://www.usb.org/developers/tools/ + +* Files. + +** Windows 98 SE/ME. + +** Windows NT (2000/XP/2003). + + * .inf + Stored in %Windir%\Inf. + * .pnf + Precompiled INF File. Stored in %Windir%\Inf. + +* Driver type. + +** CDC. + + http://support.microsoft.com/kb/837637 + How to use or to reference the Usbser.sys driver from + universal serial bus (USB) modem .inf files. + +* Driver class. + +See + + http://msdn.microsoft.com/en-us/library/ms791134.aspx + System-Supplied Device Setup Classes diff -r 95c55e2920e5 -r 5181378e42af java.rst --- a/java.rst Fri Aug 07 20:36:28 2009 +0300 +++ b/java.rst Thu Aug 20 22:45:18 2009 +0300 @@ -1,16 +1,16 @@ --*- outline -*- - -* Class version. - -See value of 6 and 8 bytes in .class file: - - {0xCA, 0xFE, 0xBA, 0xBE, 0x00, minor, 0x00, major} - -major minor Java platform version -45 3 1.0 -45 3 1.1 -46 0 1.2 -47 0 1.3 -48 0 1.4 -49 0 1.5 -50 0 1.6 +-*- outline -*- + +* Class version. + +See value of 6 and 8 bytes in .class file: + + {0xCA, 0xFE, 0xBA, 0xBE, 0x00, minor, 0x00, major} + +major minor Java platform version +45 3 1.0 +45 3 1.1 +46 0 1.2 +47 0 1.3 +48 0 1.4 +49 0 1.5 +50 0 1.6