File:main.c - ikarishinjieva/unixV6-code-analyze-chs GitHub Wiki

Source

1500 #

1501 #include "../param.h"

1502 #include "../user.h"

1503 #include "../systm.h"

1504 #include "../proc.h"

1505 #include "../text.h"

1506 #include "../inode.h"

1507 #include "../seg.h"

1508

1509 #define CLOCK1 0177546

1510 #define CLOCK2 0172540

1511 /*

1512  * Icode is the octal bootstrap

1513  * program executed in user mode

1514  * to bring up the system.

1515  */

1516 int icode[]

1517 {

1518     0104413, /* sys exec; init; initp */

1519     0000014,

1520     0000010, /* br . */

1521     0000777, /* initp: init; 0 */

1522     0000014,

1523     0000000,

1524     0062457, /* init: */

1525     0061564,

1526     0064457,

1527     0064556,

1528     0000164,

1529 };

  • ๅ‚็œ‹ LIONS ไปฃ็ ๅˆ†ๆž
1530 /* ------------------------- */
โš ๏ธ **GitHub.com Fallback** โš ๏ธ