GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
I386_VM86(2) FreeBSD System Calls Manual I386_VM86(2)

i386_vm86
vm86 ?˴?Ϣ?????ؿ??????椹??

Standard C Library (libc, -lc)

<sys/types.h> <machine/sysarch.h> <machine/vm86.h> int i386_vm86(int function, void *data)

i386_vm86() ?????ƥॳ?????? vm86 ?˴?Ϣ???뤵?ޤ??ޤʴؿ????ƤӽФ??Τ˻??Ѥ??ޤ??? function ?????ϼ????ͤ????? 1 ?ĤˤǤ??ޤ???
?????ͥ??Υץ??????? vm86 ?ѥ??᡼???ΰ??????????????ץ??????? vm86 ?ƤӽФ??? ?Ǥ????褦?ˤ??ޤ??? data ?????ϼ??ι?¤?Τ??ؤ??ޤ???
struct vm86_init_args {
        int     debug;
        int     cpu_type;
        u_char  int_map[32];
};
    

debug ?????ϥǥХå??????ɤ򥪥??ˤ??뤿???˻??Ѥ????ޤ??? cpu_type ?????ϥ??ߥ??졼?????Υ????פ? CPU ?????椹?????ΤǤ????? ???????Ǥϼ????????Ƥ??ޤ????? int_map ?????ϡ?vm86 ???????ߤ? vm86 ?⡼?ɤǽ???????ɬ?פ????뤫???ޤ??ϥץ??????? ȿ?Ǥ????ᤵ????ɬ?פ????뤫?ɤ????????ꤹ???ӥåȥޥåפǤ??? N ?֤? ?ΥӥåȤ????ꤵ???Ƥ??????硢???????ߤϥץ???????ȿ?Ǥ????ޤ??? ?????Ǥʤ????硢 vm86 ???????ߥơ??֥??ˤ??äƥǥ????ѥå??????ޤ???

?ץ??????? vm86 ???????ߥϥ??ɥ????ƤӽФ????褦?ˤ??ޤ??? ?????ϸ???Ū?? INT ̿???򥷥ߥ??졼?Ȥ??ޤ??? data ?ϲ????ι?¤?Τ??ؤ??????Ƥ????٤??Ǥ?:
struct vm86_intcall_args {
       int     intnum;
       struct  vm86frame vmf;
};
    

intnum ?ϥ??ߥ??졼?Ȥ??줿?ƤӽФ??Τ????? INT ?Υ??ڥ????ɤ????ꤷ?ޤ??? ?㤨?С??? 0x10 ?? VGA BIOS ?ؤθƤӽФ??Τ????ˤ褯???Ѥ????ޤ??? vmf ?ϳ??????ߥϥ??ɥ??Τ????θƤӽФ??????˽??äơ?CPU ?Υ쥸?????? ?????????뤿???˻??Ѥ????ޤ???

Pentium(r) ?ץ????å??? VME (???? 8086 ?⡼?ɳ?ĥ) ?ե饰 ?Ǥ??? CR4 ?? ?ӥå? 0 ?θ??ߤξ??֤??????Ф??????˻??Ѥ????ޤ??? data ?ϲ??????ؤ??????褦?˽????????????٤??Ǥ?:
struct vm86_vme_args {
       int     state;                  /* ???? */
};
    

state ?????????? VME ?ե饰?ξ??֤??????ޤ???

vm86 ?⡼?ɤ??????ˤϡ?vm86 ?Ѥ??????????ꤷ???ޥ??󥳥??ƥ????ȡ??????? PSL_VM ?ӥåȤ????ꤷ?? sigreturn(2) ???ƤӽФ??ޤ??? ?????ʥ????ۿ????????椬?ץ????????????ޤ???

The i386_vm86() function returns the value 0 if successful; otherwise the value -1 is returned and the global variable errno is set to indicate the error.

i386_vm86() ?????ƥॳ?????ϼ??ξ????˼??Ԥ??ޤ?:
[EINVAL]
?????ͥ??? vm86 ???ݡ??Ȥ??ʤ??????ޤ???̵???ʴؿ??????ꤵ???ޤ?????
[ENOMEM]
?????ͥ??ǡ?????¤?Τ????????????Τ˽?ʬ?ʥ????꤬?????ޤ?????

???Υޥ˥奢???ڡ????? Jonathan Lemon ???񤭡? Bruce M Simpson ?????????ޤ?????
July 27, 1998 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 2 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.