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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? sysalib.s

?? Kontron的ETX-P3T的BSP的源代碼
?? S
?? 第 1 頁 / 共 2 頁
字號:
/* sysALib.s - PC-386 system-dependent routines *//* Copyright 1984-2002 Wind River Systems, Inc. *//*modification history--------------------01z,13mar02,hdn  resumed GDT loading after copying from text to RAM (spr 71298)01y,02nov01,hdn  removed GDT loading not to access sysGdt[] in text (spr 71298)01x,14aug01,hdn  added Pentium4 support in sysCpuProbe().		 added sysCsSuper/Exc/Int as task/exc/int code selector.		 added FUNC/FUNC_LABEL GTEXT/GDATA macros.01w,12may98,hdn  renamed sysCpuid to sysCpuId.01v,09apr98,hdn  added support for PentiumPro in sysCpuProbe().01u,25mar97,hdn  removed a line of CD=NW=1 from sysCpuProbe().01t,03sep96,hdn  added the compression support. removed BOOTABLE macro.01s,17jun96,hdn  made sysCpuProbe() user-callable.01r,13jun96,hdn  added sysInLong() sysInLongString() sysOutLong()		 sysOutLongString().01q,01nov94,hdn  added a way to find out Pentium in sysCpuProbe().		 changed a way to find out 386 by checking AC bit.01p,19oct94,hdn  renamed sysInitGdt to sysGdt.		 added sysLoadGdt(), sysA20on().		 added sysA20Result indicates the state of A20 line.01o,23sep94,hdn  deleted _sysBootType, sysRegSet(), sysRegGet().		 added jmp instruction in sysInXX() and sysOutXX().01n,28apr94,hdn  made sysReboot() simple.01m,06apr94,hdn  created a processor checking routine sysCpuProbe().		 created the system GDT at GDT_BASE_OFFSET.01l,17feb94,hdn  changed name RAM_ENTRY to RAM_HIGH_ADRS		 changed to put the image in upper memory.01k,27oct93,hdn  added _sysBootType.01j,25aug93,hdn  changed a way to enable A20.01i,12aug93,hdn  added codes to load a user defined global descriptor table.		 made warm start works changing sysReboot().		 deleted sysGDTRSet().01h,09aug93,hdn  added codes to recognize a type of cpu.01g,17jun93,hdn  updated to 5.1.01f,08arp93,jdi  doc cleanup.01e,26mar93,hdn  added sysReg[GS]et, sysGDTRSet. added another sysInit.01d,16oct92,hdn  added Code Descriptors for the nesting interrupt.01c,29sep92,hdn  added i80387 support. deleted __fixdfsi.01b,28aug92,hdn  fixed __fixdfsi temporary.01a,28feb92,hdn  written based on frc386 version.*//*DESCRIPTIONThis module contains system-dependent routines written in assemblylanguage.This module must be the first specified in the \f3ld\f1 command used tobuild the system.  The sysInit() routine is the system start-up code.INTERNALMany routines in this module doesn't use the "c" frame pointer %ebp@ !This is only for the benefit of the stacktrace facility to allow it to properly trace tasks executing within these routines.SEE ALSO: .I "i80386 32-Bit Microprocessor User's Manual"*/#define _ASMLANGUAGE#include "vxWorks.h"#include "asm.h"#include "regs.h"#include "sysLib.h"#include "config.h"        .data	.globl  FUNC(copyright_wind_river)	.long   FUNC(copyright_wind_river)	/* externals */	.globl	FUNC(usrInit)		/* system initialization routine */	.globl	VAR(sysProcessor)	/* initialized to NONE(-1) in sysLib.c */	/* internals */	.globl	sysInit			/* start of system code */	.globl	_sysInit		/* start of system code */	.globl	GTEXT(sysInByte)	.globl	GTEXT(sysInWord)	.globl	GTEXT(sysInLong)	.globl	GTEXT(sysInWordString)	.globl	GTEXT(sysInLongString)	.globl	GTEXT(sysOutByte)	.globl	GTEXT(sysOutWord)	.globl	GTEXT(sysOutLong)	.globl	GTEXT(sysOutWordString)	.globl	GTEXT(sysOutLongString)	.globl	GTEXT(sysReboot)	.globl	GTEXT(sysWait)	.globl	GTEXT(sysCpuProbe)	.globl	GTEXT(sysLoadGdt)	.globl	GTEXT(sysGdtr)	.globl	GTEXT(sysGdt)	.globl  GDATA(sysCsSuper)	/* code selector: supervisor mode */	.globl  GDATA(sysCsExc)		/* code selector: exception */	.globl  GDATA(sysCsInt)		/* code selector: interrupt */	.text	.balign 16/********************************************************************************* sysInit - start after boot** This routine is the system start-up entry point for VxWorks in RAM, the* first code executed after booting.  It disables interrupts, sets up* the stack, and jumps to the C routine usrInit() in usrConfig.c.** The initial stack is set to grow down from the address of sysInit().  This* stack is used only by usrInit() and is never used again.  Memory for the* stack must be accounted for when determining the system load address.** NOTE: This routine should not be called by the user.** RETURNS: N/A* sysInit ()              /@ THIS IS NOT A CALLABLE ROUTINE @/ */sysInit:_sysInit:	cli				/* LOCK INTERRUPT */	movl    $ BOOT_WARM_AUTOBOOT,%ebx /* %ebx has the startType */	movl	$ FUNC(sysInit),%esp	/* initialize stack pointer */	movl	$0,%ebp			/* initialize frame pointer */	ARCH_REGS_INIT			/* initialize DR[0-7] CR[04] EFLAGS */	movl	$ FUNC(sysGdt),%esi	/* set src addr (&sysGdt) */	movl	FUNC(pSysGdt),%edi	/* set dst addr (pSysGdt) */	movl	%edi,%eax	movl	$ GDT_ENTRIES,%ecx	/* number of GDT entries */	movl	%ecx,%edx	shll	$1,%ecx			/* set (nLongs of GDT) to copy */	cld	rep	movsl				/* copy GDT from src to dst */	pushl	%eax			/* push the (GDT base addr) */	shll	$3,%edx			/* get (nBytes of GDT) */	decl	%edx			/* get (nBytes of GDT) - 1 */	shll	$16,%edx		/* move it to the upper 16 */	pushl	%edx			/* push the nBytes of GDT - 1 */	leal	2(%esp),%eax		/* get the addr of (size:addr) */	pushl	%eax			/* push it as a parameter */	call	FUNC(sysLoadGdt)	/* load the brand new GDT in RAM */	pushl	%ebx			/* push the startType */	movl	$ FUNC(usrInit),%eax	movl	$ FUNC(sysInit),%edx	/* push return address */	pushl	%edx			/*   for emulation for call */	pushl	$0			/* push EFLAGS, 0 */	pushl	$0x0008			/* a selector 0x08 is 2nd one */	pushl	%eax			/* push EIP,  FUNC(usrInit) */	iret				/* iret *//********************************************************************************* sysInByte - input one byte from I/O space** RETURNS: Byte data from the I/O port.* UCHAR sysInByte (address)*     int address;	/@ I/O port address @/ */	.balign 16,0x90FUNC_LABEL(sysInByte)	movl	SP_ARG1(%esp),%edx	movl	$0,%eax	inb	%dx,%al	jmp	sysInByte0sysInByte0:	ret/********************************************************************************* sysInWord - input one word from I/O space** RETURNS: Word data from the I/O port.* USHORT sysInWord (address)*     int address;	/@ I/O port address @/ */	.balign 16,0x90FUNC_LABEL(sysInWord)	movl	SP_ARG1(%esp),%edx	movl	$0,%eax	inw	%dx,%ax	jmp	sysInWord0sysInWord0:	ret/********************************************************************************* sysInLong - input one long-word from I/O space** RETURNS: Long-Word data from the I/O port.* USHORT sysInLong (address)*     int address;	/@ I/O port address @/ */	.balign 16,0x90FUNC_LABEL(sysInLong)	movl	SP_ARG1(%esp),%edx	movl	$0,%eax	inl	%dx,%eax	jmp	sysInLong0sysInLong0:	ret/********************************************************************************* sysOutByte - output one byte to I/O space** RETURNS: N/A* void sysOutByte (address, data)*     int address;	/@ I/O port address @/*     char data;	/@ data written to the port @/ */	.balign 16,0x90FUNC_LABEL(sysOutByte)	movl	SP_ARG1(%esp),%edx	movl	SP_ARG2(%esp),%eax	outb	%al,%dx	jmp	sysOutByte0sysOutByte0:	ret/********************************************************************************* sysOutWord - output one word to I/O space** RETURNS: N/A* void sysOutWord (address, data)*     int address;	/@ I/O port address @/*     short data;	/@ data written to the port @/ */	.balign 16,0x90FUNC_LABEL(sysOutWord)	movl	SP_ARG1(%esp),%edx	movl	SP_ARG2(%esp),%eax	outw	%ax,%dx	jmp	sysOutWord0sysOutWord0:	ret/********************************************************************************* sysOutLong - output one long-word to I/O space** RETURNS: N/A* void sysOutLong (address, data)*     int address;	/@ I/O port address @/*     long data;	/@ data written to the port @/ */	.balign 16,0x90FUNC_LABEL(sysOutLong)	movl	SP_ARG1(%esp),%edx	movl	SP_ARG2(%esp),%eax	outl	%eax,%dx	jmp	sysOutLong0sysOutLong0:	ret/********************************************************************************* sysInWordString - input word string from I/O space** RETURNS: N/A* void sysInWordString (port, address, count)*     int port;		/@ I/O port address @/*     short *address;	/@ address of data read from the port @/*     int count;	/@ count @/ */	.balign 16,0x90FUNC_LABEL(sysInWordString)	pushl	%edi	movl	SP_ARG1+4(%esp),%edx	movl	SP_ARG2+4(%esp),%edi	movl	SP_ARG3+4(%esp),%ecx	cld	rep	insw	%dx,(%edi)	movl	%edi,%eax	popl	%edi	ret/********************************************************************************* sysInLongString - input long string from I/O space** RETURNS: N/A* void sysInLongString (port, address, count)*     int port;		/@ I/O port address @/*     long *address;	/@ address of data read from the port @/*     int count;	/@ count @/ */	.balign 16,0x90FUNC_LABEL(sysInLongString)	pushl	%edi	movl	SP_ARG1+4(%esp),%edx	movl	SP_ARG2+4(%esp),%edi	movl	SP_ARG3+4(%esp),%ecx	cld	rep	insl	%dx,(%edi)	movl	%edi,%eax	popl	%edi	ret/********************************************************************************* sysOutWordString - output word string to I/O space** RETURNS: N/A* void sysOutWordString (port, address, count)

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
色狠狠av一区二区三区| 丰满少妇久久久久久久| 51精品秘密在线观看| 亚洲综合免费观看高清完整版在线 | 成人性生交大片免费看视频在线 | 国产农村妇女精品| 成人动漫av在线| 亚洲最新视频在线观看| 欧美日本国产视频| 国产一区二区三区在线观看精品| 欧美经典一区二区| 欧洲精品一区二区三区在线观看| 日韩avvvv在线播放| 久久人人超碰精品| 91豆麻精品91久久久久久| 五月天激情小说综合| 337p日本欧洲亚洲大胆精品| 成人av电影在线| 偷拍与自拍一区| 久久久久久久久蜜桃| 色播五月激情综合网| 激情av综合网| 一二三区精品福利视频| 精品国产乱码久久| 色丁香久综合在线久综合在线观看| 日韩成人av影视| 中文字幕视频一区| 日韩免费视频一区| 色8久久人人97超碰香蕉987| 免费成人在线视频观看| 综合精品久久久| 精品奇米国产一区二区三区| 99久久国产综合精品色伊| 另类人妖一区二区av| 国产精品白丝在线| www久久久久| 欧美日韩大陆一区二区| 成人动漫中文字幕| 精品一区二区三区久久| 一区二区三区四区视频精品免费| 26uuu色噜噜精品一区二区| 91国产视频在线观看| 成人性生交大片免费看中文网站| 日韩国产欧美在线观看| 樱花影视一区二区| 国产精品久久久久天堂| 欧美变态tickle挠乳网站| 欧美午夜电影一区| 99国产精品久| 处破女av一区二区| 精品一区二区三区免费播放| 爽好久久久欧美精品| 亚洲免费在线播放| 国产精品沙发午睡系列990531| 欧美精品一区二区精品网| 欧美日韩高清一区二区三区| 91久久精品一区二区| gogo大胆日本视频一区| 处破女av一区二区| 国产91丝袜在线观看| 国产成人综合在线播放| 麻豆极品一区二区三区| 性做久久久久久免费观看| 一二三四社区欧美黄| 日韩理论片一区二区| 国产精品乱码一区二三区小蝌蚪| 久久伊99综合婷婷久久伊| 精品美女在线观看| 日韩午夜在线观看视频| 欧美一区二区在线免费观看| 欧美日韩精品一区二区三区| 在线视频欧美精品| 精品视频一区 二区 三区| 欧美日韩国产一级| 欧美精品粉嫩高潮一区二区| 91精品国产综合久久婷婷香蕉| 欧美日韩国产小视频在线观看| 一本久道中文字幕精品亚洲嫩| 91丨porny丨在线| 91看片淫黄大片一级在线观看| 91一区二区在线| 91电影在线观看| 欧美美女激情18p| 日韩欧美www| www成人在线观看| 国产精品你懂的在线| 亚洲视频一区二区在线观看| 亚洲女同ⅹxx女同tv| 亚洲福利一二三区| 蜜桃久久久久久| 成人永久aaa| 91久久线看在观草草青青| 欧美精品高清视频| 久久久亚洲午夜电影| 国产精品盗摄一区二区三区| 一区二区三区国产精华| 日韩中文字幕亚洲一区二区va在线| 麻豆精品在线看| 成人国产精品免费观看视频| 欧美午夜在线一二页| 日韩欧美激情一区| 中文字幕一区免费在线观看| 亚洲免费观看高清完整| 性做久久久久久久久| 国产精选一区二区三区| 成人福利在线看| 717成人午夜免费福利电影| 久久久久久久久伊人| 亚洲欧洲综合另类| 麻豆91在线看| 99精品久久久久久| 91精品国产麻豆| 国产精品视频一二| 日韩电影一区二区三区四区| 国产福利一区二区三区| 欧美日韩一级大片网址| 日本一区二区三区在线不卡| 亚洲一区二区三区视频在线播放| 韩国精品主播一区二区在线观看| av不卡在线播放| 欧美成人女星排名| 夜夜亚洲天天久久| 国产不卡在线播放| 91.com视频| 亚洲免费视频中文字幕| 国产精品99久| 69久久99精品久久久久婷婷| 国产精品美女久久久久久久久久久 | 午夜久久久久久久久| 不卡视频在线观看| 欧美xxxxx牲另类人与| 一区二区三区在线观看动漫| 欧美午夜精品电影| 国产欧美精品一区aⅴ影院| 丝袜美腿亚洲综合| 91久久精品网| 国产精品久久久久久久久动漫 | 国产精品一级片| 正在播放一区二区| 亚洲一二三专区| 99精品黄色片免费大全| 久久精品亚洲麻豆av一区二区 | 国产在线精品不卡| 欧美一区二区观看视频| 亚洲国产裸拍裸体视频在线观看乱了| 东方aⅴ免费观看久久av| 久久综合五月天婷婷伊人| 日本在线不卡视频一二三区| 日本韩国欧美一区二区三区| 国产精品久久久久婷婷| 国产精品99久久久久| 精品国产乱码久久久久久免费 | 欧美日韩极品在线观看一区| 日韩一区在线免费观看| 成人小视频免费观看| 久久久亚洲高清| 国产精品白丝av| 久久精品在线免费观看| 国产老妇另类xxxxx| 26uuu色噜噜精品一区二区| 久久99精品久久久久婷婷| 日韩欧美一级特黄在线播放| 日本伊人精品一区二区三区观看方式| 欧美中文字幕久久| 亚洲国产精品影院| 欧美久久高跟鞋激| 三级久久三级久久久| 欧美一区午夜视频在线观看| 天堂久久一区二区三区| 制服丝袜亚洲色图| 免费av成人在线| 精品免费一区二区三区| 韩国午夜理伦三级不卡影院| 久久综合999| 成人午夜短视频| 亚洲视频 欧洲视频| 91成人免费电影| 婷婷久久综合九色综合伊人色| 在线播放中文字幕一区| 美腿丝袜亚洲一区| 久久精品视频一区二区| 不卡欧美aaaaa| 一区二区视频免费在线观看| 欧美探花视频资源| 久久国产福利国产秒拍| 国产女人18毛片水真多成人如厕| 91一区一区三区| 日日夜夜一区二区| 久久久久国产精品麻豆ai换脸 | 欧美精品v日韩精品v韩国精品v| 日韩av一区二区在线影视| 欧美va在线播放| 成人少妇影院yyyy| 亚洲午夜av在线| 精品成人在线观看| 91美女精品福利| 免费成人在线网站| 亚洲国产精华液网站w| 91传媒视频在线播放| 国内外精品视频|