Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!ibmps2!aix!jag From: jag@aix.aix.kingston.ibm.com (Jay Goldberg) Newsgroups: comp.unix.i386 Subject: Re: a bug in u386mon & what is sys3b(2) ??????? Keywords: swap syscall bug Message-ID: <2752@aix.aix.kingston.ibm.com> Date: 20 Jul 90 14:00:09 GMT References: <1990Jul16.231429.1592@scuzzy.uucp> Distribution: comp Organization: IBM Corporation, Kingston NY Lines: 36 In article <1990Jul16.231429.1592@scuzzy.uucp> src@scuzzy.uucp (Heiko Blume) writes: >now for the weird part. i grep'ed around and found which says: [...] >/* The following struct is used by the sys3b system call. [...] >huh?! what system call ? of course that call isn't in any manuals i have >and, needless to say, of course i wrote a little program saying >sys3b(3,&swapinfo), which gave me 'unresolved external' on linking. sys3b(2) is a system call specific to 3b architecture. It allows you to do interesting things to the 3b such as make the green LED flash, determine the CPU ID, etc etc. I run a flavor of 386 UN*X that has has archived in libc.a a function named sysi86() that is a similar interface to the Intel xxx86 line. Check your docs; they (hopefully) tell you what you can make this call do. To find out the functions that are included in a given kernel, you can do some of the following: ar -t libc.a (table of contents of what files are archived in libc) nm libc.a (namelist of symbols defined in libc) nm /unix (namelist of symbols defined in /unix) Hope this helps! TTFN, jag ------ Jay A. Goldberg | Email inside IBM: KGNAIX(JAG) Software Contractor | or jag@aix.aix.kingston.ibm.com Resource One Inc. | Email outside IBM: uunet!ibmsupt!jag Phone: (914) 336 7207 | Phone: (914) 385 3384 or 8+695 3384 ** Who is John Galt? ** > The opinions expressed above are those of the employee, not the Company <