Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Path: blob/master/external/source/unixasm/aix-power-cntsockcode.c
Views: 11766
/*1* aix-power-cntsockcode.c2* Copyright 2008 Ramon de Carvalho Valle <[email protected]>3*4* This library is free software; you can redistribute it and/or5* modify it under the terms of the GNU Lesser General Public6* License as published by the Free Software Foundation; either7* version 2.1 of the License, or (at your option) any later version.8*9* This library is distributed in the hope that it will be useful,10* but WITHOUT ANY WARRANTY; without even the implied warranty of11* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU12* Lesser General Public License for more details.13*14* You should have received a copy of the GNU Lesser General Public15* License along with this library; if not, write to the Free Software16* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA17*18*/1920/*21* Supported AIX versions:22*23* -DAIX614 AIX Version 6.1.424* -DAIX613 AIX Version 6.1.325* -DAIX612 AIX Version 6.1.226* -DAIX611 AIX Version 6.1.127* -DAIX5310 AIX Version 5.3.1028* -DAIX539 AIX Version 5.3.929* -DAIX538 AIX Version 5.3.830* -DAIX537 AIX Version 5.3.731*32*/3334#define CNTSOCKADDR 3235#define CNTSOCKPORT 303637char cntsockcode[]= /* 200 bytes */38"\x7c\xa5\x2a\x79" /* xor. r5,r5,r5 */39"\x40\x82\xff\xfd" /* bnel <cntsockcode> */40"\x7f\xc8\x02\xa6" /* mflr r30 */41"\x3b\xde\x01\xff" /* cal r30,511(r30) */42"\x3b\xde\xfe\x25" /* cal r30,-475(r30) */43"\x7f\xc9\x03\xa6" /* mtctr r30 */44"\x4e\x80\x04\x20" /* bctr */45"\xff\x02\x04\xd2" /* .long 0xff0204d2 */46"\x7f\x00\x00\x01" /* .long 0x7f000001 */47"\x4c\xc6\x33\x42" /* crorc 6,6,6 */48"\x44\xff\xff\x02" /* svca 0 */49"\x3b\xde\xff\xf8" /* cal r30,-8(r30) */50"\x3b\xa0\x07\xff" /* lil r29,2047 */51"\x38\x9d\xf8\x02" /* cal r4,-2046(r29) */52"\x38\x7d\xf8\x03" /* cal r3,-2045(r29) */53#ifdef AIX61454"\x38\x5d\xf8\xf4" /* cal r2,-1804(r29) */55#endif56#ifdef AIX61357"\x38\x5d\xf8\xef" /* cal r2,-1809(r29) */58#endif59#ifdef AIX61260"\x38\x5d\xf8\xef" /* cal r2,-1809(r29) */61#endif62#ifdef AIX61163"\x38\x5d\xf8\xec" /* cal r2,-1812(r29) */64#endif65#ifdef AIX61066"\x38\x5d\xf8\xec" /* cal r2,-1812(r29) */67#endif68#ifdef AIX531069"\x38\x5d\xf8\xda" /* cal r2,-1830(r29) */70#endif71#ifdef AIX53972"\x38\x5d\xf8\xda" /* cal r2,-1830(r29) */73#endif74#ifdef AIX53875"\x38\x5d\xf8\xda" /* cal r2,-1830(r29) */76#endif77#ifdef AIX53778"\x38\x5d\xf8\xda" /* cal r2,-1830(r29) */79#endif8081"\x7f\xc9\x03\xa6" /* mtctr r30 */82"\x4e\x80\x04\x21" /* bctrl */83"\x7c\x7c\x1b\x78" /* mr r28,r3 */84"\x38\xbd\xf8\x11" /* cal r5,-2031(r29) */85"\x38\x9e\xff\xf8" /* cal r4,-8(r30) */86#ifdef AIX61487"\x38\x5d\xf8\xf5" /* cal r2,-1803(r29) */88#endif89#ifdef AIX61390"\x38\x5d\xf8\xf0" /* cal r2,-1808(r29) */91#endif92#ifdef AIX61293"\x38\x5d\xf8\xf0" /* cal r2,-1808(r29) */94#endif95#ifdef AIX61196"\x38\x5d\xf8\xed" /* cal r2,-1811(r29) */97#endif98#ifdef AIX61099"\x38\x5d\xf8\xed" /* cal r2,-1811(r29) */100#endif101#ifdef AIX5310102"\x38\x5d\xf8\xdb" /* cal r2,-1829(r29) */103#endif104#ifdef AIX539105"\x38\x5d\xf8\xdb" /* cal r2,-1829(r29) */106#endif107#ifdef AIX538108"\x38\x5d\xf8\xdb" /* cal r2,-1829(r29) */109#endif110#ifdef AIX537111"\x38\x5d\xf8\xdb" /* cal r2,-1829(r29) */112#endif113114"\x7f\xc9\x03\xa6" /* mtctr r30 */115"\x4e\x80\x04\x21" /* bctrl */116"\x3b\x7d\xf8\x03" /* cal r27,-2045(r29) */117"\x7f\x63\xdb\x78" /* mr r3,r27 */118#ifdef AIX614119"\x38\x5d\xf9\x17" /* cal r2,-1769(r29) */120#endif121#ifdef AIX613122"\x38\x5d\xf9\x11" /* cal r2,-1775(r29) */123#endif124#ifdef AIX612125"\x38\x5d\xf9\x11" /* cal r2,-1775(r29) */126#endif127#ifdef AIX611128"\x38\x5d\xf9\x0e" /* cal r2,-1778(r29) */129#endif130#ifdef AIX610131"\x38\x5d\xf9\x0e" /* cal r2,-1778(r29) */132#endif133#ifdef AIX5310134"\x38\x5d\xf8\xf6" /* cal r2,-1802(r29) */135#endif136#ifdef AIX539137"\x38\x5d\xf8\xf6" /* cal r2,-1802(r29) */138#endif139#ifdef AIX538140"\x38\x5d\xf8\xf6" /* cal r2,-1802(r29) */141#endif142#ifdef AIX537143"\x38\x5d\xf8\xf6" /* cal r2,-1802(r29) */144#endif145146"\x7f\xc9\x03\xa6" /* mtctr r30 */147"\x4e\x80\x04\x21" /* bctrl */148"\x7f\x65\xdb\x78" /* mr r5,r27 */149"\x7c\x84\x22\x78" /* xor r4,r4,r4 */150"\x7f\x83\xe3\x78" /* mr r3,r28 */151#ifdef AIX614152"\x38\x5d\xfa\x93" /* cal r2,-1389(r29) */153#endif154#ifdef AIX613155"\x38\x5d\xfa\x85" /* cal r2,-1403(r29) */156#endif157#ifdef AIX612158"\x38\x5d\xfa\x7c" /* cal r2,-1412(r29) */159#endif160#ifdef AIX611161"\x38\x5d\xfa\x67" /* cal r2,-1433(r29) */162#endif163#ifdef AIX610164"\x38\x5d\xfa\x6a" /* cal r2,-1430(r29) */165#endif166#ifdef AIX5310167"\x38\x5d\xf9\xee" /* cal r2,-1554(r29) */168#endif169#ifdef AIX539170"\x38\x5d\xf9\xee" /* cal r2,-1554(r29) */171#endif172#ifdef AIX538173"\x38\x5d\xf9\xee" /* cal r2,-1554(r29) */174#endif175#ifdef AIX537176"\x38\x5d\xf9\xee" /* cal r2,-1554(r29) */177#endif178179"\x7f\xc9\x03\xa6" /* mtctr r30 */180"\x4e\x80\x04\x21" /* bctrl */181"\x37\x7b\xff\xff" /* ai. r27,r27,-1 */182"\x40\x80\xff\xd4" /* bge <cntsockcode+100> */183"\x7c\xa5\x2a\x79" /* xor. r5,r5,r5 */184"\x40\x82\xff\xfd" /* bnel <cntsockcode+148> */185"\x7f\x08\x02\xa6" /* mflr r24 */186"\x3b\x18\x01\xff" /* cal r24,511(r24) */187"\x38\x78\xfe\x29" /* cal r3,-471(r24) */188"\x98\xb8\xfe\x31" /* stb r5,-463(r24) */189"\x94\xa1\xff\xfc" /* stu r5,-4(r1) */190"\x94\x61\xff\xfc" /* stu r3,-4(r1) */191"\x7c\x24\x0b\x78" /* mr r4,r1 */192#ifdef AIX614193"\x38\x5d\xf8\x08" /* cal r2,-2040(r29) */194#endif195#ifdef AIX613196"\x38\x5d\xf8\x08" /* cal r2,-2040(r29) */197#endif198#ifdef AIX612199"\x38\x5d\xf8\x08" /* cal r2,-2040(r29) */200#endif201#ifdef AIX611202"\x38\x5d\xf8\x08" /* cal r2,-2040(r29) */203#endif204#ifdef AIX610205"\x38\x5d\xf8\x07" /* cal r2,-2041(r29) */206#endif207#ifdef AIX5310208"\x38\x5d\xf8\x07" /* cal r2,-2041(r29) */209#endif210#ifdef AIX539211"\x38\x5d\xf8\x07" /* cal r2,-2041(r29) */212#endif213#ifdef AIX538214"\x38\x5d\xf8\x07" /* cal r2,-2041(r29) */215#endif216#ifdef AIX537217"\x38\x5d\xf8\x07" /* cal r2,-2041(r29) */218#endif219220"\x7f\xc9\x03\xa6" /* mtctr r30 */221"\x4e\x80\x04\x21" /* bctrl */222"/bin/csh"223;224225226227