|
|
|
|
|
|
|
|
µð¹ÙÀ̽º
µå¶óÀ̹ö´Â ·Îµå °¡´ÉÇÑ(loadable) Ä¿³Î ¸ðµâµé·Î¼ I/O¸¦
´ã´çÇÏ´Â O/SÀÇ ¸ðµâ(Áï, I/O Manager)°ú ÁÖº¯ Çϵå¿þ¾î(H/W)
»çÀÌ¿¡ ÀÎÅÍÆäÀ̽º¸¦ Ã¥ÀÓÁø´Ù. |
|
|
|
|
|
O/S
¶Ç´Â CPU°¡ Á¦°øÇÏ´Â º¸È£ ¸ðµå ±ÔÁ¤¿¡ ¸Â°Ô Resource¸¦ Access¸¦
ÇؾßÇÑ´Ù.
User ApplicationÀº IO port¸¦ Á÷Á¢ Access ÇÒ
¼ö ¾øÀ¸¸ç, Memory ¿µ¿ªµµ Á¦ÇÑ ÀûÀ¸·Î 2G(0x7FFFFFF)
ÀÌÇÏÀÇ ¿µ¿ª¸¸À» »ç¿ëÇØ¾ß ÇÑ´Ù. |
|
int
val = _inp(0x61);
val |= 3;
_outp(0x61, val); // º¸È£¸ðµå ±ÔÁ¤ À§¹Ý
char
*p;
p = (char *) 0x90000000;
*p = ¡®a¡¯; // º¸È£¸ðµå ±ÔÁ¤ À§¹Ý
|
|
|
|
|
|
|
µð¹ÙÀ̽º
µå¶óÀ̹ö´Â O/S Á¾¼ÓÀûÀ̹ǷΠ¸ÕÀú O/SÀÇ Á¾·ù¸¦ º¸¸é Å©°Ô Windows
2000 °è¿°ú Consumer
Windows
°è¿·Î ³ª´©¾î º¼ ¼ö ÀÖ°í Windows
2000 °è¿¿¡´Â ÇöÀç Windows 2000°ú Windows
XP, Windows 2003¸¦ Æ÷ÇÔ
ÇÒ ¼ö ÀÖ´Ù. ±×¸®°í Consumer
Windows °è¿¿¡´Â Windows 95, Windows
98, Millennium Edition À» Æ÷ÇÔ ½Ãų
¼ö ÀÖ´Ù.
ÀÌ·¯ÇÑ O/SÀÇ ºÐ·ù¿¡ µû¶ó À̵é O/S¸¦ ±â¹ÝÀ¸·Î ½ÇÇàµÇ´Â µå¶óÀ̹ö¸¦
Å©°Ô µÎ ŸÀÔ VxD ¿Í WDM·Î º¼ ¼ö ÀÖ´Ù.
Consumer Windows
°è¿¿¡¼´Â ÁÖ·Î VxD ŸÀÔÀÇ µå¶óÀ̹ö¸¦ »ç¿ëÇÏ°í Windows
2000 °è¿¿¡¼´Â WMD ŸÀÔÀÇ
µå¶óÀ̹ö¸¦ »ç¿ëÇÑ´Ù.
±×¸®°í Âü°í·Î Consumer
Windows °è¿Áß¿¡¼ Windows 98°ú Millenninum
EditionÀº WDM ŸÀÔÀÇ µå¶óÀ̹öµµ
Áö¿øÇÑ´Ù. ¶ÇÇÑ Windows NT 4.0ÀÎ °æ¿ì´Â VxD¿Í WDM°ú
¶Ç ´Ù¸¥ Çü½ÄÀÎ Kernel Driver ŸÀÔÀ» »ç¿ëÇÑ´Ù. »ç½Ç
Kernel Driver ŸÀÔÀ» ±â¹ÝÀ¸·Î ÇÏ¿© PnP(Plug and
Play), Power Management, WMI(Windows
Management Intrumentation)¿Í°°Àº ±â´ÉµéÀÌ Ãß°¡ÀûÀ¸·Î
´õ Áö¿øµÇ´Â Çü½ÄÀÌ WDM ŸÀÔÀÌ´Ù.
|
|
|
|
|
V
: Virtual
x : Device
D : Driver ÀÇ ¾àÀÚ·Î, °¡»óÀåÄ¡°ü¸®ÀÚ¶ó°í Çؼ®ÇÒ
¼ö ÀÖÀ¸¸ç À̶§, x´Â DeviceÀÇ ÇÑ Á¾·ù·Î¼ KeyBoard ¶Ç´Â
Mouse°°Àº
¿©·¯ ÁÖº¯ ÀåÄ¡°¡ µÉ ¼ö ÀÖ´Ù. ±×¸®°í ÀÌ Å¸ÀÔÀÇ µå¶óÀ̹öµéÀº ¾Õ¿¡¼µµ
¾ð±ÞÇÏ¿´Áö¸¸ ÁÖ·Î
Consumer
Windows°è¿ (Windows 95, Windows 98, Windows
Millennium Edition)¿¡¼ »ç¿ëÇÏ´Â µå¶ó
À̹ö TypeÀ»ÀÏÄ´´Ù. |
|
|
|
|
Windows
Driver Model ÀÇ ¾àÀÚ·Î, ¸¶ÀÌÅ©·Î¼ÒÇÁÆ®¿¡¼ Driver °³¹ßÀ»
Ç¥ÁØȽÃÅ°°í ȣȯ¼ºÀ» °¡Áö°Ô Çϱâ
À§ÇØ ¸¸µç µå¶óÀ̹ö ¸ðµ¨ÀÌ´Ù. WDM ŸÀÔÀÇ µå¶óÀ̹ö¸¦ Á¦ÀÛÇϸé WDM
µå¶óÀ̹ö ¸ðµ¨À» Áö¿øÇÏ´Â Wind-
ows 98, Windows Millennium Edition, Windows
2000, Windows XP, Windows 2003 ¿¡¼ ¼Ò½ºÄÚµå
·¹º§
¿¡¼ ȣȯÀÌ µÇ¹Ç·Î ´Ù¸¥ O/S·ÎÀÇ Æ÷ÆÃÀÛ¾÷Àº Æ÷ÆÃÇÏ°íÀÚÇÏ´Â O/SÀÇ
°³¹ß ȯ°æ¿¡¼ Àç ÄÄÆÄÀÏÇϴ°͸¸·Îµµ
ÀÌ·ç¾î Áú ¼ö ÀÖ´Ù. |
|
|
|
|
Windows
Driver FoundationÀÇ ¾àÀÚ·Î, WDMÀÇ ´ÜÁ¡À» º¸¿ÏÇÑ »õ·Î¿î
µå¶óÀ̹ö °³¹ß ¸ðµ¨ÀÌ´Ù.
Windows 2000, Windows XP, Windows 2003À»
Æ÷ÇÔÇÏ¿© ÇâÈÄ Ãâ½ÃµÉ codename Longhorn¿¡¼µµ
äÅÃµÉ °ÍÀ¸·Î º¸ÀδÙ. |
|
|
|
|
WDMÀÇ
µå¶óÀ̹öµéÀº ±× ¿ªÇÒ¿¡ µû¶ó Å©°Ô 3Á¾·ùÀÇ µå¶óÀ̹öµé·Î ºÐ·ùÇÒ ¼ö ÀÖ´Ù.
ù°, Bus µå¶óÀ̹ö·Î¼ PCI, PCMCIA, USBµî°ú °°Àº Physical
bus ¶Ç´Â ³í¸®Àû bus¿¡
Á¸ÀçÇÏ´Â
ÀåÄ¡(devices)ÀÇ Á¸À縦 °¨ÁöÇÏ°í, PnP Manager¿¡°Ô ÀåÄ¡ÀÇ
Á¸À縦
¾Ë·ÁÁÖ¸ç,
ÇØ´ç BusÀÇ Power °ü¸®¸¦ Ã¥ÀÓÁö´Â ¿ªÇÒÀ» ¼öÇàÇÑ´Ù.
µÑ°, Function µå¶óÀ̹ö·Î¼ ÇØ´ç ÀåÄ¡¿¡ ´ëÇÑ I/O ¿äûÀ»
¼öÇàÇÏ°í, PnP,Power °ü¸®µµ
Ã¥ÀÓÀ»
Áø´Ù.
¼Â°, Filter
µå¶óÀ̹ö·Î¼ ÀϹÝÀûÀ¸·Î Function µå¶óÀ̹öÀÇ À§(Upper
Filter)¶Ç´Â
¾Æ·¡(Lower
Filter) °èÃþ¿¡ À§Ä¡ÇÏ¿© H/W ¶Ç´Â Functionµå¶óÀ̹öÀÇ
±â´É º¸¿Ï
¿ªÇÒÀ»
¼öÇàÇÑ´Ù.
|
|
|
|
|
|
|
|
|
|
|
|