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

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

?? com32.inc

?? linux內核
?? INC
字號:
;; $Id$;; -----------------------------------------------------------------------;;   ;;   Copyright 1994-2003 H. Peter Anvin - All Rights Reserved;;;;   This program is free software; you can redistribute it and/or modify;;   it under the terms of the GNU General Public License as published by;;   the Free Software Foundation, Inc., 53 Temple Place Ste 330,;;   Boston MA 02111-1307, USA; either version 2 of the License, or;;   (at your option) any later version; incorporated herein by reference.;;;; -----------------------------------------------------------------------;;;; com32.inc;;;; Common code for running a COM32 image;;;; Load a COM32 image.  A COM32 image is the 32-bit analogue to a DOS; .com file.  A COM32 image is loaded at address 0x101000, with %esp; set to the high end of usable memory.;; A COM32 image should begin with the magic bytes:; B8 FF 4C CD 21, which is "mov eax,0x21cd4cff" in 32-bit mode and; "mov ax,0x4cff; int 0x21" in 16-bit mode.  This will abort the; program with an error if run in 16-bit mode.;pm_idt:		equ 0x100000pm_entry:	equ 0x101000		bits 16		section .data		align 2, db 0com32_pmidt:		dw 8*256		; Limit		dd pm_idt		; Addresscom32_rmidt:		dw 0ffffh		; Limit		dd 0			; Address		section .textis_com32_image:		push si			; Save file handle		push dx			; File length held in DX:AX		push ax		call make_plain_cmdline		; Copy the command line into the low cmdline buffer		mov ax,real_mode_seg		mov fs,ax		mov si,cmd_line_here		mov di,command_line		mov cx,[CmdLinePtr]		inc cx			; Include final null		sub cx,si		fs rep movsb		call highmemsize	; We need the high memory size...		call comboot_setup_api	; Set up the COMBOOT-style API		mov edi,pm_entry	; Load address		pop eax			; File length		pop si			; File handle		xor dx,dx		; No padding		call load_high		call crlfcom32_start:		mov ebx,com32_call_start	; Where to go in PMcom32_enter_pm:		cli		mov ax,cs		mov ds,ax		mov [SavedSSSP],sp		mov [SavedSSSP+2],ss		cld		call a20_test		jnz .a20ok		call enable_a20.a20ok:		lgdt [bcopy_gdt]	; We can use the same GDT just fine		lidt [com32_pmidt]	; Set up the IDT		mov eax,cr0		or al,1		mov cr0,eax		; Enter protected mode		jmp 20h:.in_pm				bits 32.in_pm:		xor eax,eax		; Available for future use...		mov fs,eax		mov gs,eax		mov al,28h		; Set up data segments		mov es,eax		mov ds,eax		mov ss,eax		mov esp,[PMESP]		; Load protmode %esp if available		jmp ebx			; Go to where we need to go;; This is invoked right before the actually starting the COM32; progam, in 32-bit mode...;com32_call_start:		;		; Point the stack to the end of high memory		;		mov esp,[word HighMemSize]		;		; Set up the protmode IDT and the interrupt jump buffers		; We set these up in the system area at 0x100000,		; but we could also put them beyond the stack.		;		mov edi,pm_idt		; Form an interrupt gate descriptor		mov eax,0x00200000+((pm_idt+8*256)&0x0000ffff)		mov ebx,0x0000ee00+((pm_idt+8*256)&0xffff0000)		xor ecx,ecx		inc ch				; ecx <- 256		push ecx.make_idt:		stosd		add eax,8		xchg eax,ebx		stosd		xchg eax,ebx		loop .make_idt		pop ecx		; Each entry in the interrupt jump buffer contains		; the following instructions:		;		; 00000000 60                pushad		; 00000001 B0xx              mov al,<interrupt#>		; 00000003 E9xxxxxxxx        jmp com32_handle_interrupt		mov eax,0e900b060h		mov ebx,com32_handle_interrupt-(pm_idt+8*256+8).make_ijb:		stosd		sub [edi-2],cl			; Interrupt #		xchg eax,ebx		stosd		sub eax,8		xchg eax,ebx		loop .make_ijb		; Now everything is set up for interrupts...		push dword com32_farcall	; Farcall entry point		push dword (1 << 16)		; 64K bounce buffer		push dword (comboot_seg << 4)	; Bounce buffer address		push dword com32_intcall	; Intcall entry point		push dword command_line		; Command line pointer		push dword 5			; Argument count		sti				; Interrupts OK now		call pm_entry			; Run the program...		; ... on return, fall through to com32_exit ...com32_exit:		mov bx,com32_done	; Return to command loopcom32_enter_rm:		cli		cld		mov [PMESP],esp		; Save exit %esp		xor esp,esp		; Make sure the high bits are zero		jmp 08h:.in_pm16	; Return to 16-bit mode first		bits 16.in_pm16:		mov ax,18h		; Real-mode-like segment		mov es,ax		mov ds,ax		mov ss,ax		mov fs,ax		mov gs,ax		lidt [com32_rmidt]	; Real-mode IDT (rm needs no GDT)		mov eax,cr0		and al,~1		mov cr0,eax		jmp 0:.in_rm.in_rm:					; Back in real mode		mov ax,cs		; Set up sane segments		mov ds,ax		mov es,ax		mov fs,ax		mov gs,ax		lss sp,[SavedSSSP]	; Restore stack		jmp bx			; Go to whereever we need to go...com32_done:		call disable_a20		sti		jmp enter_command;; 16-bit support code;		bits 16;; 16-bit interrupt-handling code;com32_int_rm:		pushf				; Flags on stack		push cs				; Return segment		push word .cont			; Return address		push dword edx			; Segment:offset of IVT entry		retf				; Invoke IVT routine.cont:		; ... on resume ...		mov ebx,com32_int_resume		jmp com32_enter_pm		; Go back to PM;; 16-bit system call handling code;com32_sys_rm:		pop gs		pop fs		pop es		pop ds		popad		popfd		mov [cs:Com32SysSP],sp		retf				; Invoke routine.return:		; We clean up SP here because we don't know if the		; routine returned with RET, RETF or IRET		mov sp,[cs:Com32SysSP]		pushfd		pushad		push ds		push es		push fs		push gs		mov ebx,com32_sys_resume		jmp com32_enter_pm;; 32-bit support code;		bits 32;; This is invoked on getting an interrupt in protected mode.  At; this point, we need to context-switch to real mode and invoke; the interrupt routine.;; When this gets invoked, the registers are saved on the stack and; AL contains the register number.;com32_handle_interrupt:		movzx eax,al		xor ebx,ebx		; Actually makes the code smaller		mov edx,[ebx+eax*4]	; Get the segment:offset of the routine		mov bx,com32_int_rm		jmp com32_enter_rm	; Go to real modecom32_int_resume:		popad		iret;; Intcall/farcall invocation.  We manifest a structure on the real-mode stack,; containing the com32sys_t structure from <com32.h> as well as; the following entries (from low to high address):; - Target offset; - Target segment; - Return offset; - Return segment (== real mode cs == 0); - Return flags;com32_farcall:		pushfd				; Save IF among other things...		pushad				; We only need to save some, but...		mov eax,[esp+10*4]		; CS:IP		jmp com32_syscallcom32_intcall:		pushfd				; Save IF among other things...		pushad				; We only need to save some, but...		movzx eax,byte [esp+10*4]	; INT number		mov eax,[eax*4]			; Get CS:IP from low memorycom32_syscall:		cld		movzx edi,word [word SavedSSSP]		movzx ebx,word [word SavedSSSP+2]		sub edi,54		; Allocate 54 bytes		mov [word SavedSSSP],di		shl ebx,4		add edi,ebx		; Create linear address		mov esi,[esp+11*4]	; Source regs		xor ecx,ecx		mov cl,11		; 44 bytes to copy		rep movsd		; EAX is already set up to be CS:IP		stosd			; Save in stack frame		mov eax,com32_sys_rm.return	; Return seg:offs		stosd			; Save in stack frame		mov eax,[edi-12]	; Return flags		and eax,0x200cd7	; Mask (potentially) unsafe flags		mov [edi-12],eax	; Primary flags entry		stosw			; Return flags		mov bx,com32_sys_rm		jmp com32_enter_rm	; Go to real mode		; On return, the 44-byte return structure is on the		; real-mode stack, plus the 10 additional bytes used		; by the target address (see above.)com32_sys_resume:		movzx esi,word [word SavedSSSP]		movzx eax,word [word SavedSSSP+2]		mov edi,[esp+12*4]	; Dest regs		shl eax,4		add esi,eax		; Create linear address		and edi,edi		; NULL pointer?		jnz .do_copy.no_copy:	mov edi,esi		; Do a dummy copy-to-self.do_copy:	xor ecx,ecx		mov cl,11		; 44 bytes		rep movsd		; Copy register block		add dword [word SavedSSSP],54	; Remove from stack		popad		popfd		ret			; Return to 32-bit program		bits 16		section .bss		alignb 4PMESP		resd 1			; Protected-mode ESPCom32SysSP	resw 1			; SP saved during COM32 syscall		section .text

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美岛国在线观看| 中文字幕一区二区三区四区不卡| 欧美精品一区二区三区久久久 | 日产欧产美韩系列久久99| 国产一区二区三区四| 欧美美女喷水视频| 亚洲同性gay激情无套| 久久99久久精品| 欧美日韩国产三级| 亚洲精品水蜜桃| 国产精品一区在线| 精品久久久久久久久久久院品网| 亚洲男女毛片无遮挡| 成人网在线免费视频| 日韩丝袜美女视频| 亚洲高清一区二区三区| 色综合色综合色综合色综合色综合 | 欧美韩国日本综合| 激情综合色丁香一区二区| 欧美色区777第一页| 亚洲天堂2016| aa级大片欧美| 亚洲欧美一区二区三区久本道91| 成人免费黄色大片| 欧美国产精品劲爆| 丁香激情综合五月| 中文一区二区完整视频在线观看| 国内精品在线播放| 久久久影视传媒| 国内精品伊人久久久久影院对白| 日韩精品一区二区三区四区| 男人的天堂亚洲一区| 在线综合+亚洲+欧美中文字幕| 午夜婷婷国产麻豆精品| 欧美日韩欧美一区二区| 日韩国产精品大片| 精品欧美一区二区久久| 国产揄拍国内精品对白| 国产亚洲精品aa| 成人亚洲精品久久久久软件| 亚洲国产精品传媒在线观看| 99久久婷婷国产| 亚洲激情欧美激情| 91精品国产一区二区三区香蕉| 日日摸夜夜添夜夜添国产精品| 欧美日韩国产三级| 九九久久精品视频| 欧美韩日一区二区三区| 色综合久久久久久久| 亚洲一二三级电影| 日韩视频一区二区三区| 国内精品久久久久影院一蜜桃| 国产丝袜美腿一区二区三区| av不卡在线观看| 视频一区二区欧美| 久久久国产精品午夜一区ai换脸| 成人夜色视频网站在线观看| 一区二区三区四区在线免费观看| 欧美日韩一区二区电影| 久久99精品网久久| 亚洲免费观看在线视频| 777午夜精品免费视频| 国产精品影视网| 一区二区三区中文字幕精品精品| 宅男在线国产精品| 99久久伊人久久99| 亚洲成人激情综合网| 久久久久久久久伊人| 色噜噜夜夜夜综合网| 久久国产精品一区二区| 1024成人网| 欧美成人女星排行榜| 91麻豆免费视频| 国模一区二区三区白浆| 一区2区3区在线看| 国产婷婷一区二区| 欧美久久一二区| 99久久精品免费看国产| 久久99久久99小草精品免视看| 亚洲黄一区二区三区| 久久久99久久| 7777精品伊人久久久大香线蕉完整版 | 国产成人在线免费观看| 天天射综合影视| 亚洲欧洲日本在线| 久久久一区二区三区| 欧美日韩不卡一区二区| av亚洲精华国产精华| 麻豆一区二区99久久久久| 一区二区免费看| 欧美激情中文不卡| 精品999在线播放| 欧美日韩精品一区二区三区 | 国产一区二区三区视频在线播放| 亚洲午夜激情网站| 亚洲人午夜精品天堂一二香蕉| 亚洲精品一区在线观看| 宅男在线国产精品| 欧美日韩一区国产| 色老汉av一区二区三区| 99re在线视频这里只有精品| 国产成人精品三级麻豆| 国产专区欧美精品| 久久成人麻豆午夜电影| 日本欧洲一区二区| 三级一区在线视频先锋 | 久久精品一级爱片| 日韩女优av电影在线观看| 91麻豆精品91久久久久同性| 欧美四级电影在线观看| 色女孩综合影院| 色哟哟精品一区| 色狠狠色噜噜噜综合网| 色噜噜狠狠一区二区三区果冻| 色综合一区二区| 一本色道久久综合狠狠躁的推荐 | 麻豆一区二区三| 蜜桃一区二区三区在线| 美女精品自拍一二三四| 免费在线观看视频一区| 蜜臀av性久久久久蜜臀av麻豆| 午夜精品福利一区二区蜜股av| 亚洲伊人色欲综合网| 午夜精品一区二区三区三上悠亚 | 亚洲情趣在线观看| 亚洲精品国产视频| 亚洲一卡二卡三卡四卡无卡久久 | 免费在线观看视频一区| 久久精品国产亚洲高清剧情介绍| 蜜臀a∨国产成人精品| 狠狠色狠狠色综合| 国产乱子伦视频一区二区三区| 激情伊人五月天久久综合| 大桥未久av一区二区三区中文| 99视频一区二区| 欧美三级日韩三级国产三级| 日韩一二在线观看| 久久综合99re88久久爱| 亚洲欧洲成人av每日更新| 亚洲精品国产一区二区三区四区在线| 亚洲一区二区三区美女| 紧缚奴在线一区二区三区| 不卡av电影在线播放| 在线播放日韩导航| 久久精品人人做人人爽人人| 亚洲私人黄色宅男| 日韩av在线免费观看不卡| 国产高清无密码一区二区三区| 91色九色蝌蚪| 日韩一区二区影院| 国产精品久久久久永久免费观看 | 日韩毛片精品高清免费| 亚洲成人精品一区二区| 国产精品18久久久久| 欧美四级电影网| 国产日韩欧美激情| 视频一区二区三区在线| 顶级嫩模精品视频在线看| 精品视频在线视频| 国产欧美视频在线观看| 首页综合国产亚洲丝袜| 高清在线观看日韩| 欧美一区二区播放| 亚洲欧洲日韩一区二区三区| 另类综合日韩欧美亚洲| 日本韩国一区二区三区视频| 精品国产乱码久久久久久牛牛| 亚洲精品午夜久久久| 国产剧情一区二区三区| 欧美一区二区三区日韩| 亚洲人成精品久久久久| 国产成人av自拍| 日韩欧美色综合网站| 亚洲综合丁香婷婷六月香| 成人av影视在线观看| 精品国产乱码久久久久久牛牛| 亚洲第一狼人社区| 色综合久久综合中文综合网| 欧美精品一区二区三| 日本亚洲欧美天堂免费| 欧美视频在线一区二区三区| 18成人在线观看| 成人高清免费在线播放| 国产午夜精品在线观看| 激情综合色综合久久| 欧美一区二区在线视频| 亚洲午夜私人影院| 在线视频欧美区| 亚洲精品午夜久久久| 91免费视频网| 亚洲视频中文字幕| 不卡的av电影在线观看| 中文字幕一区二区三区四区 | 欧美日韩黄视频| 亚洲一区二区三区免费视频| 在线观看日韩电影| 亚洲伊人色欲综合网| 色狠狠色狠狠综合| 亚洲永久免费av| 欧美日韩情趣电影|