亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? dospartlibscsi.c

?? vxworks demo all 完整板本
?? C
?? 第 1 頁 / 共 5 頁
字號:
should anyone need to implement it:LBA = (((cylinder * heads_per_cylinder + heads )         * sectors_per_track ) + sector - 1)Both of these can also be used with either LCHS or PCHS.If using LCHS, then you must use LCHS drive parameters.If using PCHS, then you must use PCHS drive parameters.The "N-Shift" Algorithm used for LCHS to PCHS translation is:   PCHS_cylinder = ( LCHS_cylinder * N ) + ( Lhead / NPH );   PCHS_head = ( LCHS_head % NPH );   PCHS_sector = LCHS_sector;DEBUGGING:----------This code may be compiled with -g and debugged within Tornado.Also the routine dosPartShowAta will show all partition datafor all partition table entries.  SUPPORT:--------This code was written in my "spare" time.  I would feel it to beviable code, so please send me (John Fabiani, johnx@wrs.com) anycomment or bug report, email only please.  This does not imply support for this code from Wind River Systems.  If you try to use this code without a thorough review, you are taking a risk.This is considered only an example.  I will endeavor to keep itworking well. KNOWN LIMITATIONS-----------------1.) This code does not write partition tables, ala MSDOS FDISK.exe.    This is the next thing I will be doing.  I have structured    this code accordingly in anticipation of coding VxFdisk().2.) This code must be spawned with an adequate stack size.    dosPartParse is recursive and could use a lot of stack:    To correctly spawn its routines from the shell:    -> sp dosPartMountScsi, pSysScsiCtrl    or    -> taskSpawn ("pMount",20,0,20000,dosPartMountScsi,pSysScsiCtrl)    or    -> sp dosPartShowScsi,pScsiPhysDev    or    -> taskSpawn ("pShow", 20, 0, 20000, dosPartShowScsi,pScsiPhysDev)    Do not call it directly from the shell ala:    -> dosPartMountScsi pSysScsiCtrl -- WRONG!, may overflow default stack.    -> dosPartShowScsi pScsiPhysDev  -- WRONG!, may overflow default stack.    Or else you will most likely overflow your stack if you have    not increased the default sp stack size.  This can be set    with the WindShell via:    -> ?         tcl> set spStackSize 100000    100000    tcl> ?    -> 3.) This code has only been tested with VxWorks 5.3.1 FCS.COMPILING THIS CODE:-------------------Standard vxWorks makes are expect.  Should work with any arch.Here are some examples:68K:----cc68k -BD:\10168k/host/x86-win32/lib/gcc-lib/ -m68040 -ansi -nostdinc -O -fvolatile -fno-builtin -Wall -I/h   -I. -ID:\10168k\target\config\all -ID:\10168k\target/h -ID:\10168k\target/src/config -ID:\10168k\target/src/drv -DCPU=MC68040      -c dosPartLibAta.ccc68k -BD:\10168k/host/x86-win32/lib/gcc-lib/ -m68040 -ansi -nostdinc -O -fvolatile -fno-builtin -Wall -I/h   -I. -ID:\10168k\target\config\all -ID:\10168k\target/h -ID:\10168k\target/src/config -ID:\10168k\target/src/drv -DCPU=MC68040-c dosPartLibScsi.cI960:-----cc960 -BC:\Sirocco/host/x86-win32/lib/gcc-lib/ -mca -mstrict-align -ansi -nostdinc -O -fvolatile -fno-builtin  -Wall -I/h   -I. -IC:\Sirocco\target\config\all -IC:\Sirocco\target/h -IC:\Sirocco\target/src/config -IC:\Sirocco\target/src/drv -DCPU=I960CA -DVX_IGNORE_GNU_LIBS     -c dosPartLibScsi.c80x86:------cc386 -BC:\Sirocco/host/x86-win32/lib/gcc-lib/ -m486 -ansi -nostdinc -O -fvolatile -nostdlib -fno-builtin -fno-defer-pop -Wall -I/h   -I. -IC:\Sirocco\target\config\all -IC:\Sirocco\target/h -IC:\Sirocco\target/src/config -IC:\Sirocco\target/src/drv -DCPU=I80486      -c dosPartLibScsi.cSOME GENERIC USAGE EXAMPLES:------------------------------------------------------------------------------    ***********************************************************1.) EXAMPLE OF USING "dosPartMountAta (ctrl, drive)" ON A DRIVE    CONTAINING TEN PARTITIONS OF VARIOUS SIZES: MSDOS C: - L:     ***********************************************************    -> ld < c:\dosPartLib\dosPartLibAta.o    value = 14364680 = 0xdb3008    -> sp dosPartMountAta,0,0                task spawned: id = 1fb4788, name = u1    value = 33245064 = 0x1fb4788    ->     Mounting partition 00 - VxWorks device Name "/ataCtrl0Drive0Part0"    Absolute sector: 0x0000003f  Number of sectors: 0x00005e41    Approximate Partition size: 11 MBs    Mounting partition 01 - VxWorks device Name "/ataCtrl0Drive0Part1"    Absolute sector: 0x00005ebf  Number of sectors: 0x00018981    Approximate Partition size: 49 MBs    Mounting partition 02 - VxWorks device Name "/ataCtrl0Drive0Part2"    Absolute sector: 0x0001e87f  Number of sectors: 0x0003b0c1    Approximate Partition size: 118 MBs    Mounting partition 03 - VxWorks device Name "/ataCtrl0Drive0Part3"    Absolute sector: 0x0005997f  Number of sectors: 0x00001f41    Approximate Partition size: 3 MBs    Mounting partition 04 - VxWorks device Name "/ataCtrl0Drive0Part4"    Absolute sector: 0x0005b8ff  Number of sectors: 0x00022701    Approximate Partition size: 68 MBs    Mounting partition 05 - VxWorks device Name "/ataCtrl0Drive0Part5"    Absolute sector: 0x0007e03f  Number of sectors: 0x00018981    Approximate Partition size: 49 MBs    Mounting partition 06 - VxWorks device Name "/ataCtrl0Drive0Part6"    Absolute sector: 0x000969ff  Number of sectors: 0x00013ac1    Approximate Partition size: 39 MBs    Mounting partition 07 - VxWorks device Name "/ataCtrl0Drive0Part7"    Absolute sector: 0x000aa4ff  Number of sectors: 0x00044e41    Approximate Partition size: 137 MBs    Mounting partition 08 - VxWorks device Name "/ataCtrl0Drive0Part8"    Absolute sector: 0x000ef37f  Number of sectors: 0x000a6581    Approximate Partition size: 332 MBs    Mounting partition 09 - VxWorks device Name "/ataCtrl0Drive0Part9"    Absolute sector: 0x0019593f  Number of sectors: 0x00071301    Approximate Partition size: 226 MBs    -> devs    drv name      0 /null      1 /tyCo/0      1 /tyCo/1      2 /pcConsole/0      2 /pcConsole/1      7 eno:      8 /vio      4 /ataCtrl0Drive0Part0      4 /ataCtrl0Drive0Part1      4 /ataCtrl0Drive0Part2      4 /ataCtrl0Drive0Part3      4 /ataCtrl0Drive0Part4      4 /ataCtrl0Drive0Part5      4 /ataCtrl0Drive0Part6      4 /ataCtrl0Drive0Part7      4 /ataCtrl0Drive0Part8      4 /ataCtrl0Drive0Part9    value = 0 = 0x0    ->     -> dosFsConfigShow "/ataCtrl0Drive0Part6"    device name:               /ataCtrl0Drive0Part6    total number of sectors:   80577    bytes per sector:          512    media byte:                0xf8    # of sectors per cluster:  4    # of reserved sectors:     1    # of FAT tables:           2    # of sectors per FAT:      79    max # of root dir entries: 512    # of hidden sectors:       63    removable medium:          TRUE    disk change w/out warning: not enabled    auto-sync mode:            not enabled    long file names:           not enabled    exportable file system:    not enabled    lowercase-only filenames:  not enabled    volume mode:               O_RDWR (read/write)    available space:           41148416 bytes    max avail. contig space:   32360448 bytes    value = 0 = 0x0    -> ------------------------------------------------------------------------------    ***********************************************************2.) EXAMPLE OF USING "dosPartShowAta (ctrl, drive) ON DISK WITH    MULTIPLE PARTITIONS. (some output deleted to save space)    ***********************************************************        -> sp (dosPartShowAta,0,0)                     task spawned: id = 1fb47b0, name = u1    value = 33245104 = 0x1fb47b0    ->     +--------------------------------------+    | Master Boot Record - Partition Table |    +--------------------------------------+----------+    | Current LCHS Cylinder 0000, Head 000, Sector 00 |    +-----------------------------+-------------------+---------+    | Partition Entry number 04   | Partition Entry offset 0x1be|    +-----------------------------+-----------------------------+    | Status field = 0x80         | Primary (bootable) Partition|    +-----------------------------+-----------------------------+    | Type 0x01: MSDOS Partition 12-bit FAT                     |    +-----------------------------------------------------------+    | Partition start LCHS: Cylinder 0000, Head 001, Sector 01  |    +-----------------------------------------------------------+    | Partition end   LCHS: Cylinder 0005, Head 063, Sector 63  |    +-----------------------------------------------------------+    | Sectors offset from MBR partition 0x0000003f              |    +-----------------------------------------------------------+    | Number of sectors in partition 0x00005e41                 |    +-----------------------------------------------------------+    | Sectors offset from start of disk 0x0000003f              |    +-----------------------------------------------------------+    +--------------------------------------+    | Master Boot Record - Partition Table |    +--------------------------------------+----------+    | Current LCHS Cylinder 0000, Head 000, Sector 00 |    +-----------------------------+-------------------+---------+    | Partition Entry number 03   | Partition Entry offset 0x1ce|    +-----------------------------+-----------------------------+    | Status field = 0x00         | Non-bootable Partition      |    +-----------------------------+-----------------------------+    | Type 0x05: MSDOS Extended Partition                       |    +-----------------------------------------------------------+    | Partition start LCHS: Cylinder 0006, Head 000, Sector 01  |    +-----------------------------------------------------------+    | Partition end   LCHS: Cylinder 0014, Head 063, Sector 63  |    +-----------------------------------------------------------+    | Sectors offset from MBR partition 0x00005e80              |    +-----------------------------------------------------------+    | Number of sectors in partition 0x00200dc0                 |    +-----------------------------------------------------------+    | Sectors offset from start of disk 0x00005e80              |    +-----------------------------------------------------------+    +--------------------------------------+    | Master Boot Record - Partition Table |    +--------------------------------------+----------+    | Current LCHS Cylinder 0000, Head 000, Sector 00 |    +-----------------------------+-------------------+---------+    | Partition Entry number 02   | Partition Entry offset 0x1de|    +-----------------------------+-----------------------------+    | Status field = 0x00         | Non-bootable Partition      |    +-----------------------------+-----------------------------+    | Type 0x00: Empty (NULL) Partition                         |    +-----------------------------------------------------------+    ....(REST of OUTPUT DELETED FOR SPACE).....        There is going to be a lot more output than above.  The above     is simply an example of the format.  dosPartShowAta will display    all four partition table entries for each partition sector.      For example, a disk with 4 logical drives (C,D,E, & F) will     contain 5 partition sectors and dosPartShowAta() will display    20 partition table entries.      Utilities such as Norton Utilities DISKEDIT (TM) do not    automaticly display extended partition data.  This must    be done manually.  That is not a restriction with dosPartShowAta.    dosPartShowAta will automatically display all extended partitions.

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩和欧美的一区| 日韩国产精品大片| 亚洲一区视频在线| 亚洲精品一区二区三区精华液| 久久精品视频在线免费观看| 欧美一级日韩不卡播放免费| 欧美国产日韩一二三区| 美国毛片一区二区| 欧美性一二三区| 17c精品麻豆一区二区免费| 精品影视av免费| 另类欧美日韩国产在线| 蜜臀久久99精品久久久久宅男| 久久er精品视频| 99久久国产综合精品女不卡| 日韩欧美一区二区视频| 国产精品久线在线观看| 美女视频黄久久| 色欧美片视频在线观看在线视频| 欧美精三区欧美精三区| 国产精品毛片久久久久久| 日韩精品高清不卡| 91国偷自产一区二区开放时间| 欧美大片在线观看一区| 亚洲制服丝袜av| 99re6这里只有精品视频在线观看| 91精品婷婷国产综合久久性色 | 中文字幕免费不卡| 美女诱惑一区二区| 欧美一区二区高清| 国产精品每日更新| 99精品欧美一区二区三区小说 | 国产乱人伦偷精品视频不卡 | 婷婷中文字幕一区三区| 91浏览器入口在线观看| 中文字幕五月欧美| 丁香五精品蜜臀久久久久99网站 | 久久99久久99精品免视看婷婷| 在线免费亚洲电影| 亚洲电影你懂得| 欧美老年两性高潮| 亚洲成av人综合在线观看| 欧美视频在线观看一区二区| 亚洲无人区一区| 777午夜精品视频在线播放| 免费看日韩a级影片| 欧美精品一区二区三区在线 | 国产亚洲成年网址在线观看| 懂色中文一区二区在线播放| 中文字幕成人av| 欧美视频一区二区三区四区| 日韩电影一区二区三区四区| 精品久久久久久久人人人人传媒| 久久精品国产在热久久| 欧美激情在线一区二区| 国产中文字幕一区| 欧美猛男gaygay网站| 亚洲成人精品影院| 国产三级三级三级精品8ⅰ区| 97se亚洲国产综合在线| 欧美aaa在线| 亚洲欧洲精品一区二区精品久久久| 色综合久久久久| 国产一区二区在线影院| 午夜欧美2019年伦理| 国产精品国产三级国产aⅴ原创| 3751色影院一区二区三区| 国产成人在线观看免费网站| 日本v片在线高清不卡在线观看| 国产精品久久久久一区二区三区| 欧美一级夜夜爽| 欧美蜜桃一区二区三区| 99精品视频在线观看| 国产99久久久国产精品潘金网站| 日本欧洲一区二区| 亚洲一区二区三区小说| 亚洲欧美在线高清| 亚洲自拍另类综合| 中文成人av在线| 中文字幕第一区| 久久久www免费人成精品| 欧美日本韩国一区| 777午夜精品免费视频| 欧美猛男男办公室激情| 69堂国产成人免费视频| 制服丝袜亚洲播放| 日韩欧美国产一区二区三区| 日韩午夜激情电影| 久久精品无码一区二区三区| 国产无遮挡一区二区三区毛片日本| 日韩精品一区二区在线| 精品福利一区二区三区| 国产人妖乱国产精品人妖| 中文av一区二区| 亚洲精品一二三区| 日产国产高清一区二区三区| 久久精品久久久精品美女| 东方欧美亚洲色图在线| 91成人免费在线| 精品国产乱码久久久久久老虎 | 国内不卡的二区三区中文字幕| 精品写真视频在线观看| 99久久99久久精品免费观看| 欧美日韩在线精品一区二区三区激情| 欧美午夜精品久久久久久超碰 | 免费成人美女在线观看.| 成人激情电影免费在线观看| 欧美午夜片在线看| 国产蜜臀97一区二区三区 | 欧美影片第一页| 久久久精品中文字幕麻豆发布| 亚洲女人****多毛耸耸8| 午夜精品久久久久久久久久| 五月婷婷色综合| 国产福利一区二区| 欧美一级夜夜爽| 亚洲欧美日韩国产手机在线| 捆绑调教一区二区三区| 在线视频欧美区| 中文字幕av资源一区| 精品一二线国产| 日韩欧美久久久| 蜜桃视频一区二区三区| 884aa四虎影成人精品一区| 亚洲综合一区二区| 91片黄在线观看| 亚洲视频在线观看一区| 99国产麻豆精品| 一区二区久久久| 欧洲一区在线电影| 爽好多水快深点欧美视频| 在线视频中文字幕一区二区| 亚洲国产人成综合网站| 欧洲人成人精品| 一区二区三区四区在线| 色婷婷精品大视频在线蜜桃视频| 1024国产精品| 欧美最新大片在线看| 日本欧美一区二区三区乱码| 日韩欧美激情一区| 精品一区二区日韩| 亚洲欧洲精品一区二区三区 | 日韩一区在线播放| 99久久777色| 日本美女一区二区| 国产精品国产三级国产专播品爱网 | 天天亚洲美女在线视频| 久久久天堂av| 91久久免费观看| 五月天一区二区三区| 欧美精品一区二区久久久| 成人免费观看av| 亚洲国产精品综合小说图片区| 精品国产乱码久久久久久浪潮 | 一二三四社区欧美黄| 日韩一级片网站| 在线这里只有精品| 韩国午夜理伦三级不卡影院| 尤物在线观看一区| www一区二区| 欧美日韩欧美一区二区| 暴力调教一区二区三区| 精久久久久久久久久久| 亚洲第一成年网| 亚洲色图制服丝袜| 国产亚洲福利社区一区| 精品不卡在线视频| 精品国产乱码久久久久久牛牛| 欧美日韩视频在线第一区 | 亚洲成国产人片在线观看| 91福利资源站| www.色精品| 99久久国产综合精品色伊| 成人丝袜18视频在线观看| 国产精品影视在线观看| 国产精品亚洲а∨天堂免在线| 奇米影视在线99精品| 久久精品国产免费看久久精品| 日韩电影在线观看一区| 美腿丝袜一区二区三区| 激情成人综合网| 风间由美一区二区三区在线观看 | 精品一区精品二区高清| 黄色精品一二区| 9l国产精品久久久久麻豆| 色婷婷国产精品综合在线观看| 欧美亚洲综合色| 91精品国产91久久久久久最新毛片 | 日韩美一区二区三区| 久久久亚洲精华液精华液精华液| 中文在线一区二区| ...中文天堂在线一区| 亚洲欧美另类小说视频| 看电视剧不卡顿的网站| 99精品久久99久久久久| 制服丝袜亚洲精品中文字幕| 国产欧美一区二区在线观看| 亚洲最快最全在线视频| 成人精品视频.| 日韩精品一区国产麻豆|