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

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

?? dospartlibata.c

?? vxworks demo all 完整板本
?? C
?? 第 1 頁 / 共 5 頁
字號:
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 dosPartMountAta,0,0     or    -> taskSpawn ("pMount", 20, 0, 20000, dosPartMountAta,0,0)    or    -> sp dosPartShowAta,0,0     or    -> taskSpawn ("pShow", 20, 0, 20000, dosPartShowAta,0,0)    Do not call it directly from the shell ala:    -> dosPartMountAta 0,0 -- WRONG!, may overflow default stack.    -> dosPartShowAta 0,0  -- 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 expected.  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 ataDrv() INFORMATION:--------------------------The VxWorks ataDrv() drivers ATA parameters in (setup in the BSP file $WIND_BASE/target/config/pc486/pc.h) for ATA0_CONFIG and ATA1_CONFIG must be setup appropriately for the particularsystem.At the ataDrv driver level:If ATA_GEO_CURRENT is used, ataDrv() uses current drives(PCHS) geometry parameters, if possible.If ATA_GEO_PHYSICAL is used, the ata driver uses the physicalgeometry parameters stored on the drive, if possible.  If ATA_GEO_FORCE is used, the ata driver uses values stored in the "ataTypes[][]" table in sysLib.c. The geometry parametersare the number of sectors per track, the number of heads, andthe number of cylinders. The ataTypes[][] table has two entries:the first is for drive 0, the second is for drive 1. The table has two other members which are used by the driver. They are thenumber of bytes per sector and the write pre-compensation cylinder.These two members should also be set to properly match the BIOS/OSsetting used.  These settings will be attempted to be translatedby dosPartRdLChsAta().For the PC x86 BSP's ATA_GEO_CURRENT is the default for VxWorks5.3.1 FCS.  ATA_GEO_CURRENT is the recommended setting for newerdrives and BIOS's and when using this code.  Else ataTypes mustprecisely match what the other BIOS/OS/Controller uses for PCHS.By default, with INCLUDE_ATA, vxWorks is setup for one ATA deviceon the first controller.  The others are disabled to prevent timeouts.If you have more than one hard disk (two per controller max.) or morethan one controller (two max) then you must modify the ataResourcesstruct array in sysLib.c to support more drives.For example, to support two controllers, each with two drives:(4 drives total)  I defined ataResources as follows:ATA_RESOURCE ataResources[ATA_MAX_CTRLS] =    {    {     {     5, 0,     {ATA0_IO_START0, ATA0_IO_START1}, {ATA0_IO_STOP0, ATA0_IO_STOP1}, 0,     0, 0, 0, 0, 0     },     IDE_LOCAL, ATA0_NUM_DRIVES, ATA0_INT_VEC, ATA0_INT_LVL, ATA0_CONFIG,     ATA_SEM_TIMEOUT, ATA_WDG_TIMEOUT, 0, 0    },    {     {     5, 0,     {ATA1_IO_START0, ATA1_IO_START1}, {ATA1_IO_STOP0, ATA1_IO_STOP1}, 0,     0, 0, 0, 0, 0     },     IDE_LOCAL, ATA1_NUM_DRIVES, ATA1_INT_VEC, ATA1_INT_LVL, ATA1_CONFIG,     ATA_SEM_TIMEOUT, ATA_WDG_TIMEOUT, 0, 0    }    };Where:ATA0_NUM_DRIVES and ATA1_NUM_DRIVES are defined as 2.ATA0_INT_LVL is defined as 0x0e.ATA1_INT_LVL is defined as 0x0f.And all other macros are defined per the default values as shipped with pc386/pc486 BSP's.SOME 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 |    +-----------------------------+-------------------+---------+

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久在线免费观看| 一本色道久久综合狠狠躁的推荐 | 国产亚洲综合性久久久影院| 日本vs亚洲vs韩国一区三区二区 | 一区二区三区欧美激情| 欧美揉bbbbb揉bbbbb| 午夜精品一区二区三区电影天堂 | 99久久精品一区| 亚洲视频综合在线| 欧美精品粉嫩高潮一区二区| 精品一区二区在线视频| 欧美国产乱子伦 | 国产欧美在线观看一区| 成人免费视频视频| 一区二区三区精品| 日韩一二三四区| 成人h版在线观看| 亚洲mv大片欧洲mv大片精品| 精品久久国产字幕高潮| 成人免费黄色大片| 五月激情六月综合| 久久美女高清视频| 在线观看一区二区精品视频| 日本亚洲最大的色成网站www| 亚洲精品在线电影| 91麻豆高清视频| 久久精品国产精品亚洲精品| 国产精品乱人伦中文| 欧美日韩精品一区二区三区 | 亚洲1区2区3区4区| 精品福利二区三区| 色天使色偷偷av一区二区| 六月丁香综合在线视频| 国产精品夫妻自拍| 日韩网站在线看片你懂的| 91影院在线观看| 国产一区二区不卡老阿姨| 亚洲综合免费观看高清完整版在线| 日韩欧美国产综合一区 | 图片区日韩欧美亚洲| 国产欧美一二三区| 日韩欧美成人午夜| 91麻豆免费观看| 国产九色精品成人porny| 亚洲高清不卡在线观看| ●精品国产综合乱码久久久久| 91精品国产91久久久久久最新毛片| 成年人午夜久久久| 国产传媒一区在线| 日本一区中文字幕| 亚洲1区2区3区4区| 伊人一区二区三区| 国产精品午夜电影| 久久欧美中文字幕| 精品久久久久久久一区二区蜜臀| 欧美无砖专区一中文字| 99久久综合狠狠综合久久| 国产一区二区导航在线播放| 美女高潮久久久| 午夜激情久久久| 亚洲一级二级在线| 亚洲精品五月天| 亚洲欧美激情在线| 最新不卡av在线| 国产精品区一区二区三区| 久久女同性恋中文字幕| 精品国产91乱码一区二区三区| 欧美精品久久久久久久多人混战 | 精品一区二区三区视频 | 亚洲综合免费观看高清完整版在线| 国产欧美日韩亚州综合| 久久久99精品久久| 国产喂奶挤奶一区二区三区| 久久久亚洲高清| 久久亚洲影视婷婷| 国产亚洲1区2区3区| 国产网红主播福利一区二区| 日本一区二区免费在线 | 色哟哟亚洲精品| 一本大道久久a久久综合| 97国产精品videossex| 一本到一区二区三区| 欧美午夜在线观看| 欧美日韩一区在线观看| 欧美日韩午夜在线视频| 欧美巨大另类极品videosbest | 亚洲三级免费观看| 亚洲日穴在线视频| 亚洲国产乱码最新视频| 日韩激情av在线| 激情图区综合网| 丰满放荡岳乱妇91ww| 91在线一区二区三区| 在线观看免费一区| 欧美疯狂性受xxxxx喷水图片| 日韩欧美成人激情| 中文字幕精品在线不卡| 亚洲你懂的在线视频| 天堂成人免费av电影一区| 久久综合综合久久综合| 成人中文字幕合集| 欧美视频中文一区二区三区在线观看 | 在线播放亚洲一区| 精品国产乱码久久久久久夜甘婷婷| 2019国产精品| 亚洲精品国产a久久久久久| 天天影视涩香欲综合网| 国产一区二区三区av电影| 9l国产精品久久久久麻豆| 欧美日韩一级黄| 久久中文娱乐网| 亚洲免费av高清| 免费在线看一区| 91香蕉国产在线观看软件| 欧美一区二区三区电影| 国产精品入口麻豆九色| 日韩成人免费在线| 成人免费视频播放| 91精品国产综合久久久蜜臀图片| 国产亚洲精品免费| 亚洲h在线观看| 丁香激情综合国产| 欧美精品自拍偷拍| 亚洲欧洲精品一区二区三区不卡 | 久久―日本道色综合久久| 亚洲另类春色国产| 国产麻豆精品一区二区| 欧美精品xxxxbbbb| 亚洲桃色在线一区| 国产乱码精品一品二品| 欧美猛男超大videosgay| 中文字幕av不卡| 激情综合色播激情啊| 欧美最猛黑人xxxxx猛交| 国产人妖乱国产精品人妖| 男女男精品网站| 在线观看日韩精品| 国产精品福利一区| 国产一区二区看久久| 欧美一区二区网站| 亚洲综合色网站| 99精品欧美一区二区三区小说| 欧美va亚洲va| 日韩电影在线免费| 欧美体内she精视频| 亚洲三级电影网站| av一区二区三区四区| 国产日韩一级二级三级| 国产一区二区伦理片| 欧美本精品男人aⅴ天堂| 偷拍亚洲欧洲综合| 91福利社在线观看| 中文字幕一区三区| 风流少妇一区二区| 国产精品美女久久久久aⅴ国产馆| 国产在线精品国自产拍免费| 日韩免费一区二区| 秋霞午夜鲁丝一区二区老狼| 69堂精品视频| 日产国产欧美视频一区精品 | 精品噜噜噜噜久久久久久久久试看| 伊人色综合久久天天| 色综合久久久久网| 国产精品久久久久久久裸模| 成人毛片在线观看| 国产拍欧美日韩视频二区| 粉嫩久久99精品久久久久久夜| 久久精品一区四区| 成人久久视频在线观看| 国产精品麻豆久久久| 99久久综合狠狠综合久久| 亚洲三级电影全部在线观看高清| 91免费看`日韩一区二区| 亚洲视频 欧洲视频| 在线观看亚洲a| 日一区二区三区| 日韩美女一区二区三区| 国产老妇另类xxxxx| 国产精品无人区| 91丨porny丨首页| 午夜欧美视频在线观看| 日韩欧美国产一区在线观看| 国产精品一二二区| 国产精品美女久久久久久久久| 色综合色综合色综合| 午夜影院久久久| 日韩精品在线网站| 国产91色综合久久免费分享| 成人欧美一区二区三区视频网页| 在线观看一区二区视频| 秋霞影院一区二区| 中文字幕精品一区二区精品绿巨人| 色婷婷综合在线| 日韩精品色哟哟| 久久亚洲精精品中文字幕早川悠里| 成人高清伦理免费影院在线观看| 亚洲男人天堂一区| 欧美一区二区三区电影| 福利电影一区二区| 婷婷中文字幕一区三区|