taglinefilesource code
code275kernel/exit.cvolatile void do_exit(long code)
code294kernel/exit.ccurrent->exit_code = code;
code58kernel/math/ea.cchar * ea(struct info * info, unsigned short code)
code64kernel/math/ea.cmod = (code >> 6) & 3;
code65kernel/math/ea.crm = code & 7;
code19kernel/math/get_put.cstruct info * info, unsigned short code)
code24kernel/math/get_put.caddr = ea(info,code);
code30kernel/math/get_put.cstruct info * info, unsigned short code)
code35kernel/math/get_put.caddr = ea(info,code);
code42kernel/math/get_put.cstruct info * info, unsigned short code)
code46kernel/math/get_put.caddr = ea(info,code);
code53kernel/math/get_put.cstruct info * info, unsigned short code)
code58kernel/math/get_put.caddr = ea(info,code);
code67kernel/math/get_put.cstruct info * info, unsigned short code)
code72kernel/math/get_put.caddr = ea(info,code);
code81kernel/math/get_put.cstruct info * info, unsigned short code)
code86kernel/math/get_put.caddr = ea(info,code);
code110kernel/math/get_put.cvoid get_BCD(temp_real * tmp, struct info * info, unsigned short code)
code117kernel/math/get_put.caddr = ea(info,code);
code132kernel/math/get_put.cstruct info * info, unsigned short code)
code137kernel/math/get_put.caddr = ea(info,code);
code144kernel/math/get_put.cstruct info * info, unsigned short code)
code149kernel/math/get_put.caddr = ea(info,code);
code157kernel/math/get_put.cstruct info * info, unsigned short code)
code161kernel/math/get_put.caddr = ea(info,code);
code169kernel/math/get_put.cstruct info * info, unsigned short code)
code174kernel/math/get_put.caddr = ea(info,code);
code183kernel/math/get_put.cstruct info * info, unsigned short code)
code188kernel/math/get_put.caddr = ea(info,code);
code197kernel/math/get_put.cstruct info * info, unsigned short code)
code202kernel/math/get_put.caddr = ea(info,code);
code219kernel/math/get_put.cvoid put_BCD(const temp_real * tmp,struct info * info, unsigned short code)
code226kernel/math/get_put.caddr = ea(info,code);
code58kernel/math/math_emulate.cunsigned short code;
code72kernel/math/math_emulate.ccode = get_fs_word((unsigned short *) EIP);
code73kernel/math/math_emulate.cbswapw(code);
code74kernel/math/math_emulate.ccode &= 0x7ff;
code77kernel/math/math_emulate.c*(1+(unsigned short *) &I387.fcs) = code;
code79kernel/math/math_emulate.cswitch (code) {
code135kernel/math/math_emulate.cprintk("%04x fxxx not implemented\n\r",code + 0xd800);
code165kernel/math/math_emulate.cswitch (code >> 3) {
code167kernel/math/math_emulate.cfadd(PST(0),PST(code & 7),&tmp);
code171kernel/math/math_emulate.cfmul(PST(0),PST(code & 7),&tmp);
code175kernel/math/math_emulate.cfcom(PST(code & 7),&tmp);
code179kernel/math/math_emulate.cfcom(PST(code & 7),&tmp);
code184kernel/math/math_emulate.creal_to_real(&ST(code & 7),&tmp);
code191kernel/math/math_emulate.cfadd(PST(0),PST(code & 7),&tmp);
code195kernel/math/math_emulate.cfdiv(PST(0),PST(code & 7),&tmp);
code199kernel/math/math_emulate.cfdiv(PST(code & 7),PST(0),&tmp);
code204kernel/math/math_emulate.cST(0) = ST((code & 7)+1);
code207kernel/math/math_emulate.cfxchg(&ST(0),&ST(code & 7));
code210kernel/math/math_emulate.cST(code & 7) = ST(0);
code214kernel/math/math_emulate.cfadd(PST(0),PST(code & 7),&tmp);
code215kernel/math/math_emulate.creal_to_real(&tmp,&ST(code & 7));
code218kernel/math/math_emulate.cfmul(PST(0),PST(code & 7),&tmp);
code219kernel/math/math_emulate.creal_to_real(&tmp,&ST(code & 7));
code222kernel/math/math_emulate.cfcom(PST(code & 7),PST(0));
code225kernel/math/math_emulate.cfcom(PST(code & 7),PST(0));
code229kernel/math/math_emulate.cST(code & 7).exponent ^= 0x8000;
code230kernel/math/math_emulate.cfadd(PST(0),PST(code & 7),&tmp);
code231kernel/math/math_emulate.creal_to_real(&tmp,&ST(code & 7));
code236kernel/math/math_emulate.cfadd(PST(code & 7),&tmp,&tmp);
code237kernel/math/math_emulate.creal_to_real(&tmp,&ST(code & 7));
code240kernel/math/math_emulate.cfdiv(PST(0),PST(code & 7),&tmp);
code241kernel/math/math_emulate.creal_to_real(&tmp,&ST(code & 7));
code244kernel/math/math_emulate.cfdiv(PST(code & 7),PST(0),&tmp);
code245kernel/math/math_emulate.creal_to_real(&tmp,&ST(code & 7));
code251kernel/math/math_emulate.cfxchg(&ST(0),&ST(code & 7));
code254kernel/math/math_emulate.cST(code & 7) = ST(0);
code257kernel/math/math_emulate.cST(code & 7) = ST(0);
code261kernel/math/math_emulate.cfucom(PST(code & 7),PST(0));
code264kernel/math/math_emulate.cfucom(PST(code & 7),PST(0));
code268kernel/math/math_emulate.cfadd(PST(code & 7),PST(0),&tmp);
code269kernel/math/math_emulate.creal_to_real(&tmp,&ST(code & 7));
code273kernel/math/math_emulate.cfmul(PST(code & 7),PST(0),&tmp);
code274kernel/math/math_emulate.creal_to_real(&tmp,&ST(code & 7));
code278kernel/math/math_emulate.cfcom(PST(code & 7),PST(0));
code282kernel/math/math_emulate.cST(code & 7).exponent ^= 0x8000;
code283kernel/math/math_emulate.cfadd(PST(0),PST(code & 7),&tmp);
code284kernel/math/math_emulate.creal_to_real(&tmp,&ST(code & 7));
code290kernel/math/math_emulate.cfadd(PST(code & 7),&tmp,&tmp);
code291kernel/math/math_emulate.creal_to_real(&tmp,&ST(code & 7));
code295kernel/math/math_emulate.cfdiv(PST(0),PST(code & 7),&tmp);
code296kernel/math/math_emulate.creal_to_real(&tmp,&ST(code & 7));
code300kernel/math/math_emulate.cfdiv(PST(code & 7),PST(0),&tmp);
code301kernel/math/math_emulate.creal_to_real(&tmp,&ST(code & 7));
code310kernel/math/math_emulate.cfxchg(&ST(0),&ST(code & 7));
code314kernel/math/math_emulate.cST(code & 7) = ST(0);
code318kernel/math/math_emulate.cswitch ((code>>3) & 0xe7) {
code320kernel/math/math_emulate.cput_short_real(PST(0),info,code);
code323kernel/math/math_emulate.cput_short_real(PST(0),info,code);
code327kernel/math/math_emulate.caddress = ea(info,code);
code328kernel/math/math_emulate.cfor (code = 0 ; code < 7 ; code++) {
code329kernel/math/math_emulate.c((long *) & I387)[code] =
code335kernel/math/math_emulate.caddress = ea(info,code);
code340kernel/math/math_emulate.caddress = ea(info,code);
code342kernel/math/math_emulate.cfor (code = 0 ; code < 7 ; code++) {
code343kernel/math/math_emulate.cput_fs_long( ((long *) & I387)[code],
code349kernel/math/math_emulate.caddress = ea(info,code);
code354kernel/math/math_emulate.cput_long_int(PST(0),info,code);
code357kernel/math/math_emulate.cput_long_int(PST(0),info,code);
code362kernel/math/math_emulate.cget_temp_real(&tmp,info,code);
code366kernel/math/math_emulate.cput_temp_real(PST(0),info,code);
code370kernel/math/math_emulate.cput_long_real(PST(0),info,code);
code373kernel/math/math_emulate.cput_long_real(PST(0),info,code);
code377kernel/math/math_emulate.caddress = ea(info,code);
code378kernel/math/math_emulate.cfor (code = 0 ; code < 27 ; code++) {
code379kernel/math/math_emulate.c((long *) & I387)[code] =
code385kernel/math/math_emulate.caddress = ea(info,code);
code387kernel/math/math_emulate.cfor (code = 0 ; code < 27 ; code++) {
code388kernel/math/math_emulate.cput_fs_long( ((long *) & I387)[code],
code397kernel/math/math_emulate.caddress = ea(info,code);
code402kernel/math/math_emulate.cput_short_int(PST(0),info,code);
code405kernel/math/math_emulate.cput_short_int(PST(0),info,code);
code410kernel/math/math_emulate.cget_BCD(&tmp,info,code);
code415kernel/math/math_emulate.cget_longlong_int(&tmp,info,code);
code419kernel/math/math_emulate.cput_BCD(PST(0),info,code);
code423kernel/math/math_emulate.cput_longlong_int(PST(0),info,code);
code427kernel/math/math_emulate.cswitch (code >> 9) {
code429kernel/math/math_emulate.cget_short_real(&tmp,info,code);
code432kernel/math/math_emulate.cget_long_int(&tmp,info,code);
code435kernel/math/math_emulate.cget_long_real(&tmp,info,code);
code438kernel/math/math_emulate.cget_short_int(&tmp,info,code);
code440kernel/math/math_emulate.cswitch ((code>>3) & 0x27) {
code475kernel/math/math_emulate.cif ((code & 0x138) == 0x100) {
code480kernel/math/math_emulate.cprintk("Unknown math-insns: %04x:%08x %04x\n\r",CS,EIP,code);