BOOK.PS
资源名称:os_source.zip [点击查看]
上传用户:datang2001
上传日期:2007-02-01
资源大小:53269k
文件大小:2328k
源码类别:
操作系统开发
开发平台:
C/C++
- (src/kernel/system.c)798 2034 A
- 1170 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 1350 V
- (14700)210 648 A
- 1026(/*)S
- (This)168 1152 A
- (task)168 1362 A
- (handles)294 1572 A
- (the)126 1908 A
- (interface)378 2076 A
- (between)294 2496 A
- (file)168 2832 A
- (system)252 3042 A
- (and)126 3336 A
- (kernel)252 3504 A
- 3798(as)S
- (well)168 3924 A
- 4134(as)S
- 1440 V
- (14701)210 648 A
- 1068(*)S
- (between)294 1152 A
- (memory)252 1488 A
- (manager)294 1782 A
- (and)126 2118 A
- (kernel.)294 2286 A
- (System)252 2664 A
- (services)336 2958 A
- (are)126 3336 A
- (obtained)336 3504 A
- 3882(by)S
- (sending)294 4008 A
- 1530 V
- (14702)210 648 A
- 1068(*)S
- (sys_task())420 1152 A
- 1614(a)S
- (message)294 1698 A
- (specifying)420 2034 A
- (what)168 2496 A
- 2706(is)S
- (needed.)294 2832 A
- 3210(To)S
- (make)168 3336 A
- (life)168 3546 A
- (easier)252 3756 A
- (for)126 4050 A
- 1620 V
- (14703)210 648 A
- 1068(*)S
- 1152(MM)S
- (and)126 1278 A
- (FS,)126 1446 A
- 1614(a)S
- (library)294 1698 A
- 2034(is)S
- (provided)336 2160 A
- (with)168 2538 A
- (routines)336 2748 A
- (whose)210 3126 A
- (names)210 3378 A
- (are)126 3630 A
- 3798(of)S
- (the)126 3924 A
- 1710 V
- (14704)210 648 A
- 1068(*)S
- (form)168 1152 A
- (sys_xxx,)336 1362 A
- (e.g.)168 1740 A
- (sys_xit)294 1950 A
- (sends)210 2286 A
- (the)126 2538 A
- (SYS_XIT)294 2706 A
- (message)294 3042 A
- 3378(to)S
- (sys_task.)378 3504 A
- (The)126 3966 A
- 1800 V
- (14705)210 648 A
- 1068(*)S
- (message)294 1152 A
- (types)210 1488 A
- (and)126 1740 A
- (parameters)420 1908 A
- (are:)168 2370 A
- 1890 V
- (14706)210 648 A
- 1068(*)S
- 1980 V
- (14707)210 648 A
- 1068(*)S
- (SYS_FORK)336 1236 A
- (informs)294 1740 A
- (kernel)252 2076 A
- (that)168 2370 A
- 2580(a)S
- (process)294 2664 A
- (has)126 3000 A
- (forked)252 3168 A
- 2070 V
- (14708)210 648 A
- 1068(*)S
- (SYS_NEWMAP)420 1236 A
- (allows)252 1740 A
- 2034(MM)S
- 2160(to)S
- (set)126 2286 A
- 2454(up)S
- 2580(a)S
- (process)294 2664 A
- (memory)252 3000 A
- (map)126 3294 A
- 2160 V
- (14709)210 648 A
- 1068(*)S
- (SYS_GETMAP)420 1236 A
- (allows)252 1740 A
- 2034(MM)S
- 2160(to)S
- (get)126 2286 A
- 2454(a)S
- (process')336 2538 A
- (memory)252 2916 A
- (map)126 3210 A
- 2250 V
- (14710)210 648 A
- 1068(*)S
- (SYS_EXEC)336 1236 A
- (sets)168 1740 A
- (program)294 1950 A
- (counter)294 2286 A
- (and)126 2622 A
- (stack)210 2790 A
- (pointer)294 3042 A
- (after)210 3378 A
- (EXEC)168 3630 A
- 2340 V
- (14711)210 648 A
- 1068(*)S
- (SYS_XIT)294 1236 A
- (informs)294 1740 A
- (kernel)252 2076 A
- (that)168 2370 A
- 2580(a)S
- (process)294 2664 A
- (has)126 3000 A
- (exited)252 3168 A
- 2430 V
- (14712)210 648 A
- 1068(*)S
- (SYS_GETSP)378 1236 A
- (caller)252 1740 A
- (wants)210 2034 A
- 2286(to)S
- (read)168 2412 A
- (out)126 2622 A
- (some)168 2790 A
- (process')336 3000 A
- (stack)210 3378 A
- (pointer)294 3630 A
- 2520 V
- (14713)210 648 A
- 1068(*)S
- (SYS_TIMES)378 1236 A
- (caller)252 1740 A
- (wants)210 2034 A
- 2286(to)S
- (get)126 2412 A
- (accounting)420 2580 A
- (times)210 3042 A
- (for)126 3294 A
- 3462(a)S
- (process)294 3546 A
- 2610 V
- (14714)210 648 A
- 1068(*)S
- (SYS_ABORT)378 1236 A
- 1740(MM)S
- 1866(or)S
- 1992(FS)S
- (cannot)252 2118 A
- 2412(go)S
- (on;)126 2538 A
- (abort)210 2706 A
- (MINIX)210 2958 A
- 2700 V
- (14715)210 648 A
- 1068(*)S
- (SYS_FRESH)378 1236 A
- (start)210 1740 A
- (with)168 1992 A
- 2202(a)S
- (fresh)210 2286 A
- (process)294 2538 A
- (image)210 2874 A
- (during)252 3126 A
- (EXEC)168 3420 A
- ((68000)252 3630 A
- (only))210 3924 A
- 2790 V
- (14716)210 648 A
- 1068(*)S
- (SYS_SENDSIG)462 1236 A
- (send)168 1740 A
- 1950(a)S
- (signal)252 2034 A
- 2328(to)S
- 2454(a)S
- (process)294 2538 A
- ((POSIX)252 2874 A
- (style))252 3168 A
- 2880 V
- (14717)210 648 A
- 1068(*)S
- (SYS_SIGRETURN)546 1236 A
- (complete)336 1824 A
- (POSIX-style)462 2202 A
- (signalling)420 2706 A
- 2970 V
- (14718)210 648 A
- 1068(*)S
- (SYS_KILL)336 1236 A
- (cause)210 1740 A
- 1992(a)S
- (signal)252 2076 A
- 2370(to)S
- 2496(be)S
- (sent)168 2622 A
- (via)126 2832 A
- 3000(MM)S
- 3060 V
- (14719)210 648 A
- 1068(*)S
- (SYS_ENDSIG)420 1236 A
- (finish)252 1740 A
- 2034(up)S
- (after)210 2160 A
- (SYS_KILL-type)546 2412 A
- (signal)252 3000 A
- 3150 V
- (14720)210 648 A
- 1068(*)S
- (SYS_COPY)336 1236 A
- (request)294 1740 A
- 2076(a)S
- (block)210 2160 A
- 2412(of)S
- (data)168 2538 A
- 2748(to)S
- 2874(be)S
- (copied)252 3000 A
- (between)294 3294 A
- (processes)378 3630 A
- 3240 V
- (14721)210 648 A
- 1068(*)S
- (SYS_VCOPY)378 1236 A
- (request)294 1740 A
- 2076(a)S
- (series)252 2160 A
- 2454(of)S
- (data)168 2580 A
- (blocks)252 2790 A
- 3084(to)S
- 3210(be)S
- (copied)252 3336 A
- (between)294 3630 A
- (procs)210 3966 A
- 3330 V
- (14722)210 648 A
- 1068(*)S
- (SYS_GBOOT)378 1236 A
- (copies)252 1740 A
- (the)126 2034 A
- (boot)168 2202 A
- (parameters)420 2412 A
- 2874(to)S
- 3000(a)S
- (process)294 3084 A
- 3420 V
- (14723)210 648 A
- 1068(*)S
- (SYS_MEM)294 1236 A
- (returns)294 1740 A
- (the)126 2076 A
- (next)168 2244 A
- (free)168 2454 A
- (chunk)210 2664 A
- 2916(of)S
- (physical)336 3042 A
- (memory)252 3420 A
- 3510 V
- (14724)210 648 A
- 1068(*)S
- (SYS_UMAP)336 1236 A
- (compute)294 1740 A
- (the)126 2076 A
- (physical)336 2244 A
- (address)294 2622 A
- (for)126 2958 A
- 3126(a)S
- (given)210 3210 A
- (virtual)294 3462 A
- (address)294 3798 A
- 3600 V
- (14725)210 648 A
- 1068(*)S
- (SYS_TRACE)378 1236 A
- (request)294 1740 A
- 2076(a)S
- (trace)210 2160 A
- (operation)378 2412 A
- 3690 V
- (14726)210 648 A
- 1068(*)S
- 3780 V
- (14727)210 648 A
- 1068(*)S
- (Message)294 1152 A
- (types)210 1488 A
- (and)126 1740 A
- (parameters:)462 1908 A
- 3870 V
- (14728)210 648 A
- 1068(*)S
- 3960 V
- (14729)210 648 A
- 1068(*)S
- (m_type)252 1278 A
- (PROC1)210 1824 A
- (PROC2)210 2244 A
- (PID)126 2706 A
- (MEM_PTR)294 3042 A
- 4050 V
- (14730)210 648 A
- 1068(*)S
- (------------------------------------------------------)2268 1152 A
- 4140 V
- (14731)210 648 A
- 1068(*)S
- 1152(|)S
- (SYS_FORK)336 1236 A
- 1698(|)S
- (parent)252 1782 A
- 2118(|)S
- (child)210 2244 A
- 2538(|)S
- (pid)126 2706 A
- 2958(|)S
- 3378(|)S
- 4230 V
- (14732)210 648 A
- 1068(*)S
- (|------------+---------+---------+---------+---------|)2268 1152 A
- 4320 V
- (14733)210 648 A
- 1068(*)S
- 1152(|)S
- (SYS_NEWMAP)420 1236 A
- 1698(|)S
- (proc)168 1782 A
- 1992(nr)S
- 2118(|)S
- 2538(|)S
- 2958(|)S
- (map)126 3042 A
- (ptr)126 3210 A
- 3378(|)S
- 4410 V
- (14734)210 648 A
- 1068(*)S
- (|------------+---------+---------+---------+---------|)2268 1152 A
- 4500 V
- (14735)210 648 A
- 1068(*)S
- 1152(|)S
- (SYS_EXEC)336 1236 A
- 1698(|)S
- (proc)168 1782 A
- 1992(nr)S
- 2118(|)S
- (traced)252 2202 A
- 2538(|)S
- (new)126 2622 A
- 2790(sp)S
- 2958(|)S
- 3378(|)S
- 4590 V
- (14736)210 648 A
- 1068(*)S
- (|------------+---------+---------+---------+---------|)2268 1152 A
- 4680 V
- (14737)210 648 A
- 1068(*)S
- 1152(|)S
- (SYS_XIT)294 1236 A
- 1698(|)S
- (parent)252 1782 A
- 2118(|)S
- (exitee)252 2202 A
- 2538(|)S
- 2958(|)S
- 3378(|)S
- 4770 V
- (14738)210 648 A
- 1068(*)S
- (|------------+---------+---------+---------+---------|)2268 1152 A
- 4860 V
- (14739)210 648 A
- 1068(*)S
- 1152(|)S
- (SYS_GETSP)378 1236 A
- 1698(|)S
- (proc)168 1782 A
- 1992(nr)S
- 2118(|)S
- 2538(|)S
- 2958(|)S
- 3378(|)S
- 4950 V
- (14740)210 648 A
- 1068(*)S
- (|------------+---------+---------+---------+---------|)2268 1152 A
- 5040 V
- (14741)210 648 A
- 1068(*)S
- 1152(|)S
- (SYS_TIMES)378 1236 A
- 1698(|)S
- (proc)168 1782 A
- 1992(nr)S
- 2118(|)S
- 2538(|)S
- (buf)126 2622 A
- (ptr)126 2790 A
- 2958(|)S
- 3378(|)S
- 5130 V
- (14742)210 648 A
- 1068(*)S
- (|------------+---------+---------+---------+---------|)2268 1152 A
- 5220 V
- (14743)210 648 A
- 1068(*)S
- 1152(|)S
- (SYS_ABORT)378 1236 A
- 1698(|)S
- 2118(|)S
- 2538(|)S
- 2958(|)S
- 3378(|)S
- 5310 V
- (14744)210 648 A
- 1068(*)S
- (|------------+---------+---------+---------+---------|)2268 1152 A
- 5400 V
- (14745)210 648 A
- 1068(*)S
- 1152(|)S
- (SYS_FRESH)378 1236 A
- 1698(|)S
- (proc)168 1782 A
- 1992(nr)S
- 2118(|)S
- (data_cl)294 2202 A
- 2538(|)S
- 2958(|)S
- 3378(|)S
- 5490 V
- (14746)210 648 A
- 1068(*)S
- (|------------+---------+---------+---------+---------|)2268 1152 A
- 5580 V
- (14747)210 648 A
- 1068(*)S
- 1152(|)S
- (SYS_GBOOT)378 1236 A
- 1698(|)S
- (proc)168 1782 A
- 1992(nr)S
- 2118(|)S
- 2538(|)S
- 2958(|)S
- (bootptr)294 3042 A
- 3378(|)S
- 5670 V
- (14748)210 648 A
- 1068(*)S
- (|------------+---------+---------+---------+---------|)2268 1152 A
- 5760 V
- (14749)210 648 A
- 1068(*)S
- 1152(|)S
- (SYS_GETMAP)420 1236 A
- 1698(|)S
- (proc)168 1782 A
- 1992(nr)S
- 2118(|)S
- 2538(|)S
- 2958(|)S
- (map)126 3042 A
- (ptr)126 3210 A
- 3378(|)S
- 5850 V
- (14750)210 648 A
- 1068(*)S
- (------------------------------------------------------)2268 1152 A
- 5940 V
- (14751)210 648 A
- 1068(*)S
- 6030 V
- (14752)210 648 A
- 1068(*)S
- (m_type)252 1278 A
- (m1_i1)210 1950 A
- (m1_i2)210 2370 A
- (m1_i3)210 2790 A
- (m1_p1)210 3294 A
- 6120 V
- (14753)210 648 A
- 1068(*)S
- (----------------+---------+---------+---------+--------------)2562 1152 A
- 6210 V
- (14754)210 648 A
- 1068(*)S
- 1152(|)S
- (SYS_VCOPY)378 1236 A
- 1824(|)S
- (src)126 1950 A
- 2118(p)S
- 2244(|)S
- (dst)126 2370 A
- 2538(p)S
- 2664(|)S
- (vec)126 2748 A
- (siz)126 2916 A
- 3084(|)S
- 3168(vc)S
- (addr)168 3294 A
- 3672(|)S
- 8418 V
- EP
- %%Page: 205 205
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 10 R
- 648(MINIX)S
- 976(SOURCE)S
- 1399(CODE)S
- 11 R
- 1993(File:)S
- 2226(src/kernel/system.c)S
- 12 B
- (205)180 4248 A
- 900 V
- 7 LST
- (14755)210 648 A
- 1068(*)S
- (|---------------+---------+---------+---------+-------------|)2562 1152 A
- 990 V
- (14756)210 648 A
- 1068(*)S
- 1152(|)S
- (SYS_SENDSIG)462 1236 A
- 1824(|)S
- (proc)168 1908 A
- 2118(nr)S
- 2244(|)S
- 2664(|)S
- 3084(|)S
- (smp)126 3168 A
- 3672(|)S
- 1080 V
- (14757)210 648 A
- 1068(*)S
- (|---------------+---------+---------+---------+-------------|)2562 1152 A
- 1170 V
- (14758)210 648 A
- 1068(*)S
- 1152(|)S
- (SYS_SIGRETURN)546 1236 A
- 1824(|)S
- (proc)168 1908 A
- 2118(nr)S
- 2244(|)S
- 2664(|)S
- 3084(|)S
- (scp)126 3168 A
- 3672(|)S
- 1260 V
- (14759)210 648 A
- 1068(*)S
- (|---------------+---------+---------+---------+-------------|)2562 1152 A
- 1350 V
- (14760)210 648 A
- 1068(*)S
- 1152(|)S
- (SYS_ENDSIG)420 1236 A
- 1824(|)S
- (proc)168 1908 A
- 2118(nr)S
- 2244(|)S
- 2664(|)S
- 3084(|)S
- 3672(|)S
- 1440 V
- (14761)210 648 A
- 1068(*)S
- (-------------------------------------------------------------)2562 1152 A
- 1530 V
- (14762)210 648 A
- 1068(*)S
- 1620 V
- (14763)210 648 A
- 1068(*)S
- (m_type)252 1278 A
- (m2_i1)210 1824 A
- (m2_i2)210 2244 A
- (m2_l1)210 2664 A
- (m2_l2)210 3084 A
- 1710 V
- (14764)210 648 A
- 1068(*)S
- (------------------------------------------------------)2268 1152 A
- 1800 V
- (14765)210 648 A
- 1068(*)S
- 1152(|)S
- (SYS_TRACE)378 1236 A
- 1698(|)S
- (proc_nr)294 1782 A
- 2118(|)S
- (request)294 2202 A
- 2538(|)S
- (addr)168 2664 A
- 2958(|)S
- (data)168 3084 A
- 3378(|)S
- 1890 V
- (14766)210 648 A
- 1068(*)S
- (------------------------------------------------------)2268 1152 A
- 1980 V
- (14767)210 648 A
- 1068(*)S
- 2070 V
- (14768)210 648 A
- 1068(*)S
- 2160 V
- (14769)210 648 A
- 1068(*)S
- (m_type)252 1278 A
- (m6_i1)210 1824 A
- (m6_i2)210 2244 A
- (m6_i3)210 2664 A
- (m6_f1)210 3084 A
- 2250 V
- (14770)210 648 A
- 1068(*)S
- (------------------------------------------------------)2268 1152 A
- 2340 V
- (14771)210 648 A
- 1068(*)S
- 1152(|)S
- (SYS_KILL)336 1236 A
- 1698(|)S
- (proc_nr)294 1782 A
- 2160(|)S
- (sig)126 2286 A
- 2580(|)S
- 3000(|)S
- 3420(|)S
- 2430 V
- (14772)210 648 A
- 1068(*)S
- (------------------------------------------------------)2268 1152 A
- 2520 V
- (14773)210 648 A
- 1068(*)S
- 2610 V
- (14774)210 648 A
- 1068(*)S
- 2700 V
- (14775)210 648 A
- 1068(*)S
- (m_type)252 1278 A
- (m5_c1)210 1782 A
- (m5_i1)210 2118 A
- (m5_l1)210 2496 A
- (m5_c2)210 2832 A
- (m5_i2)210 3168 A
- (m5_l2)210 3546 A
- (m5_l3)210 3882 A
- 2790 V
- (14776)210 648 A
- 1068(*)S
- (--------------------------------------------------------------------------)3108 1152 A
- 2880 V
- (14777)210 648 A
- 1068(*)S
- 1152(|)S
- (SYS_COPY)336 1236 A
- (|src)168 1698 A
- (seg|src)294 1908 A
- (proc|src)336 2244 A
- (vir|dst)294 2622 A
- (seg|dst)294 2958 A
- (proc|dst)336 3294 A
- (vir|)168 3672 A
- (byte)168 3882 A
- 4092(ct)S
- 4218(|)S
- 2970 V
- (14778)210 648 A
- 1068(*)S
- (--------------------------------------------------------------------------)3108 1152 A
- 3060 V
- (14779)210 648 A
- 1068(*)S
- 1152(|)S
- (SYS_UMAP)336 1236 A
- 1698(|)S
- (seg)126 1824 A
- (|proc)210 2034 A
- 2286(nr)S
- (|vir)168 2412 A
- (adr|)168 2622 A
- 3084(|)S
- 3462(|)S
- 3798(|)S
- (byte)168 3882 A
- 4092(ct)S
- 4218(|)S
- 3150 V
- (14780)210 648 A
- 1068(*)S
- (--------------------------------------------------------------------------)3108 1152 A
- 3240 V
- (14781)210 648 A
- 1068(*)S
- 3330 V
- (14782)210 648 A
- 1068(*)S
- 3420 V
- (14783)210 648 A
- 1068(*)S
- (m_type)252 1278 A
- (m1_i1)210 1782 A
- (m1_i2)210 2244 A
- (m1_i3)210 2706 A
- 3510 V
- (14784)210 648 A
- 1068(*)S
- (|------------+----------+----------+----------)1932 1152 A
- 3600 V
- (14785)210 648 A
- 1068(*)S
- 1152(|)S
- (SYS_MEM)294 1236 A
- 1698(|)S
- (mem)126 1782 A
- (base)168 1950 A
- 2160(|)S
- (mem)126 2244 A
- (size)168 2412 A
- 2622(|)S
- (tot)126 2706 A
- (mem)126 2874 A
- 3042(|)S
- 3690 V
- (14786)210 648 A
- 1068(*)S
- (----------------------------------------------)1932 1152 A
- 3780 V
- (14787)210 648 A
- 1068(*)S
- 3870 V
- (14788)210 648 A
- 1068(*)S
- 1152(In)S
- (addition)336 1278 A
- 1656(to)S
- (the)126 1782 A
- (main)168 1950 A
- (sys_task())420 2160 A
- (entry)210 2622 A
- (point,)252 2874 A
- (there)210 3168 A
- (are)126 3420 A
- 3588(5)S
- (other)210 3672 A
- (minor)210 3924 A
- 3960 V
- (14789)210 648 A
- 1068(*)S
- (entry)210 1152 A
- (points:)294 1404 A
- 4050 V
- (14790)210 648 A
- 1068(*)S
- (cause_sig:)420 1236 A
- (take)168 1698 A
- (action)252 1908 A
- 2202(to)S
- (cause)210 2328 A
- 2580(a)S
- (signal)252 2664 A
- 2958(to)S
- (occur,)252 3084 A
- (sooner)252 3378 A
- 3672(or)S
- (later)210 3798 A
- 4140 V
- (14791)210 648 A
- 1068(*)S
- (inform:)294 1236 A
- (tell)168 1698 A
- 1908(MM)S
- (about)210 2034 A
- (pending)294 2286 A
- (signals)294 2622 A
- 4230 V
- (14792)210 648 A
- 1068(*)S
- (numap:)252 1236 A
- (umap)168 1698 A
- 1908(D)S
- (segment)294 1992 A
- (starting)336 2328 A
- (from)168 2706 A
- (process)294 2916 A
- (number)252 3252 A
- (instead)294 3546 A
- 3882(of)S
- (pointer)294 4008 A
- 4320 V
- (14793)210 648 A
- 1068(*)S
- (umap:)210 1236 A
- (compute)294 1698 A
- (the)126 2034 A
- (physical)336 2202 A
- (address)294 2580 A
- (for)126 2916 A
- 3084(a)S
- (given)210 3168 A
- (virtual)294 3420 A
- (address)294 3756 A
- 4410 V
- (14794)210 648 A
- 1068(*)S
- (alloc_segments:)630 1236 A
- (allocate)336 1908 A
- (segments)336 2286 A
- (for)126 2664 A
- (8088)168 2832 A
- 3042(or)S
- (higher)252 3168 A
- (processor)378 3462 A
- 4500 V
- (14795)210 648 A
- 1068(*/)S
- 4590 V
- (14796)210 648 A
- 4680 V
- (14797)210 648 A
- (#include)336 1026 A
- ("kernel.h")420 1404 A
- 4770 V
- (14798)210 648 A
- (#include)336 1026 A
- (<signal.h>)420 1404 A
- 4860 V
- (14799)210 648 A
- (#include)336 1026 A
- (<unistd.h>)420 1404 A
- 4950 V
- (14800)210 648 A
- (#include)336 1026 A
- (<sys/sigcontext.h>)756 1404 A
- 5040 V
- (14801)210 648 A
- (#include)336 1026 A
- (<sys/ptrace.h>)588 1404 A
- 5130 V
- (14802)210 648 A
- (#include)336 1026 A
- (<minix/boot.h>)588 1404 A
- 5220 V
- (14803)210 648 A
- (#include)336 1026 A
- (<minix/callnr.h>)672 1404 A
- 5310 V
- (14804)210 648 A
- (#include)336 1026 A
- (<minix/com.h>)546 1404 A
- 5400 V
- (14805)210 648 A
- (#include)336 1026 A
- ("proc.h")336 1404 A
- 5490 V
- (14806)210 648 A
- (#include)336 1026 A
- ("protect.h")462 1404 A
- 5580 V
- (14807)210 648 A
- 5670 V
- (14808)210 648 A
- 1026(/*)S
- (PSW)126 1152 A
- (masks.)252 1320 A
- 1614(*/)S
- 5760 V
- (14809)210 648 A
- (#define)294 1026 A
- (IF_MASK)294 1362 A
- (0x00000200)420 1698 A
- 5850 V
- (14810)210 648 A
- (#define)294 1026 A
- (IOPL_MASK)378 1362 A
- (0x003000)336 1782 A
- 5940 V
- (14811)210 648 A
- 6030 V
- (14812)210 648 A
- (PRIVATE)294 1026 A
- (message)294 1362 A
- 1698(m;)S
- 6120 V
- (14813)210 648 A
- 6210 V
- (14814)210 648 A
- (FORWARD)294 1026 A
- (_PROTOTYPE()462 1362 A
- (int)126 1866 A
- (do_abort,)378 2034 A
- ((message)336 2454 A
- (*m_ptr))294 2832 A
- 3168();)S
- 8418 V
- EP
- %%Page: 206 206
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 12 B
- (206)180 648 A
- 11 R
- 1993(File:)S
- 2226(src/kernel/system.c)S
- 10 R
- 3402(MINIX)S
- 3730(SOURCE)S
- 4153(CODE)S
- 900 V
- 7 LST
- (14815)210 648 A
- (FORWARD)294 1026 A
- (_PROTOTYPE()462 1362 A
- (int)126 1866 A
- (do_copy,)336 2034 A
- ((message)336 2412 A
- (*m_ptr))294 2790 A
- 3126();)S
- 990 V
- (14816)210 648 A
- (FORWARD)294 1026 A
- (_PROTOTYPE()462 1362 A
- (int)126 1866 A
- (do_exec,)336 2034 A
- ((message)336 2412 A
- (*m_ptr))294 2790 A
- 3126();)S
- 1080 V
- (14817)210 648 A
- (FORWARD)294 1026 A
- (_PROTOTYPE()462 1362 A
- (int)126 1866 A
- (do_fork,)336 2034 A
- ((message)336 2412 A
- (*m_ptr))294 2790 A
- 3126();)S
- 1170 V
- (14818)210 648 A
- (FORWARD)294 1026 A
- (_PROTOTYPE()462 1362 A
- (int)126 1866 A
- (do_gboot,)378 2034 A
- ((message)336 2454 A
- (*m_ptr))294 2832 A
- 3168();)S
- 1260 V
- (14819)210 648 A
- (FORWARD)294 1026 A
- (_PROTOTYPE()462 1362 A
- (int)126 1866 A
- (do_getsp,)378 2034 A
- ((message)336 2454 A
- (*m_ptr))294 2832 A
- 3168();)S
- 1350 V
- (14820)210 648 A
- (FORWARD)294 1026 A
- (_PROTOTYPE()462 1362 A
- (int)126 1866 A
- (do_kill,)336 2034 A
- ((message)336 2412 A
- (*m_ptr))294 2790 A
- 3126();)S
- 1440 V
- (14821)210 648 A
- (FORWARD)294 1026 A
- (_PROTOTYPE()462 1362 A
- (int)126 1866 A
- (do_mem,)294 2034 A
- ((message)336 2370 A
- (*m_ptr))294 2748 A
- 3084();)S
- 1530 V
- (14822)210 648 A
- (FORWARD)294 1026 A
- (_PROTOTYPE()462 1362 A
- (int)126 1866 A
- (do_newmap,)420 2034 A
- ((message)336 2496 A
- (*m_ptr))294 2874 A
- 3210();)S
- 1620 V
- (14823)210 648 A
- (FORWARD)294 1026 A
- (_PROTOTYPE()462 1362 A
- (int)126 1866 A
- (do_sendsig,)462 2034 A
- ((message)336 2538 A
- (*m_ptr))294 2916 A
- 3252();)S
- 1710 V
- (14824)210 648 A
- (FORWARD)294 1026 A
- (_PROTOTYPE()462 1362 A
- (int)126 1866 A
- (do_sigreturn,)546 2034 A
- ((message)336 2622 A
- (*m_ptr))294 3000 A
- 3336();)S
- 1800 V
- (14825)210 648 A
- (FORWARD)294 1026 A
- (_PROTOTYPE()462 1362 A
- (int)126 1866 A
- (do_endsig,)420 2034 A
- ((message)336 2496 A
- (*m_ptr))294 2874 A
- 3210();)S
- 1890 V
- (14826)210 648 A
- (FORWARD)294 1026 A
- (_PROTOTYPE()462 1362 A
- (int)126 1866 A
- (do_times,)378 2034 A
- ((message)336 2454 A
- (*m_ptr))294 2832 A
- 3168();)S
- 1980 V
- (14827)210 648 A
- (FORWARD)294 1026 A
- (_PROTOTYPE()462 1362 A
- (int)126 1866 A
- (do_trace,)378 2034 A
- ((message)336 2454 A
- (*m_ptr))294 2832 A
- 3168();)S
- 2070 V
- (14828)210 648 A
- (FORWARD)294 1026 A
- (_PROTOTYPE()462 1362 A
- (int)126 1866 A
- (do_umap,)336 2034 A
- ((message)336 2412 A
- (*m_ptr))294 2790 A
- 3126();)S
- 2160 V
- (14829)210 648 A
- (FORWARD)294 1026 A
- (_PROTOTYPE()462 1362 A
- (int)126 1866 A
- (do_xit,)294 2034 A
- ((message)336 2370 A
- (*m_ptr))294 2748 A
- 3084();)S
- 2250 V
- (14830)210 648 A
- (FORWARD)294 1026 A
- (_PROTOTYPE()462 1362 A
- (int)126 1866 A
- (do_vcopy,)378 2034 A
- ((message)336 2454 A
- (*m_ptr))294 2832 A
- 3168();)S
- 2340 V
- (14831)210 648 A
- (FORWARD)294 1026 A
- (_PROTOTYPE()462 1362 A
- (int)126 1866 A
- (do_getmap,)420 2034 A
- ((message)336 2496 A
- (*m_ptr))294 2874 A
- 3210();)S
- 2430 V
- (14832)210 648 A
- 2520 V
- (14833)210 648 A
- 2610 V
- (14834)210 648 A
- (/*===========================================================================*)3276 1026 A
- 2700 V
- (14835)210 648 A
- 1068(*)S
- (sys_task)336 2370 A
- 4260(*)S
- 2790 V
- (14836)210 648 A
- (*===========================================================================*/)3276 1068 A
- 2880 V
- (14837)210 648 A
- (PUBLIC)252 1026 A
- (void)168 1320 A
- (sys_task())420 1530 A
- 2970 V
- (14838)210 648 A
- 1026({)S
- 3060 V
- (14839)210 648 A
- 1026(/*)S
- (Main)168 1152 A
- (entry)210 1362 A
- (point)210 1614 A
- 1866(of)S
- (sys_task.)378 1992 A
- (Get)126 2454 A
- (the)126 2622 A
- (message)294 2790 A
- (and)126 3126 A
- (dispatch)336 3294 A
- 3672(on)S
- (type.)210 3798 A
- 4050(*/)S
- 3150 V
- (14840)210 648 A
- 3240 V
- (14841)210 648 A
- (register)336 1110 A
- (int)126 1488 A
- 1656(r;)S
- 3330 V
- (14842)210 648 A
- 3420 V
- (14843)210 648 A
- (while)210 1110 A
- ((TRUE))252 1362 A
- 1656({)S
- 3510 V
- (14844)210 648 A
- (receive(ANY,)504 1362 A
- (&m);)168 1908 A
- 3600 V
- (14845)210 648 A
- 3690 V
- (14846)210 648 A
- (switch)252 1362 A
- ((m.m_type))420 1656 A
- 2118({)S
- 2370(/*)S
- (which)210 2496 A
- (system)252 2748 A
- (call)168 3042 A
- 3252(*/)S
- 3780 V
- (14847)210 648 A
- (case)168 1530 A
- (SYS_FORK:)378 1740 A
- 2370(r)S
- 2454(=)S
- (do_fork(&m);)504 2538 A
- (break;)252 3378 A
- 3870 V
- (14848)210 648 A
- (case)168 1530 A
- (SYS_NEWMAP:)462 1740 A
- 2370(r)S
- 2454(=)S
- (do_newmap(&m);)588 2538 A
- (break;)252 3378 A
- 3960 V
- (14849)210 648 A
- (case)168 1530 A
- (SYS_GETMAP:)462 1740 A
- 2370(r)S
- 2454(=)S
- (do_getmap(&m);)588 2538 A
- (break;)252 3378 A
- 4050 V
- (14850)210 648 A
- (case)168 1530 A
- (SYS_EXEC:)378 1740 A
- 2370(r)S
- 2454(=)S
- (do_exec(&m);)504 2538 A
- (break;)252 3378 A
- 4140 V
- (14851)210 648 A
- (case)168 1530 A
- (SYS_XIT:)336 1740 A
- 2370(r)S
- 2454(=)S
- (do_xit(&m);)462 2538 A
- (break;)252 3378 A
- 4230 V
- (14852)210 648 A
- (case)168 1530 A
- (SYS_GETSP:)420 1740 A
- 2370(r)S
- 2454(=)S
- (do_getsp(&m);)546 2538 A
- (break;)252 3378 A
- 4320 V
- (14853)210 648 A
- (case)168 1530 A
- (SYS_TIMES:)420 1740 A
- 2370(r)S
- 2454(=)S
- (do_times(&m);)546 2538 A
- (break;)252 3378 A
- 4410 V
- (14854)210 648 A
- (case)168 1530 A
- (SYS_ABORT:)420 1740 A
- 2370(r)S
- 2454(=)S
- (do_abort(&m);)546 2538 A
- (break;)252 3378 A
- 4500 V
- (14855)210 648 A
- (case)168 1530 A
- (SYS_SENDSIG:)504 1740 A
- 2370(r)S
- 2454(=)S
- (do_sendsig(&m);)630 2538 A
- (break;)252 3378 A
- 4590 V
- (14856)210 648 A
- (case)168 1530 A
- (SYS_SIGRETURN:)588 1740 A
- 2370(r)S
- 2454(=)S
- (do_sigreturn(&m);)714 2538 A
- (break;)252 3378 A
- 4680 V
- (14857)210 648 A
- (case)168 1530 A
- (SYS_KILL:)378 1740 A
- 2370(r)S
- 2454(=)S
- (do_kill(&m);)504 2538 A
- (break;)252 3378 A
- 4770 V
- (14858)210 648 A
- (case)168 1530 A
- (SYS_ENDSIG:)462 1740 A
- 2370(r)S
- 2454(=)S
- (do_endsig(&m);)588 2538 A
- (break;)252 3378 A
- 4860 V
- (14859)210 648 A
- (case)168 1530 A
- (SYS_COPY:)378 1740 A
- 2370(r)S
- 2454(=)S
- (do_copy(&m);)504 2538 A
- (break;)252 3378 A
- 4950 V
- (14860)210 648 A
- (case)168 1530 A
- (SYS_VCOPY:)420 1740 A
- 2370(r)S
- 2454(=)S
- (do_vcopy(&m);)546 2538 A
- (break;)252 3378 A
- 5040 V
- (14861)210 648 A
- (case)168 1530 A
- (SYS_GBOOT:)420 1740 A
- 2370(r)S
- 2454(=)S
- (do_gboot(&m);)546 2538 A
- (break;)252 3378 A
- 5130 V
- (14862)210 648 A
- (case)168 1530 A
- (SYS_MEM:)336 1740 A
- 2370(r)S
- 2454(=)S
- (do_mem(&m);)462 2538 A
- (break;)252 3378 A
- 5220 V
- (14863)210 648 A
- (case)168 1530 A
- (SYS_UMAP:)378 1740 A
- 2370(r)S
- 2454(=)S
- (do_umap(&m);)504 2538 A
- (break;)252 3378 A
- 5310 V
- (14864)210 648 A
- (case)168 1530 A
- (SYS_TRACE:)420 1740 A
- 2370(r)S
- 2454(=)S
- (do_trace(&m);)546 2538 A
- (break;)252 3378 A
- 5400 V
- (14865)210 648 A
- (default:)336 1530 A
- 2370(r)S
- 2454(=)S
- (E_BAD_FCN;)420 2538 A
- 5490 V
- (14866)210 648 A
- 1362(})S
- 5580 V
- (14867)210 648 A
- 5670 V
- (14868)210 648 A
- (m.m_type)336 1362 A
- 1740(=)S
- 1824(r;)S
- 2370(/*)S
- ('r')126 2496 A
- (reports)294 2664 A
- (status)252 3000 A
- 3294(of)S
- (call)168 3420 A
- 3630(*/)S
- 5760 V
- (14869)210 648 A
- (send(m.m_source,)672 1362 A
- (&m);)168 2076 A
- 2370(/*)S
- (send)168 2496 A
- (reply)210 2706 A
- 2958(to)S
- (caller)252 3084 A
- 3378(*/)S
- 5850 V
- (14870)210 648 A
- 1110(})S
- 5940 V
- (14871)210 648 A
- 1026(})S
- 6210 V
- (14874)210 648 A
- (/*===========================================================================*)3276 1026 A
- 8418 V
- EP
- %%Page: 207 207
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 10 R
- 648(MINIX)S
- 976(SOURCE)S
- 1399(CODE)S
- 11 R
- 1993(File:)S
- 2226(src/kernel/system.c)S
- 12 B
- (207)180 4248 A
- 900 V
- 7 LST
- (14875)210 648 A
- 1068(*)S
- (do_fork)294 2370 A
- 4260(*)S
- 990 V
- (14876)210 648 A
- (*===========================================================================*/)3276 1068 A
- 1080 V
- (14877)210 648 A
- (PRIVATE)294 1026 A
- (int)126 1362 A
- (do_fork(m_ptr))588 1530 A
- 1170 V
- (14878)210 648 A
- (register)336 1026 A
- (message)294 1404 A
- (*m_ptr;)294 1740 A
- 2370(/*)S
- (pointer)294 2496 A
- 2832(to)S
- (request)294 2958 A
- (message)294 3294 A
- 3630(*/)S
- 1260 V
- (14879)210 648 A
- 1026({)S
- 1350 V
- (14880)210 648 A
- 1026(/*)S
- (Handle)252 1152 A
- (sys_fork().)462 1446 A
- (m_ptr->PROC1)504 1992 A
- (has)126 2538 A
- (forked.)294 2706 A
- (The)126 3084 A
- (child)210 3252 A
- 3504(is)S
- (m_ptr->PROC2.)546 3630 A
- 4218(*/)S
- 1440 V
- (14881)210 648 A
- 1530 V
- (14882)210 648 A
- (reg_t)210 1110 A
- (old_ldt_sel;)504 1362 A
- 1620 V
- (14883)210 648 A
- (register)336 1110 A
- (struct)252 1488 A
- (proc)168 1782 A
- (*rpc;)210 1992 A
- 1710 V
- (14884)210 648 A
- (struct)252 1110 A
- (proc)168 1404 A
- (*rpp;)210 1614 A
- 1800 V
- (14885)210 648 A
- 1890 V
- (14886)210 648 A
- 1110(if)S
- ((!isoksusern(m_ptr->PROC1))1092 1236 A
- 2370(||)S
- (!isoksusern(m_ptr->PROC2)))1092 2496 A
- 1980 V
- (14887)210 648 A
- (return(E_BAD_PROC);)798 1362 A
- 2070 V
- (14888)210 648 A
- (rpp)126 1110 A
- 1278(=)S
- (proc_addr(m_ptr->PROC1);)1008 1362 A
- 2160 V
- (14889)210 648 A
- (rpc)126 1110 A
- 1278(=)S
- (proc_addr(m_ptr->PROC2);)1008 1362 A
- 2250 V
- (14890)210 648 A
- 2340 V
- (14891)210 648 A
- 1110(/*)S
- (Copy)168 1236 A
- (parent)252 1446 A
- ('proc')252 1740 A
- (struct)252 2034 A
- 2328(to)S
- (child.)252 2454 A
- 2748(*/)S
- 2430 V
- (14892)210 648 A
- (old_ldt_sel)462 1110 A
- 1614(=)S
- (rpc->p_ldt_sel;)630 1698 A
- 2370(/*)S
- (stop)168 2496 A
- (this)168 2706 A
- (being)210 2916 A
- (obliterated)462 3168 A
- 3672(by)S
- (copy)168 3798 A
- 4008(*/)S
- 2520 V
- (14893)210 648 A
- 2610 V
- (14894)210 648 A
- (*rpc)168 1110 A
- 1320(=)S
- (*rpp;)210 1404 A
- 2370(/*)S
- (copy)168 2496 A
- ('proc')252 2706 A
- (struct)252 3000 A
- 3294(*/)S
- 2700 V
- (14895)210 648 A
- 2790 V
- (14896)210 648 A
- (rpc->p_ldt_sel)588 1110 A
- 1740(=)S
- (old_ldt_sel;)504 1824 A
- 2880 V
- (14897)210 648 A
- (rpc->p_nr)378 1110 A
- 1530(=)S
- (m_ptr->PROC2;)546 1614 A
- 2370(/*)S
- (this)168 2496 A
- (was)126 2706 A
- (obliterated)462 2874 A
- 3378(by)S
- (copy)168 3504 A
- 3714(*/)S
- 2970 V
- (14898)210 648 A
- 3060 V
- (14899)210 648 A
- (rpc->p_flags)504 1110 A
- 1656(|=)S
- (NO_MAP;)294 1782 A
- 2370(/*)S
- (inhibit)294 2496 A
- (the)126 2832 A
- (process)294 3000 A
- (from)168 3336 A
- (running)294 3546 A
- 3882(*/)S
- 3150 V
- (14900)210 648 A
- 3240 V
- (14901)210 648 A
- (rpc->p_flags)504 1110 A
- 1656(&=)S
- (304(PENDING)378 1782 A
- 2202(|)S
- (SIG_PENDING)462 2286 A
- 2790(|)S
- (P_STOP);)336 2874 A
- 3330 V
- (14902)210 648 A
- 3420 V
- (14903)210 648 A
- 1110(/*)S
- (Only)168 1236 A
- 1446(1)S
- 1530(in)S
- (group)210 1656 A
- (should)252 1908 A
- (have)168 2202 A
- (PENDING,)336 2412 A
- (child)210 2790 A
- (does)168 3042 A
- (not)126 3252 A
- (inherit)294 3420 A
- (trace)210 3756 A
- (status*/)336 4008 A
- 3510 V
- (14904)210 648 A
- (sigemptyset(&rpc->p_pending);)1218 1110 A
- 3600 V
- (14905)210 648 A
- (rpc->p_pendcount)672 1110 A
- 1824(=)S
- 1908(0;)S
- 3690 V
- (14906)210 648 A
- (rpc->p_pid)420 1110 A
- 1572(=)S
- (m_ptr->PID;)462 1656 A
- 2370(/*)S
- (install)294 2496 A
- (child's)294 2832 A
- (pid)126 3168 A
- 3336(*/)S
- 3780 V
- (14907)210 648 A
- (rpc->p_reg.retreg)714 1110 A
- 1866(=)S
- 1950(0;)S
- 2370(/*)S
- (child)210 2496 A
- (sees)168 2748 A
- (pid)126 2958 A
- 3126(=)S
- 3210(0)S
- 3294(to)S
- (know)168 3420 A
- 3630(it)S
- 3756(is)S
- (child)210 3882 A
- 4134(*/)S
- 3870 V
- (14908)210 648 A
- 3960 V
- (14909)210 648 A
- (rpc->user_time)588 1110 A
- 1740(=)S
- 1824(0;)S
- 2370(/*)S
- (set)126 2496 A
- (all)126 2664 A
- (the)126 2832 A
- (accounting)420 3000 A
- (times)210 3462 A
- 3714(to)S
- 3840(0)S
- 3924(*/)S
- 4050 V
- (14910)210 648 A
- (rpc->sys_time)546 1110 A
- 1698(=)S
- 1782(0;)S
- 4140 V
- (14911)210 648 A
- (rpc->child_utime)672 1110 A
- 1824(=)S
- 1908(0;)S
- 4230 V
- (14912)210 648 A
- (rpc->child_stime)672 1110 A
- 1824(=)S
- 1908(0;)S
- 4320 V
- (14913)210 648 A
- 4410 V
- (14914)210 648 A
- (return(OK);)462 1110 A
- 4500 V
- (14915)210 648 A
- 1026(})S
- 4770 V
- (14918)210 648 A
- (/*===========================================================================*)3276 1026 A
- 4860 V
- (14919)210 648 A
- 1068(*)S
- (do_newmap)378 2370 A
- 4260(*)S
- 4950 V
- (14920)210 648 A
- (*===========================================================================*/)3276 1068 A
- 5040 V
- (14921)210 648 A
- (PRIVATE)294 1026 A
- (int)126 1362 A
- (do_newmap(m_ptr))672 1530 A
- 5130 V
- (14922)210 648 A
- (message)294 1026 A
- (*m_ptr;)294 1362 A
- 2370(/*)S
- (pointer)294 2496 A
- 2832(to)S
- (request)294 2958 A
- (message)294 3294 A
- 3630(*/)S
- 5220 V
- (14923)210 648 A
- 1026({)S
- 5310 V
- (14924)210 648 A
- 1026(/*)S
- (Handle)252 1152 A
- (sys_newmap().)546 1446 A
- (Fetch)210 2076 A
- (the)126 2328 A
- (memory)252 2496 A
- (map)126 2790 A
- (from)168 2958 A
- (MM.)126 3168 A
- 3336(*/)S
- 5400 V
- (14925)210 648 A
- 5490 V
- (14926)210 648 A
- (register)336 1110 A
- (struct)252 1488 A
- (proc)168 1782 A
- (*rp;)168 1992 A
- 5580 V
- (14927)210 648 A
- (phys_bytes)420 1110 A
- (src_phys;)378 1572 A
- 5670 V
- (14928)210 648 A
- (int)126 1110 A
- (caller;)294 1278 A
- 2370(/*)S
- (whose)210 2496 A
- (space)210 2748 A
- (has)126 3000 A
- (the)126 3168 A
- (new)126 3336 A
- (map)126 3504 A
- ((usually)336 3672 A
- (MM))126 4050 A
- 4218(*/)S
- 5760 V
- (14929)210 648 A
- (int)126 1110 A
- 1278(k;)S
- 2370(/*)S
- (process)294 2496 A
- (whose)210 2832 A
- (map)126 3084 A
- 3252(is)S
- 3378(to)S
- 3504(be)S
- (loaded)252 3630 A
- 3924(*/)S
- 5850 V
- (14930)210 648 A
- (int)126 1110 A
- (old_flags;)420 1278 A
- 2370(/*)S
- (value)210 2496 A
- 2748(of)S
- (flags)210 2874 A
- (before)252 3126 A
- (modification)504 3420 A
- 3966(*/)S
- 5940 V
- (14931)210 648 A
- (struct)252 1110 A
- (mem_map)294 1404 A
- (*map_ptr;)378 1740 A
- 2370(/*)S
- (virtual)294 2496 A
- (address)294 2832 A
- 3168(of)S
- (map)126 3294 A
- (inside)252 3462 A
- (caller)252 3756 A
- ((MM))168 4050 A
- 4260(*/)S
- 6030 V
- (14932)210 648 A
- 6120 V
- (14933)210 648 A
- 1110(/*)S
- (Extract)294 1236 A
- (message)294 1572 A
- (parameters)420 1908 A
- (and)126 2370 A
- (copy)168 2538 A
- (new)126 2748 A
- (memory)252 2916 A
- (map)126 3210 A
- (from)168 3378 A
- (MM.)126 3588 A
- 3756(*/)S
- 6210 V
- (14934)210 648 A
- (caller)252 1110 A
- 1404(=)S
- (m_ptr->m_source;)672 1488 A
- 8418 V
- EP
- %%Page: 208 208
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 12 B
- (208)180 648 A
- 11 R
- 1993(File:)S
- 2226(src/kernel/system.c)S
- 10 R
- 3402(MINIX)S
- 3730(SOURCE)S
- 4153(CODE)S
- 900 V
- 7 LST
- (14935)210 648 A
- 1110(k)S
- 1194(=)S
- (m_ptr->PROC1;)546 1278 A
- 990 V
- (14936)210 648 A
- (map_ptr)294 1110 A
- 1446(=)S
- ((struct)294 1530 A
- (mem_map)294 1866 A
- 2202(*))S
- (m_ptr->MEM_PTR;)630 2328 A
- 1080 V
- (14937)210 648 A
- 1110(if)S
- ((!isokprocn(k)))630 1236 A
- (return(E_BAD_PROC);)798 1908 A
- 1170 V
- (14938)210 648 A
- 1110(rp)S
- 1236(=)S
- (proc_addr(k);)546 1320 A
- 2370(/*)S
- (ptr)126 2496 A
- 2664(to)S
- (entry)210 2790 A
- 3042(of)S
- (user)168 3168 A
- (getting)294 3378 A
- (new)126 3714 A
- (map)126 3882 A
- 4050(*/)S
- 1260 V
- (14939)210 648 A
- 1350 V
- (14940)210 648 A
- 1110(/*)S
- (Copy)168 1236 A
- (the)126 1446 A
- (map)126 1614 A
- (from)168 1782 A
- (MM.)126 1992 A
- 2160(*/)S
- 1440 V
- (14941)210 648 A
- (src_phys)336 1110 A
- 1488(=)S
- (umap(proc_addr(caller),)966 1572 A
- 2580(D,)S
- ((vir_bytes))462 2706 A
- (map_ptr,)336 3210 A
- (sizeof(rp->p_map));)798 3588 A
- 1530 V
- (14942)210 648 A
- 1110(if)S
- ((src_phys)378 1236 A
- 1656(==)S
- 1782(0))S
- (panic("bad)420 1908 A
- (call)168 2370 A
- 2580(to)S
- (sys_newmap",)504 2706 A
- (NO_NUM);)336 3252 A
- 1620 V
- (14943)210 648 A
- (phys_copy(src_phys,)798 1110 A
- (vir2phys(rp->p_map),)840 1950 A
- ((phys_bytes))504 2832 A
- (sizeof(rp->p_map));)798 3378 A
- 1710 V
- (14944)210 648 A
- 1800 V
- (14945)210 648 A
- (alloc_segments(rp);)798 1110 A
- 1890 V
- (14946)210 648 A
- (old_flags)378 1110 A
- 1530(=)S
- (rp->p_flags;)504 1614 A
- 2370(/*)S
- (save)168 2496 A
- (the)126 2706 A
- (previous)336 2874 A
- (value)210 3252 A
- 3504(of)S
- (the)126 3630 A
- (flags)210 3798 A
- 4050(*/)S
- 1980 V
- (14947)210 648 A
- (rp->p_flags)462 1110 A
- 1614(&=)S
- (304NO_MAP;)336 1740 A
- 2070 V
- (14948)210 648 A
- 1110(if)S
- ((old_flags)420 1236 A
- 1698(!=)S
- 1824(0)S
- 1908(&&)S
- (rp->p_flags)462 2034 A
- 2538(==)S
- 2664(0))S
- (lock_ready(rp);)630 2790 A
- 2160 V
- (14949)210 648 A
- 2250 V
- (14950)210 648 A
- (return(OK);)462 1110 A
- 2340 V
- (14951)210 648 A
- 1026(})S
- 2610 V
- (14954)210 648 A
- (/*===========================================================================*)3276 1026 A
- 2700 V
- (14955)210 648 A
- 1068(*)S
- (do_getmap)378 2370 A
- 4260(*)S
- 2790 V
- (14956)210 648 A
- (*===========================================================================*/)3276 1068 A
- 2880 V
- (14957)210 648 A
- (PRIVATE)294 1026 A
- (int)126 1362 A
- (do_getmap(m_ptr))672 1530 A
- 2970 V
- (14958)210 648 A
- (message)294 1026 A
- (*m_ptr;)294 1362 A
- 2370(/*)S
- (pointer)294 2496 A
- 2832(to)S
- (request)294 2958 A
- (message)294 3294 A
- 3630(*/)S
- 3060 V
- (14959)210 648 A
- 1026({)S
- 3150 V
- (14960)210 648 A
- 1026(/*)S
- (Handle)252 1152 A
- (sys_getmap().)546 1446 A
- (Report)252 2076 A
- (the)126 2370 A
- (memory)252 2538 A
- (map)126 2832 A
- 3000(to)S
- (MM.)126 3126 A
- 3294(*/)S
- 3240 V
- (14961)210 648 A
- 3330 V
- (14962)210 648 A
- (register)336 1110 A
- (struct)252 1488 A
- (proc)168 1782 A
- (*rp;)168 1992 A
- 3420 V
- (14963)210 648 A
- (phys_bytes)420 1110 A
- (dst_phys;)378 1572 A
- 3510 V
- (14964)210 648 A
- (int)126 1110 A
- (caller;)294 1278 A
- 2370(/*)S
- (where)210 2496 A
- (the)126 2748 A
- (map)126 2916 A
- (has)126 3084 A
- 3252(to)S
- 3378(be)S
- (stored)252 3504 A
- 3798(*/)S
- 3600 V
- (14965)210 648 A
- (int)126 1110 A
- 1278(k;)S
- 2370(/*)S
- (process)294 2496 A
- (whose)210 2832 A
- (map)126 3084 A
- 3252(is)S
- 3378(to)S
- 3504(be)S
- (loaded)252 3630 A
- 3924(*/)S
- 3690 V
- (14966)210 648 A
- (struct)252 1110 A
- (mem_map)294 1404 A
- (*map_ptr;)378 1740 A
- 2370(/*)S
- (virtual)294 2496 A
- (address)294 2832 A
- 3168(of)S
- (map)126 3294 A
- (inside)252 3462 A
- (caller)252 3756 A
- ((MM))168 4050 A
- 4260(*/)S
- 3780 V
- (14967)210 648 A
- 3870 V
- (14968)210 648 A
- 1110(/*)S
- (Extract)294 1236 A
- (message)294 1572 A
- (parameters)420 1908 A
- (and)126 2370 A
- (copy)168 2538 A
- (new)126 2748 A
- (memory)252 2916 A
- (map)126 3210 A
- 3378(to)S
- (MM.)126 3504 A
- 3672(*/)S
- 3960 V
- (14969)210 648 A
- (caller)252 1110 A
- 1404(=)S
- (m_ptr->m_source;)672 1488 A
- 4050 V
- (14970)210 648 A
- 1110(k)S
- 1194(=)S
- (m_ptr->PROC1;)546 1278 A
- 4140 V
- (14971)210 648 A
- (map_ptr)294 1110 A
- 1446(=)S
- ((struct)294 1530 A
- (mem_map)294 1866 A
- 2202(*))S
- (m_ptr->MEM_PTR;)630 2328 A
- 4230 V
- (14972)210 648 A
- 4320 V
- (14973)210 648 A
- 1110(if)S
- ((!isokprocn(k)))630 1236 A
- 4410 V
- (14974)210 648 A
- (panic("do_getmap)672 1362 A
- (got)126 2076 A
- (bad)126 2244 A
- (proc:)210 2412 A
- 2664(",)S
- (m_ptr->PROC1);)588 2790 A
- 4500 V
- (14975)210 648 A
- 4590 V
- (14976)210 648 A
- 1110(rp)S
- 1236(=)S
- (proc_addr(k);)546 1320 A
- 2370(/*)S
- (ptr)126 2496 A
- 2664(to)S
- (entry)210 2790 A
- 3042(of)S
- (the)126 3168 A
- (map)126 3336 A
- 3504(*/)S
- 4680 V
- (14977)210 648 A
- 4770 V
- (14978)210 648 A
- 1110(/*)S
- (Copy)168 1236 A
- (the)126 1446 A
- (map)126 1614 A
- 1782(to)S
- (MM.)126 1908 A
- 2076(*/)S
- 4860 V
- (14979)210 648 A
- (dst_phys)336 1110 A
- 1488(=)S
- (umap(proc_addr(caller),)966 1572 A
- 2580(D,)S
- ((vir_bytes))462 2706 A
- (map_ptr,)336 3210 A
- (sizeof(rp->p_map));)798 3588 A
- 4950 V
- (14980)210 648 A
- 1110(if)S
- ((dst_phys)378 1236 A
- 1656(==)S
- 1782(0))S
- (panic("bad)420 1908 A
- (call)168 2370 A
- 2580(to)S
- (sys_getmap",)504 2706 A
- (NO_NUM);)336 3252 A
- 5040 V
- (14981)210 648 A
- (phys_copy(vir2phys(rp->p_map),)1260 1110 A
- (dst_phys,)378 2412 A
- (sizeof(rp->p_map));)798 2832 A
- 5130 V
- (14982)210 648 A
- 5220 V
- (14983)210 648 A
- (return(OK);)462 1110 A
- 5310 V
- (14984)210 648 A
- 1026(})S
- 5580 V
- (14987)210 648 A
- (/*===========================================================================*)3276 1026 A
- 5670 V
- (14988)210 648 A
- 1068(*)S
- (do_exec)294 2370 A
- 4260(*)S
- 5760 V
- (14989)210 648 A
- (*===========================================================================*/)3276 1068 A
- 5850 V
- (14990)210 648 A
- (PRIVATE)294 1026 A
- (int)126 1362 A
- (do_exec(m_ptr))588 1530 A
- 5940 V
- (14991)210 648 A
- (register)336 1026 A
- (message)294 1404 A
- (*m_ptr;)294 1740 A
- 2370(/*)S
- (pointer)294 2496 A
- 2832(to)S
- (request)294 2958 A
- (message)294 3294 A
- 3630(*/)S
- 6030 V
- (14992)210 648 A
- 1026({)S
- 6120 V
- (14993)210 648 A
- 1026(/*)S
- (Handle)252 1152 A
- (sys_exec().)462 1446 A
- 1992(A)S
- (process)294 2076 A
- (has)126 2412 A
- (done)168 2580 A
- 2790(a)S
- (successful)420 2874 A
- (EXEC.)210 3336 A
- (Patch)210 3588 A
- 3840(it)S
- (up.)126 3966 A
- 4134(*/)S
- 6210 V
- (14994)210 648 A
- 8418 V
- EP
- %%Page: 209 209
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 10 R
- 648(MINIX)S
- 976(SOURCE)S
- 1399(CODE)S
- 11 R
- 1993(File:)S
- 2226(src/kernel/system.c)S
- 12 B
- (209)180 4248 A
- 900 V
- 7 LST
- (14995)210 648 A
- (register)336 1110 A
- (struct)252 1488 A
- (proc)168 1782 A
- (*rp;)168 1992 A
- 990 V
- (14996)210 648 A
- (reg_t)210 1110 A
- (sp;)126 1362 A
- 2370(/*)S
- (new)126 2496 A
- 2664(sp)S
- 2790(*/)S
- 1080 V
- (14997)210 648 A
- (phys_bytes)420 1110 A
- (phys_name;)420 1572 A
- 1170 V
- (14998)210 648 A
- (char)168 1110 A
- (*np;)168 1320 A
- 1260 V
- (14999)210 648 A
- (#define)294 1026 A
- (NLEN)168 1362 A
- ((sizeof(rp->p_name)-1))924 1572 A
- 1350 V
- (15000)210 648 A
- 1440 V
- (15001)210 648 A
- 1110(if)S
- ((!isoksusern(m_ptr->PROC1)))1134 1236 A
- (return)252 2412 A
- (E_BAD_PROC;)462 2706 A
- 1530 V
- (15002)210 648 A
- 1110(/*)S
- (PROC2)210 1236 A
- (field)210 1488 A
- 1740(is)S
- (used)168 1866 A
- 2076(as)S
- (flag)168 2202 A
- 2412(to)S
- (indicate)336 2538 A
- (process)294 2916 A
- 3252(is)S
- (being)210 3378 A
- (traced)252 3630 A
- 3924(*/)S
- 1620 V
- (15003)210 648 A
- 1110(if)S
- ((m_ptr->PROC2))588 1236 A
- (cause_sig(m_ptr->PROC1,)966 1866 A
- (SIGTRAP);)378 2874 A
- 1710 V
- (15004)210 648 A
- 1110(sp)S
- 1236(=)S
- ((reg_t))294 1320 A
- (m_ptr->STACK_PTR;)714 1656 A
- 1800 V
- (15005)210 648 A
- 1110(rp)S
- 1236(=)S
- (proc_addr(m_ptr->PROC1);)1008 1320 A
- 1890 V
- (15006)210 648 A
- (rp->p_reg.sp)504 1110 A
- 1656(=)S
- (sp;)126 1740 A
- 2370(/*)S
- (set)126 2496 A
- (the)126 2664 A
- (stack)210 2832 A
- (pointer)294 3084 A
- 3420(*/)S
- 1980 V
- (15007)210 648 A
- (rp->p_reg.pc)504 1110 A
- 1656(=)S
- ((reg_t))294 1740 A
- (m_ptr->IP_PTR;)588 2076 A
- 2706(/*)S
- (set)126 2832 A
- 3000(pc)S
- 3126(*/)S
- 2070 V
- (15008)210 648 A
- (rp->p_alarm)462 1110 A
- 1614(=)S
- 1698(0;)S
- 2370(/*)S
- (reset)210 2496 A
- (alarm)210 2748 A
- (timer)210 3000 A
- 3252(*/)S
- 2160 V
- (15009)210 648 A
- (rp->p_flags)462 1110 A
- 1614(&=)S
- (304RECEIVING;)462 1740 A
- 2370(/*)S
- 2496(MM)S
- (does)168 2622 A
- (not)126 2832 A
- (reply)210 3000 A
- 3252(to)S
- (EXEC)168 3378 A
- (call)168 3588 A
- 3798(*/)S
- 2250 V
- (15010)210 648 A
- 1110(if)S
- ((rp->p_flags)504 1236 A
- 1782(==)S
- 1908(0))S
- (lock_ready(rp);)630 2034 A
- 2340 V
- (15011)210 648 A
- 2430 V
- (15012)210 648 A
- 1110(/*)S
- (Save)168 1236 A
- (command)294 1446 A
- (name)168 1782 A
- (for)126 1992 A
- (debugging,)420 2160 A
- (ps(1))210 2622 A
- (output,)294 2874 A
- (etc.)168 3210 A
- 3420(*/)S
- 2520 V
- (15013)210 648 A
- (phys_name)378 1110 A
- 1530(=)S
- (numap(m_ptr->m_source,)924 1614 A
- ((vir_bytes))462 2580 A
- (m_ptr->NAME_PTR,)672 3084 A
- 2610 V
- (15014)210 648 A
- ((vir_bytes))462 3378 A
- (NLEN);)252 3882 A
- 2700 V
- (15015)210 648 A
- 1110(if)S
- ((phys_name)420 1236 A
- 1698(!=)S
- 1824(0))S
- 1950({)S
- 2790 V
- (15016)210 648 A
- (phys_copy(phys_name,)840 1362 A
- (vir2phys(rp->p_name),)882 2244 A
- ((phys_bytes))504 3168 A
- (NLEN);)252 3714 A
- 2880 V
- (15017)210 648 A
- (for)126 1362 A
- ((np)126 1530 A
- 1698(=)S
- (rp->p_name;)462 1782 A
- ((*np)168 2286 A
- 2496(&)S
- (BYTE))210 2580 A
- 2832(>=)S
- 2958(')S
- 3042(';)S
- (np++))210 3168 A
- 3420({})S
- 2970 V
- (15018)210 648 A
- (*np)126 1362 A
- 1530(=)S
- 1614(0;)S
- 3060 V
- (15019)210 648 A
- 1110(})S
- 3150 V
- (15020)210 648 A
- (return(OK);)462 1110 A
- 3240 V
- (15021)210 648 A
- 1026(})S
- 3510 V
- (15024)210 648 A
- (/*===========================================================================*)3276 1026 A
- 3600 V
- (15025)210 648 A
- 1068(*)S
- (do_xit)252 2370 A
- 4260(*)S
- 3690 V
- (15026)210 648 A
- (*===========================================================================*/)3276 1068 A
- 3780 V
- (15027)210 648 A
- (PRIVATE)294 1026 A
- (int)126 1362 A
- (do_xit(m_ptr))546 1530 A
- 3870 V
- (15028)210 648 A
- (message)294 1026 A
- (*m_ptr;)294 1362 A
- 2370(/*)S
- (pointer)294 2496 A
- 2832(to)S
- (request)294 2958 A
- (message)294 3294 A
- 3630(*/)S
- 3960 V
- (15029)210 648 A
- 1026({)S
- 4050 V
- (15030)210 648 A
- 1026(/*)S
- (Handle)252 1152 A
- (sys_xit().)420 1446 A
- 1950(A)S
- (process)294 2034 A
- (has)126 2370 A
- (exited.)294 2538 A
- 2874(*/)S
- 4140 V
- (15031)210 648 A
- 4230 V
- (15032)210 648 A
- (register)336 1110 A
- (struct)252 1488 A
- (proc)168 1782 A
- (*rp,)168 1992 A
- (*rc;)168 2202 A
- 4320 V
- (15033)210 648 A
- (struct)252 1110 A
- (proc)168 1404 A
- (*np,)168 1614 A
- (*xp;)168 1824 A
- 4410 V
- (15034)210 648 A
- (int)126 1110 A
- (parent;)294 1278 A
- 2370(/*)S
- (number)252 2496 A
- 2790(of)S
- (exiting)294 2916 A
- (proc's)252 3252 A
- (parent)252 3546 A
- 3840(*/)S
- 4500 V
- (15035)210 648 A
- (int)126 1110 A
- (proc_nr;)336 1278 A
- 2370(/*)S
- (number)252 2496 A
- 2790(of)S
- (process)294 2916 A
- (doing)210 3252 A
- (the)126 3504 A
- (exit)168 3672 A
- 3882(*/)S
- 4590 V
- (15036)210 648 A
- (phys_clicks)462 1110 A
- (base,)210 1614 A
- (size;)210 1866 A
- 4680 V
- (15037)210 648 A
- 4770 V
- (15038)210 648 A
- (parent)252 1110 A
- 1404(=)S
- (m_ptr->PROC1;)546 1488 A
- 2370(/*)S
- (slot)168 2496 A
- (number)252 2706 A
- 3000(of)S
- (parent)252 3126 A
- (process)294 3420 A
- 3756(*/)S
- 4860 V
- (15039)210 648 A
- (proc_nr)294 1110 A
- 1446(=)S
- (m_ptr->PROC2;)546 1530 A
- 2370(/*)S
- (slot)168 2496 A
- (number)252 2706 A
- 3000(of)S
- (exiting)294 3126 A
- (process)294 3462 A
- 3798(*/)S
- 4950 V
- (15040)210 648 A
- 1110(if)S
- ((!isoksusern(parent))840 1236 A
- 2118(||)S
- (!isoksusern(proc_nr)))882 2244 A
- (return(E_BAD_PROC);)798 3168 A
- 5040 V
- (15041)210 648 A
- 1110(rp)S
- 1236(=)S
- (proc_addr(parent);)756 1320 A
- 5130 V
- (15042)210 648 A
- 1110(rc)S
- 1236(=)S
- (proc_addr(proc_nr);)798 1320 A
- 5220 V
- (15043)210 648 A
- (lock();)294 1110 A
- 5310 V
- (15044)210 648 A
- (rp->child_utime)630 1110 A
- 1782(+=)S
- (rc->user_time)546 1908 A
- 2496(+)S
- (rc->child_utime;)672 2580 A
- 3378(/*)S
- (accum)210 3504 A
- (child)210 3756 A
- (times)210 4008 A
- 4260(*/)S
- 5400 V
- (15045)210 648 A
- (rp->child_stime)630 1110 A
- 1782(+=)S
- (rc->sys_time)504 1908 A
- 2454(+)S
- (rc->child_stime;)672 2538 A
- 5490 V
- (15046)210 648 A
- (unlock();)378 1110 A
- 5580 V
- (15047)210 648 A
- (rc->p_alarm)462 1110 A
- 1614(=)S
- 1698(0;)S
- 2370(/*)S
- (turn)168 2496 A
- (off)126 2706 A
- (alarm)210 2874 A
- (timer)210 3126 A
- 3378(*/)S
- 5670 V
- (15048)210 648 A
- 1110(if)S
- ((rc->p_flags)504 1236 A
- 1782(==)S
- 1908(0))S
- (lock_unready(rc);)714 2034 A
- 5760 V
- (15049)210 648 A
- 5850 V
- (15050)210 648 A
- (strcpy(rc->p_name,)756 1110 A
- ("<noname>");)504 1908 A
- 2706(/*)S
- (process)294 2832 A
- 3168(no)S
- (longer)252 3294 A
- (has)126 3588 A
- 3756(a)S
- (name)168 3840 A
- 4050(*/)S
- 5940 V
- (15051)210 648 A
- 6030 V
- (15052)210 648 A
- 1110(/*)S
- 1236(If)S
- (the)126 1362 A
- (process)294 1530 A
- (being)210 1866 A
- (terminated)420 2118 A
- (happens)294 2580 A
- 2916(to)S
- 3042(be)S
- (queued)252 3168 A
- (trying)252 3462 A
- 3756(to)S
- (send)168 3882 A
- 4092(a)S
- 6120 V
- (15053)210 648 A
- 1152(*)S
- (message)294 1236 A
- ((i.e.,)252 1572 A
- (the)126 1866 A
- (process)294 2034 A
- (was)126 2370 A
- (killed)252 2538 A
- 2832(by)S
- 2958(a)S
- (signal,)294 3042 A
- (rather)252 3378 A
- (than)168 3672 A
- 3882(it)S
- (doing)210 4008 A
- 4260(an)S
- 6210 V
- (15054)210 648 A
- 1152(*)S
- (EXIT),)252 1236 A
- (then)168 1530 A
- 1740(it)S
- (must)168 1866 A
- 2076(be)S
- (removed)294 2202 A
- (from)168 2538 A
- (the)126 2748 A
- (message)294 2916 A
- (queues.)294 3252 A
- 8418 V
- EP
- %%Page: 210 210
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 12 B
- (210)180 648 A
- 11 R
- 1993(File:)S
- 2226(src/kernel/system.c)S
- 10 R
- 3402(MINIX)S
- 3730(SOURCE)S
- 4153(CODE)S
- 900 V
- 7 LST
- (15055)210 648 A
- 1152(*/)S
- 990 V
- (15056)210 648 A
- 1110(if)S
- ((rc->p_flags)504 1236 A
- 1782(&)S
- (SENDING))336 1866 A
- 2244({)S
- 1080 V
- (15057)210 648 A
- 1362(/*)S
- (Check)210 1488 A
- (all)126 1740 A
- (proc)168 1908 A
- (slots)210 2118 A
- 2370(to)S
- (see)126 2496 A
- 2664(if)S
- (the)126 2790 A
- (exiting)294 2958 A
- (process)294 3294 A
- 3630(is)S
- (queued.)294 3756 A
- 4092(*/)S
- 1170 V
- (15058)210 648 A
- (for)126 1362 A
- ((rp)126 1530 A
- 1698(=)S
- (BEG_PROC_ADDR;)588 1782 A
- 2412(rp)S
- 2538(<)S
- (END_PROC_ADDR;)588 2622 A
- (rp++))210 3252 A
- 3504({)S
- 1260 V
- (15059)210 648 A
- 1698(if)S
- ((rp->p_callerq)588 1824 A
- 2454(==)S
- (NIL_PROC))378 2580 A
- (continue;)378 3000 A
- 1350 V
- (15060)210 648 A
- 1698(if)S
- ((rp->p_callerq)588 1824 A
- 2454(==)S
- (rc))126 2580 A
- 2748({)S
- 1440 V
- (15061)210 648 A
- 2034(/*)S
- (Exiting)294 2160 A
- (process)294 2496 A
- 2832(is)S
- 2958(on)S
- (front)210 3084 A
- 3336(of)S
- (this)168 3462 A
- (queue.)252 3672 A
- 3966(*/)S
- 1530 V
- (15062)210 648 A
- (rp->p_callerq)546 2034 A
- 2622(=)S
- (rc->p_sendlink;)630 2706 A
- 1620 V
- (15063)210 648 A
- (break;)252 2034 A
- 1710 V
- (15064)210 648 A
- 1698(})S
- (else)168 1782 A
- 1992({)S
- 1800 V
- (15065)210 648 A
- 2034(/*)S
- (See)126 2160 A
- 2328(if)S
- (exiting)294 2454 A
- (process)294 2790 A
- 3126(is)S
- 3252(in)S
- (middle)252 3378 A
- 3672(of)S
- (queue.)252 3798 A
- 4092(*/)S
- 1890 V
- (15066)210 648 A
- 2034(np)S
- 2160(=)S
- (rp->p_callerq;)588 2244 A
- 1980 V
- (15067)210 648 A
- (while)210 2034 A
- 2286(()S
- 2370(()S
- 2454(xp)S
- 2580(=)S
- (np->p_sendlink))630 2664 A
- 3336(!=)S
- (NIL_PROC))378 3462 A
- 2070 V
- (15068)210 648 A
- 2370(if)S
- ((xp)126 2496 A
- 2664(==)S
- (rc))126 2790 A
- 2958({)S
- 2160 V
- (15069)210 648 A
- (np->p_sendlink)588 2706 A
- 3336(=)S
- (xp->p_sendlink;)630 3420 A
- 2250 V
- (15070)210 648 A
- (break;)252 2706 A
- 2340 V
- (15071)210 648 A
- 2370(})S
- (else)168 2454 A
- 2664({)S
- 2430 V
- (15072)210 648 A
- 2706(np)S
- 2832(=)S
- (xp;)126 2916 A
- 2520 V
- (15073)210 648 A
- 2370(})S
- 2610 V
- (15074)210 648 A
- 1698(})S
- 2700 V
- (15075)210 648 A
- 1362(})S
- 2790 V
- (15076)210 648 A
- 1110(})S
- 2880 V
- (15077)210 648 A
- 2970 V
- (15078)210 648 A
- 1110(if)S
- ((rc->p_flags)504 1236 A
- 1782(&)S
- (PENDING))336 1866 A
- (--sig_procs;)504 2244 A
- 3060 V
- (15079)210 648 A
- (sigemptyset(&rc->p_pending);)1176 1110 A
- 3150 V
- (15080)210 648 A
- (rc->p_pendcount)630 1110 A
- 1782(=)S
- 1866(0;)S
- 3240 V
- (15081)210 648 A
- (rc->p_flags)462 1110 A
- 1614(=)S
- (P_SLOT_FREE;)504 1698 A
- 3330 V
- (15082)210 648 A
- (return(OK);)462 1110 A
- 3420 V
- (15083)210 648 A
- 1026(})S
- 3690 V
- (15086)210 648 A
- (/*===========================================================================*)3276 1026 A
- 3780 V
- (15087)210 648 A
- 1068(*)S
- (do_getsp)336 2370 A
- 4260(*)S
- 3870 V
- (15088)210 648 A
- (*===========================================================================*/)3276 1068 A
- 3960 V
- (15089)210 648 A
- (PRIVATE)294 1026 A
- (int)126 1362 A
- (do_getsp(m_ptr))630 1530 A
- 4050 V
- (15090)210 648 A
- (register)336 1026 A
- (message)294 1404 A
- (*m_ptr;)294 1740 A
- 2370(/*)S
- (pointer)294 2496 A
- 2832(to)S
- (request)294 2958 A
- (message)294 3294 A
- 3630(*/)S
- 4140 V
- (15091)210 648 A
- 1026({)S
- 4230 V
- (15092)210 648 A
- 1026(/*)S
- (Handle)252 1152 A
- (sys_getsp().)504 1446 A
- 2034(MM)S
- (wants)210 2160 A
- 2412(to)S
- (know)168 2538 A
- (what)168 2748 A
- 2958(sp)S
- (is.)126 3084 A
- 3252(*/)S
- 4320 V
- (15093)210 648 A
- 4410 V
- (15094)210 648 A
- (register)336 1110 A
- (struct)252 1488 A
- (proc)168 1782 A
- (*rp;)168 1992 A
- 4500 V
- (15095)210 648 A
- 4590 V
- (15096)210 648 A
- 1110(if)S
- ((!isoksusern(m_ptr->PROC1)))1134 1236 A
- (return(E_BAD_PROC);)798 2412 A
- 4680 V
- (15097)210 648 A
- 1110(rp)S
- 1236(=)S
- (proc_addr(m_ptr->PROC1);)1008 1320 A
- 4770 V
- (15098)210 648 A
- (m_ptr->STACK_PTR)672 1110 A
- 1824(=)S
- ((char)210 1908 A
- 2160(*))S
- (rp->p_reg.sp;)546 2286 A
- 3042(/*)S
- (return)252 3168 A
- 3462(sp)S
- (here)168 3588 A
- ((bad)168 3798 A
- (type))210 4008 A
- 4260(*/)S
- 4860 V
- (15099)210 648 A
- (return(OK);)462 1110 A
- 4950 V
- (15100)210 648 A
- 1026(})S
- 5220 V
- (15103)210 648 A
- (/*===========================================================================*)3276 1026 A
- 5310 V
- (15104)210 648 A
- 1068(*)S
- (do_times)336 2370 A
- 4260(*)S
- 5400 V
- (15105)210 648 A
- (*===========================================================================*/)3276 1068 A
- 5490 V
- (15106)210 648 A
- (PRIVATE)294 1026 A
- (int)126 1362 A
- (do_times(m_ptr))630 1530 A
- 5580 V
- (15107)210 648 A
- (register)336 1026 A
- (message)294 1404 A
- (*m_ptr;)294 1740 A
- 2370(/*)S
- (pointer)294 2496 A
- 2832(to)S
- (request)294 2958 A
- (message)294 3294 A
- 3630(*/)S
- 5670 V
- (15108)210 648 A
- 1026({)S
- 5760 V
- (15109)210 648 A
- 1026(/*)S
- (Handle)252 1152 A
- (sys_times().)504 1446 A
- (Retrieve)336 2034 A
- (the)126 2412 A
- (accounting)420 2580 A
- (information.)504 3042 A
- 3588(*/)S
- 5850 V
- (15110)210 648 A
- 5940 V
- (15111)210 648 A
- (register)336 1110 A
- (struct)252 1488 A
- (proc)168 1782 A
- (*rp;)168 1992 A
- 6030 V
- (15112)210 648 A
- 6120 V
- (15113)210 648 A
- 1110(if)S
- ((!isoksusern(m_ptr->PROC1)))1134 1236 A
- (return)252 2412 A
- (E_BAD_PROC;)462 2706 A
- 6210 V
- (15114)210 648 A
- 1110(rp)S
- 1236(=)S
- (proc_addr(m_ptr->PROC1);)1008 1320 A
- 8418 V
- EP
- %%Page: 211 211
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 10 R
- 648(MINIX)S
- 976(SOURCE)S
- 1399(CODE)S
- 11 R
- 1993(File:)S
- 2226(src/kernel/system.c)S
- 12 B
- (211)180 4248 A
- 900 V
- 7 LST
- (15115)210 648 A
- 990 V
- (15116)210 648 A
- 1110(/*)S
- (Insert)252 1236 A
- (the)126 1530 A
- (times)210 1698 A
- (needed)252 1950 A
- 2244(by)S
- (the)126 2370 A
- (TIMES)210 2538 A
- (system)252 2790 A
- (call)168 3084 A
- 3294(in)S
- (the)126 3420 A
- (message.)336 3588 A
- 3966(*/)S
- 1080 V
- (15117)210 648 A
- (lock();)294 1110 A
- 2370(/*)S
- (halt)168 2496 A
- (the)126 2706 A
- (volatile)336 2874 A
- (time)168 3252 A
- (counters)336 3462 A
- 3840(in)S
- 3966(rp)S
- 4092(*/)S
- 1170 V
- (15118)210 648 A
- (m_ptr->USER_TIME)672 1110 A
- 1908(=)S
- (rp->user_time;)588 1992 A
- 1260 V
- (15119)210 648 A
- (m_ptr->SYSTEM_TIME)756 1110 A
- 1908(=)S
- (rp->sys_time;)546 1992 A
- 1350 V
- (15120)210 648 A
- (unlock();)378 1110 A
- 1440 V
- (15121)210 648 A
- (m_ptr->CHILD_UTIME)756 1110 A
- 1908(=)S
- (rp->child_utime;)672 1992 A
- 1530 V
- (15122)210 648 A
- (m_ptr->CHILD_STIME)756 1110 A
- 1908(=)S
- (rp->child_stime;)672 1992 A
- 1620 V
- (15123)210 648 A
- (m_ptr->BOOT_TICKS)714 1110 A
- 1908(=)S
- (get_uptime();)546 1992 A
- 1710 V
- (15124)210 648 A
- (return(OK);)462 1110 A
- 1800 V
- (15125)210 648 A
- 1026(})S
- 2070 V
- (15128)210 648 A
- (/*===========================================================================*)3276 1026 A
- 2160 V
- (15129)210 648 A
- 1068(*)S
- (do_abort)336 2370 A
- 4260(*)S
- 2250 V
- (15130)210 648 A
- (*===========================================================================*/)3276 1068 A
- 2340 V
- (15131)210 648 A
- (PRIVATE)294 1026 A
- (int)126 1362 A
- (do_abort(m_ptr))630 1530 A
- 2430 V
- (15132)210 648 A
- (message)294 1026 A
- (*m_ptr;)294 1362 A
- 2370(/*)S
- (pointer)294 2496 A
- 2832(to)S
- (request)294 2958 A
- (message)294 3294 A
- 3630(*/)S
- 2520 V
- (15133)210 648 A
- 1026({)S
- 2610 V
- (15134)210 648 A
- 1026(/*)S
- (Handle)252 1152 A
- (sys_abort.)420 1446 A
- (MINIX)210 1950 A
- 2202(is)S
- (unable)252 2328 A
- 2622(to)S
- (continue.)378 2748 A
- (Terminate)378 3210 A
- (operation.)420 3630 A
- 4092(*/)S
- 2700 V
- (15135)210 648 A
- (char)168 1110 A
- (monitor_code[64];)714 1320 A
- 2790 V
- (15136)210 648 A
- (phys_bytes)420 1110 A
- (src_phys;)378 1572 A
- 2880 V
- (15137)210 648 A
- 2970 V
- (15138)210 648 A
- 1110(if)S
- ((m_ptr->m1_i1)546 1236 A
- 1824(==)S
- (RBT_MONITOR))504 1950 A
- 2496({)S
- 3060 V
- (15139)210 648 A
- 1362(/*)S
- (The)126 1488 A
- (monitor)294 1656 A
- 1992(is)S
- 2118(to)S
- (run)126 2244 A
- (user)168 2412 A
- (specified)378 2622 A
- (instructions.)546 3042 A
- 3630(*/)S
- 3150 V
- (15140)210 648 A
- (src_phys)336 1362 A
- 1740(=)S
- (numap(m_ptr->m_source,)924 1824 A
- ((vir_bytes))462 2790 A
- (m_ptr->m1_p1,)546 3294 A
- 3240 V
- (15141)210 648 A
- ((vir_bytes))462 2706 A
- (sizeof(monitor_code));)924 3210 A
- 3330 V
- (15142)210 648 A
- 1362(if)S
- ((src_phys)378 1488 A
- 1908(==)S
- 2034(0))S
- (panic("bad)420 2160 A
- (monitor)294 2622 A
- (code)168 2958 A
- (from",)252 3168 A
- (m_ptr->m_source);)714 3462 A
- 3420 V
- (15143)210 648 A
- (phys_copy(src_phys,)798 1362 A
- (vir2phys(monitor_code),)966 2202 A
- 3510 V
- (15144)210 648 A
- ((phys_bytes))504 2706 A
- (sizeof(monitor_code));)924 3252 A
- 3600 V
- (15145)210 648 A
- (reboot_code)462 1362 A
- 1866(=)S
- (vir2phys(monitor_code);)966 1950 A
- 3690 V
- (15146)210 648 A
- 1110(})S
- 3780 V
- (15147)210 648 A
- (wreboot(m_ptr->m1_i1);)924 1110 A
- 3870 V
- (15148)210 648 A
- (return(OK);)462 1110 A
- 2370(/*)S
- (pro-forma)378 2496 A
- ((really)294 2916 A
- (EDISASTER))420 3252 A
- 3714(*/)S
- 3960 V
- (15149)210 648 A
- 1026(})S
- 4410 V
- (15154)210 648 A
- (/*===========================================================================*)3276 1026 A
- 4500 V
- (15155)210 648 A
- 1068(*)S
- (do_sendsig)420 2286 A
- 4260(*)S
- 4590 V
- (15156)210 648 A
- (*===========================================================================*/)3276 1068 A
- 4680 V
- (15157)210 648 A
- (PRIVATE)294 1026 A
- (int)126 1362 A
- (do_sendsig(m_ptr))714 1530 A
- 4770 V
- (15158)210 648 A
- (message)294 1026 A
- (*m_ptr;)294 1362 A
- 2370(/*)S
- (pointer)294 2496 A
- 2832(to)S
- (request)294 2958 A
- (message)294 3294 A
- 3630(*/)S
- 4860 V
- (15159)210 648 A
- 1026({)S
- 4950 V
- (15160)210 648 A
- 1026(/*)S
- (Handle)252 1152 A
- (sys_sendsig,)504 1446 A
- (POSIX-style)462 1992 A
- (signal)252 2496 A
- 2790(*/)S
- 5040 V
- (15161)210 648 A
- 5130 V
- (15162)210 648 A
- (struct)252 1110 A
- (sigmsg)252 1404 A
- (smsg;)210 1698 A
- 5220 V
- (15163)210 648 A
- (register)336 1110 A
- (struct)252 1488 A
- (proc)168 1782 A
- (*rp;)168 1992 A
- 5310 V
- (15164)210 648 A
- (phys_bytes)420 1110 A
- (src_phys,)378 1572 A
- (dst_phys;)378 1992 A
- 5400 V
- (15165)210 648 A
- (struct)252 1110 A
- (sigcontext)420 1404 A
- (sc,)126 1866 A
- (*scp;)210 2034 A
- 5490 V
- (15166)210 648 A
- (struct)252 1110 A
- (sigframe)336 1404 A
- (fr,)126 1782 A
- (*frp;)210 1950 A
- 5580 V
- (15167)210 648 A
- 5670 V
- (15168)210 648 A
- 1110(if)S
- ((!isokusern(m_ptr->PROC1)))1092 1236 A
- (return(E_BAD_PROC);)798 2370 A
- 5760 V
- (15169)210 648 A
- 1110(rp)S
- 1236(=)S
- (proc_addr(m_ptr->PROC1);)1008 1320 A
- 5850 V
- (15170)210 648 A
- 5940 V
- (15171)210 648 A
- 1110(/*)S
- (Get)126 1236 A
- (the)126 1404 A
- (sigmsg)252 1572 A
- (structure)378 1866 A
- (into)168 2286 A
- (our)126 2496 A
- (address)294 2664 A
- (space.)252 3000 A
- 3336(*/)S
- 6030 V
- (15172)210 648 A
- (src_phys)336 1110 A
- 1488(=)S
- (umap(proc_addr(MM_PROC_NR),)1134 1572 A
- 2748(D,)S
- ((vir_bytes))462 2874 A
- (m_ptr->SIG_CTXT_PTR,)840 3378 A
- 6120 V
- (15173)210 648 A
- ((vir_bytes))462 1782 A
- (sizeof(struct)546 2286 A
- (sigmsg));)378 2874 A
- 6210 V
- (15174)210 648 A
- 1110(if)S
- ((src_phys)378 1236 A
- 1656(==)S
- 1782(0))S
- 8418 V
- EP
- %%Page: 212 212
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 12 B
- (212)180 648 A
- 11 R
- 1993(File:)S
- 2226(src/kernel/system.c)S
- 10 R
- 3402(MINIX)S
- 3730(SOURCE)S
- 4153(CODE)S
- 900 V
- 7 LST
- (15175)210 648 A
- (panic("do_sendsig)714 1362 A
- (can't)210 2118 A
- (signal:)294 2370 A
- (bad)126 2706 A
- (sigmsg)252 2874 A
- (address)294 3168 A
- (from)168 3504 A
- (MM",)168 3714 A
- (NO_NUM);)336 3924 A
- 990 V
- (15176)210 648 A
- (phys_copy(src_phys,)798 1110 A
- (vir2phys(&smsg),)672 1950 A
- ((phys_bytes))504 2664 A
- (sizeof(struct)546 3210 A
- (sigmsg));)378 3798 A
- 1080 V
- (15177)210 648 A
- 1170 V
- (15178)210 648 A
- 1110(/*)S
- (Compute)294 1236 A
- (the)126 1572 A
- (usr)126 1740 A
- (stack)210 1908 A
- (pointer)294 2160 A
- (value)210 2496 A
- (where)210 2748 A
- (sigcontext)420 3000 A
- (will)168 3462 A
- 3672(be)S
- (stored.)294 3798 A
- 4134(*/)S
- 1260 V
- (15179)210 648 A
- (scp)126 1110 A
- 1278(=)S
- ((struct)294 1362 A
- (sigcontext)420 1698 A
- 2160(*))S
- (smsg.sm_stkptr)588 2286 A
- 2916(-)S
- 3000(1;)S
- 1350 V
- (15180)210 648 A
- 1440 V
- (15181)210 648 A
- 1110(/*)S
- (Copy)168 1236 A
- (the)126 1446 A
- (registers)378 1614 A
- 2034(to)S
- (the)126 2160 A
- (sigcontext)420 2328 A
- (structure.)420 2790 A
- 3252(*/)S
- 1530 V
- (15182)210 648 A
- (memcpy(&sc.sc_regs,)798 1110 A
- (&rp->p_reg,)462 1950 A
- (sizeof(struct)546 2454 A
- (sigregs));)420 3042 A
- 1620 V
- (15183)210 648 A
- 1710 V
- (15184)210 648 A
- 1110(/*)S
- (Finish)252 1236 A
- (the)126 1530 A
- (sigcontext)420 1698 A
- (initialization.)630 2160 A
- 2832(*/)S
- 1800 V
- (15185)210 648 A
- (sc.sc_flags)462 1110 A
- 1614(=)S
- (SC_SIGCONTEXT;)588 1698 A
- 1890 V
- (15186)210 648 A
- 1980 V
- (15187)210 648 A
- (sc.sc_mask)420 1110 A
- 1572(=)S
- (smsg.sm_mask;)546 1656 A
- 2070 V
- (15188)210 648 A
- 2160 V
- (15189)210 648 A
- 1110(/*)S
- (Copy)168 1236 A
- (the)126 1446 A
- (sigcontext)420 1614 A
- (structure)378 2076 A
- 2496(to)S
- (the)126 2622 A
- (user's)252 2790 A
- (stack.)252 3084 A
- 3378(*/)S
- 2250 V
- (15190)210 648 A
- (dst_phys)336 1110 A
- 1488(=)S
- (umap(rp,)336 1572 A
- 1950(D,)S
- ((vir_bytes))462 2076 A
- (scp,)168 2580 A
- 2340 V
- (15191)210 648 A
- ((vir_bytes))462 1782 A
- (sizeof(struct)546 2286 A
- (sigcontext));)546 2874 A
- 2430 V
- (15192)210 648 A
- 1110(if)S
- ((dst_phys)378 1236 A
- 1656(==)S
- 1782(0))S
- (return(EFAULT);)630 1908 A
- 2520 V
- (15193)210 648 A
- (phys_copy(vir2phys(&sc),)1008 1110 A
- (dst_phys,)378 2160 A
- ((phys_bytes))504 2580 A
- (sizeof(struct)546 3126 A
- (sigcontext));)546 3714 A
- 2610 V
- (15194)210 648 A
- 2700 V
- (15195)210 648 A
- 1110(/*)S
- (Initialize)420 1236 A
- (the)126 1698 A
- (sigframe)336 1866 A
- (structure.)420 2244 A
- 2706(*/)S
- 2790 V
- (15196)210 648 A
- (frp)126 1110 A
- 1278(=)S
- ((struct)294 1362 A
- (sigframe)336 1698 A
- 2076(*))S
- (scp)126 2202 A
- 2370(-)S
- 2454(1;)S
- 2880 V
- (15197)210 648 A
- (fr.sf_scpcopy)546 1110 A
- 1698(=)S
- (scp;)168 1782 A
- 2970 V
- (15198)210 648 A
- (fr.sf_retadr2=)588 1110 A
- ((void)210 1740 A
- ((*)()))252 1992 A
- (rp->p_reg.pc;)546 2286 A
- 3060 V
- (15199)210 648 A
- (fr.sf_fp)336 1110 A
- 1488(=)S
- (rp->p_reg.fp;)546 1572 A
- 3150 V
- (15200)210 648 A
- (rp->p_reg.fp)504 1110 A
- 1656(=)S
- ((reg_t))294 1740 A
- (&frp->sf_fp;)504 2076 A
- 3240 V
- (15201)210 648 A
- (fr.sf_scp)378 1110 A
- 1530(=)S
- (scp;)168 1614 A
- 3330 V
- (15202)210 648 A
- (fr.sf_code)420 1110 A
- 1572(=)S
- 1656(0;)S
- 2034(/*)S
- (XXX)126 2160 A
- 2328(-)S
- (should)252 2412 A
- 2706(be)S
- (used)168 2832 A
- (for)126 3042 A
- (type)168 3210 A
- 3420(of)S
- 3546(FP)S
- (exception)378 3672 A
- 4092(*/)S
- 3420 V
- (15203)210 648 A
- (fr.sf_signo)462 1110 A
- 1614(=)S
- (smsg.sm_signo;)588 1698 A
- 3510 V
- (15204)210 648 A
- (fr.sf_retadr)504 1110 A
- 1656(=)S
- ((void)210 1740 A
- ((*)()))252 1992 A
- (smsg.sm_sigreturn;)756 2286 A
- 3600 V
- (15205)210 648 A
- 3690 V
- (15206)210 648 A
- 1110(/*)S
- (Copy)168 1236 A
- (the)126 1446 A
- (sigframe)336 1614 A
- (structure)378 1992 A
- 2412(to)S
- (the)126 2538 A
- (user's)252 2706 A
- (stack.)252 3000 A
- 3294(*/)S
- 3780 V
- (15207)210 648 A
- (dst_phys)336 1110 A
- 1488(=)S
- (umap(rp,)336 1572 A
- 1950(D,)S
- ((vir_bytes))462 2076 A
- (frp,)168 2580 A
- ((vir_bytes))462 2790 A
- (sizeof(struct)546 3294 A
- (sigframe));)462 3882 A
- 3870 V
- (15208)210 648 A
- 1110(if)S
- ((dst_phys)378 1236 A
- 1656(==)S
- 1782(0))S
- (return(EFAULT);)630 1908 A
- 3960 V
- (15209)210 648 A
- (phys_copy(vir2phys(&fr),)1008 1110 A
- (dst_phys,)378 2160 A
- ((phys_bytes))504 2580 A
- (sizeof(struct)546 3126 A
- (sigframe));)462 3714 A
- 4050 V
- (15210)210 648 A
- 4140 V
- (15211)210 648 A
- 1110(/*)S
- (Reset)210 1236 A
- (user)168 1488 A
- (registers)378 1698 A
- 2118(to)S
- (execute)294 2244 A
- (the)126 2580 A
- (signal)252 2748 A
- (handler.)336 3042 A
- 3420(*/)S
- 4230 V
- (15212)210 648 A
- (rp->p_reg.sp)504 1110 A
- 1656(=)S
- ((reg_t))294 1740 A
- (frp;)168 2076 A
- 4320 V
- (15213)210 648 A
- (rp->p_reg.pc)504 1110 A
- 1656(=)S
- ((reg_t))294 1740 A
- (smsg.sm_sighandler;)798 2076 A
- 4410 V
- (15214)210 648 A
- 4500 V
- (15215)210 648 A
- (return(OK);)462 1110 A
- 4590 V
- (15216)210 648 A
- 1026(})S
- 4770 V
- (15218)210 648 A
- (/*===========================================================================*)3276 1026 A
- 4860 V
- (15219)210 648 A
- 1068(*)S
- (do_sigreturn)504 2286 A
- 4260(*)S
- 4950 V
- (15220)210 648 A
- (*===========================================================================*/)3276 1068 A
- 5040 V
- (15221)210 648 A
- (PRIVATE)294 1026 A
- (int)126 1362 A
- (do_sigreturn(m_ptr))798 1530 A
- 5130 V
- (15222)210 648 A
- (register)336 1026 A
- (message)294 1404 A
- (*m_ptr;)294 1740 A
- 5220 V
- (15223)210 648 A
- 1026({)S
- 5310 V
- (15224)210 648 A
- 1026(/*)S
- (POSIX)210 1152 A
- (style)210 1404 A
- (signals)294 1656 A
- (require)294 1992 A
- (sys_sigreturn)546 2328 A
- 2916(to)S
- (put)126 3042 A
- (things)252 3210 A
- 3504(in)S
- (order)210 3630 A
- (before)252 3882 A
- (the)126 4176 A
- 5400 V
- (15225)210 648 A
- 1068(*)S
- (signalled)378 1152 A
- (process)294 1572 A
- (can)126 1908 A
- (resume)252 2076 A
- (execution)378 2370 A
- 5490 V
- (15226)210 648 A
- 1068(*/)S
- 5580 V
- (15227)210 648 A
- 5670 V
- (15228)210 648 A
- (struct)252 1110 A
- (sigcontext)420 1404 A
- (sc;)126 1866 A
- 5760 V
- (15229)210 648 A
- (register)336 1110 A
- (struct)252 1488 A
- (proc)168 1782 A
- (*rp;)168 1992 A
- 5850 V
- (15230)210 648 A
- (phys_bytes)420 1110 A
- (src_phys;)378 1572 A
- 5940 V
- (15231)210 648 A
- 6030 V
- (15232)210 648 A
- 1110(if)S
- ((!isokusern(m_ptr->PROC1)))1092 1236 A
- (return(E_BAD_PROC);)798 2370 A
- 6120 V
- (15233)210 648 A
- 1110(rp)S
- 1236(=)S
- (proc_addr(m_ptr->PROC1);)1008 1320 A
- 6210 V
- (15234)210 648 A
- 8418 V
- EP
- %%Page: 213 213
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 10 R
- 648(MINIX)S
- 976(SOURCE)S
- 1399(CODE)S
- 11 R
- 1993(File:)S
- 2226(src/kernel/system.c)S
- 12 B
- (213)180 4248 A
- 900 V
- 7 LST
- (15235)210 648 A
- 1110(/*)S
- (Copy)168 1236 A
- 1446(in)S
- (the)126 1572 A
- (sigcontext)420 1740 A
- (structure.)420 2202 A
- 2664(*/)S
- 990 V
- (15236)210 648 A
- (src_phys)336 1110 A
- 1488(=)S
- (umap(rp,)336 1572 A
- 1950(D,)S
- ((vir_bytes))462 2076 A
- (m_ptr->SIG_CTXT_PTR,)840 2580 A
- 1080 V
- (15237)210 648 A
- ((vir_bytes))462 1782 A
- (sizeof(struct)546 2286 A
- (sigcontext));)546 2874 A
- 1170 V
- (15238)210 648 A
- 1110(if)S
- ((src_phys)378 1236 A
- 1656(==)S
- 1782(0))S
- (return(EFAULT);)630 1908 A
- 1260 V
- (15239)210 648 A
- (phys_copy(src_phys,)798 1110 A
- (vir2phys(&sc),)588 1950 A
- ((phys_bytes))504 2580 A
- (sizeof(struct)546 3126 A
- (sigcontext));)546 3714 A
- 1350 V
- (15240)210 648 A
- 1440 V
- (15241)210 648 A
- 1110(/*)S
- (Make)168 1236 A
- (sure)168 1446 A
- (that)168 1656 A
- (this)168 1866 A
- 2076(is)S
- (not)126 2202 A
- (just)168 2370 A
- 2580(a)S
- (jmp_buf.)336 2664 A
- 3042(*/)S
- 1530 V
- (15242)210 648 A
- 1110(if)S
- (((sc.sc_flags)546 1236 A
- 1824(&)S
- (SC_SIGCONTEXT))588 1908 A
- 2538(==)S
- 2664(0))S
- (return(EINVAL);)630 2790 A
- 1620 V
- (15243)210 648 A
- 1710 V
- (15244)210 648 A
- 1110(/*)S
- (Fix)126 1236 A
- 1404(up)S
- (only)168 1530 A
- (certain)294 1740 A
- (key)126 2076 A
- (registers)378 2244 A
- 2664(if)S
- (the)126 2790 A
- (compiler)336 2958 A
- (doesn't)294 3336 A
- (use)126 3672 A
- 1800 V
- (15245)210 648 A
- 1152(*)S
- (register)336 1236 A
- (variables)378 1614 A
- (within)252 2034 A
- (functions)378 2328 A
- (containing)420 2748 A
- (setjmp.)294 3210 A
- 1890 V
- (15246)210 648 A
- 1152(*/)S
- 1980 V
- (15247)210 648 A
- 1110(if)S
- ((sc.sc_flags)504 1236 A
- 1782(&)S
- (SC_NOREGLOCALS))630 1866 A
- 2538({)S
- 2070 V
- (15248)210 648 A
- (rp->p_reg.retreg)672 1362 A
- 2076(=)S
- (sc.sc_retreg;)546 2160 A
- 2160 V
- (15249)210 648 A
- (rp->p_reg.fp)504 1362 A
- 1908(=)S
- (sc.sc_fp;)378 1992 A
- 2250 V
- (15250)210 648 A
- (rp->p_reg.pc)504 1362 A
- 1908(=)S
- (sc.sc_pc;)378 1992 A
- 2340 V
- (15251)210 648 A
- (rp->p_reg.sp)504 1362 A
- 1908(=)S
- (sc.sc_sp;)378 1992 A
- 2430 V
- (15252)210 648 A
- (return)252 1362 A
- ((OK);)210 1656 A
- 2520 V
- (15253)210 648 A
- 1110(})S
- 2610 V
- (15254)210 648 A
- (sc.sc_psw)378 1110 A
- 1572(=)S
- (rp->p_reg.psw;)588 1656 A
- 2700 V
- (15255)210 648 A
- 2790 V
- (15256)210 648 A
- (#if)126 1026 A
- ((CHIP)210 1194 A
- 1446(==)S
- (INTEL))252 1572 A
- 2880 V
- (15257)210 648 A
- 1110(/*)S
- (Don't)210 1236 A
- (panic)210 1488 A
- (kernel)252 1740 A
- 2034(if)S
- (user)168 2160 A
- (gave)168 2370 A
- (bad)126 2580 A
- (selectors.)420 2748 A
- 3210(*/)S
- 2970 V
- (15258)210 648 A
- (sc.sc_cs)336 1110 A
- 1488(=)S
- (rp->p_reg.cs;)546 1572 A
- 3060 V
- (15259)210 648 A
- (sc.sc_ds)336 1110 A
- 1488(=)S
- (rp->p_reg.ds;)546 1572 A
- 3150 V
- (15260)210 648 A
- (sc.sc_es)336 1110 A
- 1488(=)S
- (rp->p_reg.es;)546 1572 A
- 3240 V
- (15261)210 648 A
- (#if)126 1026 A
- (_WORD_SIZE)420 1194 A
- 1656(==)S
- 1782(4)S
- 3330 V
- (15262)210 648 A
- (sc.sc_fs)336 1110 A
- 1488(=)S
- (rp->p_reg.fs;)546 1572 A
- 3420 V
- (15263)210 648 A
- (sc.sc_gs)336 1110 A
- 1488(=)S
- (rp->p_reg.gs;)546 1572 A
- 3510 V
- (15264)210 648 A
- (#endif)252 1026 A
- 3600 V
- (15265)210 648 A
- (#endif)252 1026 A
- 3690 V
- (15266)210 648 A
- 3780 V
- (15267)210 648 A
- 1110(/*)S
- (Restore)294 1236 A
- (the)126 1572 A
- (registers.)420 1740 A
- 2202(*/)S
- 3870 V
- (15268)210 648 A
- (memcpy(&rp->p_reg,)756 1110 A
- ((char)210 1908 A
- (*)&sc.sc_regs,)588 2160 A
- (sizeof(struct)546 2790 A
- (sigregs));)420 3378 A
- 3960 V
- (15269)210 648 A
- 4050 V
- (15270)210 648 A
- (return(OK);)462 1110 A
- 4140 V
- (15271)210 648 A
- 1026(})S
- 4320 V
- (15273)210 648 A
- (/*===========================================================================*)3276 1026 A
- 4410 V
- (15274)210 648 A
- 1068(*)S
- (do_kill)294 2370 A
- 4260(*)S
- 4500 V
- (15275)210 648 A
- (*===========================================================================*/)3276 1068 A
- 4590 V
- (15276)210 648 A
- (PRIVATE)294 1026 A
- (int)126 1362 A
- (do_kill(m_ptr))588 1530 A
- 4680 V
- (15277)210 648 A
- (register)336 1026 A
- (message)294 1404 A
- (*m_ptr;)294 1740 A
- 2370(/*)S
- (pointer)294 2496 A
- 2832(to)S
- (request)294 2958 A
- (message)294 3294 A
- 3630(*/)S
- 4770 V
- (15278)210 648 A
- 1026({)S
- 4860 V
- (15279)210 648 A
- 1026(/*)S
- (Handle)252 1152 A
- (sys_kill().)462 1446 A
- (Cause)210 1950 A
- 2202(a)S
- (signal)252 2286 A
- 2580(to)S
- 2706(be)S
- (sent)168 2832 A
- 3042(to)S
- 3168(a)S
- (process)294 3252 A
- (via)126 3588 A
- (MM.)126 3756 A
- 4950 V
- (15280)210 648 A
- 1068(*)S
- (Note)168 1152 A
- (that)168 1362 A
- (this)168 1572 A
- (has)126 1782 A
- (nothing)294 1950 A
- 2286(to)S
- 2412(do)S
- (with)168 2538 A
- (the)126 2748 A
- (kill)168 2916 A
- ((2))126 3126 A
- (system)252 3294 A
- (call,)210 3588 A
- (this)168 3840 A
- 5040 V
- (15281)210 648 A
- 1068(*)S
- 1152(is)S
- (how)126 1278 A
- (the)126 1446 A
- 1614(FS)S
- ((and)168 1740 A
- (possibly)336 1950 A
- (other)210 2328 A
- (servers))336 2580 A
- (get)126 2958 A
- (access)252 3126 A
- 3420(to)S
- (cause_sig)378 3546 A
- 3966(to)S
- 5130 V
- (15282)210 648 A
- 1068(*)S
- (send)168 1152 A
- 1362(a)S
- (KSIG)168 1446 A
- (message)294 1656 A
- 1992(to)S
- 2118(MM)S
- 5220 V
- (15283)210 648 A
- 1068(*/)S
- 5310 V
- (15284)210 648 A
- 5400 V
- (15285)210 648 A
- 1110(if)S
- ((!isokusern(m_ptr->PR)))966 1236 A
- (return(E_BAD_PROC);)798 2244 A
- 5490 V
- (15286)210 648 A
- (cause_sig(m_ptr->PR,)840 1110 A
- (m_ptr->SIGNUM);)630 1992 A
- 5580 V
- (15287)210 648 A
- (return(OK);)462 1110 A
- 5670 V
- (15288)210 648 A
- 1026(})S
- 5940 V
- (15291)210 648 A
- (/*===========================================================================*)3276 1026 A
- 6030 V
- (15292)210 648 A
- 1068(*)S
- (do_endsig)378 2286 A
- 4260(*)S
- 6120 V
- (15293)210 648 A
- (*===========================================================================*/)3276 1068 A
- 6210 V
- (15294)210 648 A
- (PRIVATE)294 1026 A
- (int)126 1362 A
- (do_endsig(m_ptr))672 1530 A
- 8418 V
- EP
- %%Page: 214 214
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 12 B
- (214)180 648 A
- 11 R
- 1993(File:)S
- 2226(src/kernel/system.c)S
- 10 R
- 3402(MINIX)S
- 3730(SOURCE)S
- 4153(CODE)S
- 900 V
- 7 LST
- (15295)210 648 A
- (register)336 1026 A
- (message)294 1404 A
- (*m_ptr;)294 1740 A
- 2370(/*)S
- (pointer)294 2496 A
- 2832(to)S
- (request)294 2958 A
- (message)294 3294 A
- 3630(*/)S
- 990 V
- (15296)210 648 A
- 1026({)S
- 1080 V
- (15297)210 648 A
- 1026(/*)S
- (Finish)252 1152 A
- 1446(up)S
- (after)210 1572 A
- 1824(a)S
- (KSIG-type)378 1908 A
- (signal,)294 2328 A
- (caused)252 2664 A
- 2958(by)S
- 3084(a)S
- (SYS_KILL)336 3168 A
- (message)294 3546 A
- 3882(or)S
- 4008(a)S
- (call)168 4092 A
- 1170 V
- (15298)210 648 A
- 1068(*)S
- 1152(to)S
- (cause_sig)378 1278 A
- 1698(by)S
- 1824(a)S
- (task)168 1908 A
- 1260 V
- (15299)210 648 A
- 1068(*/)S
- 1350 V
- (15300)210 648 A
- 1440 V
- (15301)210 648 A
- (register)336 1110 A
- (struct)252 1488 A
- (proc)168 1782 A
- (*rp;)168 1992 A
- 1530 V
- (15302)210 648 A
- 1620 V
- (15303)210 648 A
- 1110(if)S
- ((!isokusern(m_ptr->PROC1)))1092 1236 A
- (return(E_BAD_PROC);)798 2370 A
- 1710 V
- (15304)210 648 A
- 1110(rp)S
- 1236(=)S
- (proc_addr(m_ptr->PROC1);)1008 1320 A
- 1800 V
- (15305)210 648 A
- 1890 V
- (15306)210 648 A
- 1110(/*)S
- 1236(MM)S
- (has)126 1362 A
- (finished)336 1530 A
- (one)126 1908 A
- (KSIG.)210 2076 A
- 2328(*/)S
- 1980 V
- (15307)210 648 A
- 1110(if)S
- ((rp->p_pendcount)672 1236 A
- 1950(!=)S
- 2076(0)S
- 2160(&&)S
- (--rp->p_pendcount)714 2286 A
- 3042(==)S
- 3168(0)S
- 2070 V
- (15308)210 648 A
- 1278(&&)S
- ((rp->p_flags)504 1404 A
- 1950(&=)S
- (304SIG_PENDING))546 2076 A
- 2664(==)S
- 2790(0))S
- 2160 V
- (15309)210 648 A
- (lock_ready(rp);)630 1362 A
- 2250 V
- (15310)210 648 A
- (return(OK);)462 1110 A
- 2340 V
- (15311)210 648 A
- 1026(})S
- 2520 V
- (15313)210 648 A
- (/*===========================================================================*)3276 1026 A
- 2610 V
- (15314)210 648 A
- 1068(*)S
- (do_copy)294 2370 A
- 4260(*)S
- 2700 V
- (15315)210 648 A
- (*===========================================================================*/)3276 1068 A
- 2790 V
- (15316)210 648 A
- (PRIVATE)294 1026 A
- (int)126 1362 A
- (do_copy(m_ptr))588 1530 A
- 2880 V
- (15317)210 648 A
- (register)336 1026 A
- (message)294 1404 A
- (*m_ptr;)294 1740 A
- 2370(/*)S
- (pointer)294 2496 A
- 2832(to)S
- (request)294 2958 A
- (message)294 3294 A
- 3630(*/)S
- 2970 V
- (15318)210 648 A
- 1026({)S
- 3060 V
- (15319)210 648 A
- 1026(/*)S
- (Handle)252 1152 A
- (sys_copy().)462 1446 A
- (Copy)168 1992 A
- (data)168 2202 A
- (for)126 2412 A
- 2580(MM)S
- 2706(or)S
- (FS.)126 2832 A
- 3000(*/)S
- 3150 V
- (15320)210 648 A
- 3240 V
- (15321)210 648 A
- (int)126 1110 A
- (src_proc,)378 1278 A
- (dst_proc,)378 1698 A
- (src_space,)420 2118 A
- (dst_space;)420 2580 A
- 3330 V
- (15322)210 648 A
- (vir_bytes)378 1110 A
- (src_vir,)336 1530 A
- (dst_vir;)336 1908 A
- 3420 V
- (15323)210 648 A
- (phys_bytes)420 1110 A
- (src_phys,)378 1572 A
- (dst_phys,)378 1992 A
- (bytes;)252 2412 A
- 3510 V
- (15324)210 648 A
- 3600 V
- (15325)210 648 A
- 1110(/*)S
- (Dismember)378 1236 A
- (the)126 1656 A
- (command)294 1824 A
- (message.)336 2160 A
- 2538(*/)S
- 3690 V
- (15326)210 648 A
- (src_proc)336 1110 A
- 1488(=)S
- (m_ptr->SRC_PROC_NR;)798 1572 A
- 3780 V
- (15327)210 648 A
- (dst_proc)336 1110 A
- 1488(=)S
- (m_ptr->DST_PROC_NR;)798 1572 A
- 3870 V
- (15328)210 648 A
- (src_space)378 1110 A
- 1530(=)S
- (m_ptr->SRC_SPACE;)714 1614 A
- 3960 V
- (15329)210 648 A
- (dst_space)378 1110 A
- 1530(=)S
- (m_ptr->DST_SPACE;)714 1614 A
- 4050 V
- (15330)210 648 A
- (src_vir)294 1110 A
- 1446(=)S
- ((vir_bytes))462 1530 A
- (m_ptr->SRC_BUFFER;)756 2034 A
- 4140 V
- (15331)210 648 A
- (dst_vir)294 1110 A
- 1446(=)S
- ((vir_bytes))462 1530 A
- (m_ptr->DST_BUFFER;)756 2034 A
- 4230 V
- (15332)210 648 A
- (bytes)210 1110 A
- 1362(=)S
- ((phys_bytes))504 1446 A
- (m_ptr->COPY_BYTES;)756 1992 A
- 4320 V
- (15333)210 648 A
- 4410 V
- (15334)210 648 A
- 1110(/*)S
- (Compute)294 1236 A
- (the)126 1572 A
- (source)252 1740 A
- (and)126 2034 A
- (destination)462 2202 A
- (addresses)378 2706 A
- (and)126 3126 A
- 3294(do)S
- (the)126 3420 A
- (copy.)210 3588 A
- 3840(*/)S
- 4500 V
- (15335)210 648 A
- 1110(if)S
- ((src_proc)378 1236 A
- 1656(==)S
- (ABS))168 1782 A
- 4590 V
- (15336)210 648 A
- (src_phys)336 1362 A
- 1740(=)S
- ((phys_bytes))504 1824 A
- (m_ptr->SRC_BUFFER;)756 2370 A
- 4680 V
- (15337)210 648 A
- (else)168 1110 A
- 1320({)S
- 4770 V
- (15338)210 648 A
- 1362(if)S
- ((bytes)252 1488 A
- 1782(!=)S
- ((vir_bytes))462 1908 A
- (bytes))252 2412 A
- 4860 V
- (15339)210 648 A
- 1698(/*)S
- (This)168 1824 A
- (would)210 2034 A
- (happen)252 2286 A
- (for)126 2580 A
- (64K)126 2748 A
- (segments)336 2916 A
- (and)126 3294 A
- (16-bit)252 3462 A
- (vir_bytes.)420 3756 A
- 4950 V
- (15340)210 648 A
- 1740(*)S
- 1824(It)S
- (would)210 1950 A
- (happen)252 2202 A
- 2496(a)S
- (lot)126 2580 A
- (for)126 2748 A
- (do_fork)294 2916 A
- (except)252 3252 A
- 3546(MM)S
- (uses)168 3672 A
- (ABS)126 3882 A
- 5040 V
- (15341)210 648 A
- 1740(*)S
- (copies)252 1824 A
- (for)126 2118 A
- (that)168 2286 A
- (case.)210 2496 A
- 5130 V
- (15342)210 648 A
- 1740(*/)S
- 5220 V
- (15343)210 648 A
- (panic("overflow)630 1698 A
- 2370(in)S
- (count)210 2496 A
- 2748(in)S
- (do_copy",)378 2874 A
- (NO_NUM);)336 3294 A
- 5310 V
- (15344)210 648 A
- 5400 V
- (15345)210 648 A
- (src_phys)336 1362 A
- 1740(=)S
- (umap(proc_addr(src_proc),)1050 1824 A
- (src_space,)420 2916 A
- (src_vir,)336 3378 A
- 5490 V
- (15346)210 648 A
- ((vir_bytes))462 2034 A
- (bytes);)294 2538 A
- 5580 V
- (15347)210 648 A
- 1362(})S
- 5670 V
- (15348)210 648 A
- 5760 V
- (15349)210 648 A
- 1110(if)S
- ((dst_proc)378 1236 A
- 1656(==)S
- (ABS))168 1782 A
- 5850 V
- (15350)210 648 A
- (dst_phys)336 1362 A
- 1740(=)S
- ((phys_bytes))504 1824 A
- (m_ptr->DST_BUFFER;)756 2370 A
- 5940 V
- (15351)210 648 A
- (else)168 1110 A
- 6030 V
- (15352)210 648 A
- (dst_phys)336 1362 A
- 1740(=)S
- (umap(proc_addr(dst_proc),)1050 1824 A
- (dst_space,)420 2916 A
- (dst_vir,)336 3378 A
- 6120 V
- (15353)210 648 A
- ((vir_bytes))462 2034 A
- (bytes);)294 2538 A
- 6210 V
- (15354)210 648 A
- 8418 V
- EP
- %%Page: 215 215
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 10 R
- 648(MINIX)S
- 976(SOURCE)S
- 1399(CODE)S
- 11 R
- 1993(File:)S
- 2226(src/kernel/system.c)S
- 12 B
- (215)180 4248 A
- 900 V
- 7 LST
- (15355)210 648 A
- 1110(if)S
- ((src_phys)378 1236 A
- 1656(==)S
- 1782(0)S
- 1866(||)S
- (dst_phys)336 1992 A
- 2370(==)S
- 2496(0))S
- (return(EFAULT);)630 2622 A
- 990 V
- (15356)210 648 A
- (phys_copy(src_phys,)798 1110 A
- (dst_phys,)378 1950 A
- (bytes);)294 2370 A
- 1080 V
- (15357)210 648 A
- (return(OK);)462 1110 A
- 1170 V
- (15358)210 648 A
- 1026(})S
- 1440 V
- (15361)210 648 A
- (/*===========================================================================*)3276 1026 A
- 1530 V
- (15362)210 648 A
- 1068(*)S
- (do_vcopy)336 2370 A
- 4260(*)S
- 1620 V
- (15363)210 648 A
- (*===========================================================================*/)3276 1068 A
- 1710 V
- (15364)210 648 A
- (PRIVATE)294 1026 A
- (int)126 1362 A
- (do_vcopy(m_ptr))630 1530 A
- 1800 V
- (15365)210 648 A
- (register)336 1026 A
- (message)294 1404 A
- (*m_ptr;)294 1740 A
- 2370(/*)S
- (pointer)294 2496 A
- 2832(to)S
- (request)294 2958 A
- (message)294 3294 A
- 3630(*/)S
- 1890 V
- (15366)210 648 A
- 1026({)S
- 1980 V
- (15367)210 648 A
- 1026(/*)S
- (Handle)252 1152 A
- (sys_vcopy().)504 1446 A
- (Copy)168 1992 A
- (multiple)336 2202 A
- (blocks)252 2580 A
- 2874(of)S
- (memory)252 3000 A
- 3294(*/)S
- 2070 V
- (15368)210 648 A
- 2160 V
- (15369)210 648 A
- (int)126 1110 A
- (src_proc,)378 1278 A
- (dst_proc,)378 1698 A
- (vect_s,)294 2118 A
- 2454(i;)S
- 2250 V
- (15370)210 648 A
- (vir_bytes)378 1110 A
- (src_vir,)336 1530 A
- (dst_vir,)336 1908 A
- (vect_addr;)420 2286 A
- 2340 V
- (15371)210 648 A
- (phys_bytes)420 1110 A
- (src_phys,)378 1572 A
- (dst_phys,)378 1992 A
- (bytes;)252 2412 A
- 2430 V
- (15372)210 648 A
- (cpvec_t)294 1110 A
- (cpvec_table[CPVEC_NR];)924 1446 A
- 2520 V
- (15373)210 648 A
- 2610 V
- (15374)210 648 A
- 1110(/*)S
- (Dismember)378 1236 A
- (the)126 1656 A
- (command)294 1824 A
- (message.)336 2160 A
- 2538(*/)S
- 2700 V
- (15375)210 648 A
- (src_proc)336 1110 A
- 1488(=)S
- (m_ptr->m1_i1;)546 1572 A
- 2790 V
- (15376)210 648 A
- (dst_proc)336 1110 A
- 1488(=)S
- (m_ptr->m1_i2;)546 1572 A
- 2880 V
- (15377)210 648 A
- (vect_s)252 1110 A
- 1404(=)S
- (m_ptr->m1_i3;)546 1488 A
- 2970 V
- (15378)210 648 A
- (vect_addr)378 1110 A
- 1530(=)S
- ((vir_bytes)m_ptr->m1_p1;)1008 1614 A
- 3060 V
- (15379)210 648 A
- 3150 V
- (15380)210 648 A
- 1110(if)S
- ((vect_s)294 1236 A
- 1572(>)S
- (CPVEC_NR))378 1656 A
- (return)252 2076 A
- (EDOM;)210 2370 A
- 3240 V
- (15381)210 648 A
- 3330 V
- (15382)210 648 A
- (src_phys=)378 1110 A
- (numap)210 1530 A
- ((m_ptr->m_source,)714 1782 A
- (vect_addr,)420 2538 A
- (vect_s)252 3000 A
- 3294(*)S
- (sizeof(cpvec_t));)714 3378 A
- 3420 V
- (15383)210 648 A
- 1110(if)S
- ((!src_phys))462 1236 A
- (return)252 1740 A
- (EFAULT;)294 2034 A
- 3510 V
- (15384)210 648 A
- (phys_copy(src_phys,)798 1110 A
- (vir2phys(cpvec_table),)924 1950 A
- 3600 V
- (15385)210 648 A
- ((phys_bytes))504 2370 A
- ((vect_s)294 2916 A
- 3252(*)S
- (sizeof(cpvec_t)));)756 3336 A
- 3690 V
- (15386)210 648 A
- 3780 V
- (15387)210 648 A
- (for)126 1110 A
- 1278((i)S
- 1404(=)S
- 1488(0;)S
- 1614(i)S
- 1698(<)S
- (vect_s;)294 1782 A
- (i++))168 2118 A
- 2328({)S
- 3870 V
- (15388)210 648 A
- (src_vir=)336 1362 A
- (cpvec_table[i].cpv_src;)966 1740 A
- 3960 V
- (15389)210 648 A
- (dst_vir=)336 1362 A
- (cpvec_table[i].cpv_dst;)966 1740 A
- 4050 V
- (15390)210 648 A
- (bytes=)252 1362 A
- (cpvec_table[i].cpv_size;)1008 1656 A
- 4140 V
- (15391)210 648 A
- (src_phys)336 1362 A
- 1740(=)S
- (numap(src_proc,src_vir,(vir_bytes)bytes);)1722 1824 A
- 4230 V
- (15392)210 648 A
- (dst_phys)336 1362 A
- 1740(=)S
- (numap(dst_proc,dst_vir,(vir_bytes)bytes);)1722 1824 A
- 4320 V
- (15393)210 648 A
- 1362(if)S
- ((src_phys)378 1488 A
- 1908(==)S
- 2034(0)S
- 2118(||)S
- (dst_phys)336 2244 A
- 2622(==)S
- 2748(0))S
- (return(EFAULT);)630 2874 A
- 4410 V
- (15394)210 648 A
- (phys_copy(src_phys,)798 1362 A
- (dst_phys,)378 2202 A
- (bytes);)294 2622 A
- 4500 V
- (15395)210 648 A
- 1110(})S
- 4590 V
- (15396)210 648 A
- (return(OK);)462 1110 A
- 4680 V
- (15397)210 648 A
- 1026(})S
- 4950 V
- (15400)210 648 A
- (/*==========================================================================*)3234 1026 A
- 5040 V
- (15401)210 648 A
- 1068(*)S
- (do_gboot)336 2370 A
- 4218(*)S
- 5130 V
- (15402)210 648 A
- (*==========================================================================*/)3234 1068 A
- 5220 V
- (15403)210 648 A
- (PUBLIC)252 1026 A
- (struct)252 1320 A
- (bparam_s)336 1614 A
- (boot_parameters;)672 1992 A
- 5310 V
- (15404)210 648 A
- 5400 V
- (15405)210 648 A
- (PRIVATE)294 1026 A
- (int)126 1362 A
- (do_gboot(m_ptr))630 1530 A
- 5490 V
- (15406)210 648 A
- (message)294 1026 A
- (*m_ptr;)294 1362 A
- 2370(/*)S
- (pointer)294 2496 A
- 2832(to)S
- (request)294 2958 A
- (message)294 3294 A
- 3630(*/)S
- 5580 V
- (15407)210 648 A
- 1026({)S
- 5670 V
- (15408)210 648 A
- 1026(/*)S
- (Copy)168 1152 A
- (the)126 1362 A
- (boot)168 1530 A
- (parameters.)462 1740 A
- (Normally)336 2286 A
- (only)168 2664 A
- (called)252 2874 A
- (during)252 3168 A
- 3462(fs)S
- (init.)210 3588 A
- 3840(*/)S
- 5760 V
- (15409)210 648 A
- 5850 V
- (15410)210 648 A
- (phys_bytes)420 1110 A
- (dst_phys;)378 1572 A
- 5940 V
- (15411)210 648 A
- 6030 V
- (15412)210 648 A
- (dst_phys)336 1110 A
- 1488(=)S
- (umap(proc_addr(m_ptr->PROC1),)1218 1572 A
- 2832(D,)S
- ((vir_bytes))462 2958 A
- (m_ptr->MEM_PTR,)630 3462 A
- 6120 V
- (15413)210 648 A
- ((vir_bytes))462 2370 A
- (sizeof(boot_parameters));)1050 2874 A
- 6210 V
- (15414)210 648 A
- 1110(if)S
- ((dst_phys)378 1236 A
- 1656(==)S
- 1782(0))S
- (panic("bad)420 1908 A
- (call)168 2370 A
- 2580(to)S
- (SYS_GBOOT",)462 2706 A
- (NO_NUM);)336 3210 A
- 8418 V
- EP
- %%Page: 216 216
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 12 B
- (216)180 648 A
- 11 R
- 1993(File:)S
- 2226(src/kernel/system.c)S
- 10 R
- 3402(MINIX)S
- 3730(SOURCE)S
- 4153(CODE)S
- 900 V
- 7 LST
- (15415)210 648 A
- (phys_copy(vir2phys(&boot_parameters),)1554 1110 A
- (dst_phys,)378 2706 A
- 990 V
- (15416)210 648 A
- ((phys_bytes))504 2370 A
- (sizeof(boot_parameters));)1050 2916 A
- 1080 V
- (15417)210 648 A
- (return(OK);)462 1110 A
- 1170 V
- (15418)210 648 A
- 1026(})S
- 1440 V
- (15421)210 648 A
- (/*===========================================================================*)3276 1026 A
- 1530 V
- (15422)210 648 A
- 1068(*)S
- (do_mem)252 2370 A
- 4260(*)S
- 1620 V
- (15423)210 648 A
- (*===========================================================================*/)3276 1068 A
- 1710 V
- (15424)210 648 A
- (PRIVATE)294 1026 A
- (int)126 1362 A
- (do_mem(m_ptr))546 1530 A
- 1800 V
- (15425)210 648 A
- (register)336 1026 A
- (message)294 1404 A
- (*m_ptr;)294 1740 A
- 2370(/*)S
- (pointer)294 2496 A
- 2832(to)S
- (request)294 2958 A
- (message)294 3294 A
- 3630(*/)S
- 1890 V
- (15426)210 648 A
- 1026({)S
- 1980 V
- (15427)210 648 A
- 1026(/*)S
- (Return)252 1152 A
- (the)126 1446 A
- (base)168 1614 A
- (and)126 1824 A
- (size)168 1992 A
- 2202(of)S
- (the)126 2328 A
- (next)168 2496 A
- (chunk)210 2706 A
- 2958(of)S
- (memory.)294 3084 A
- 3420(*/)S
- 2070 V
- (15428)210 648 A
- 2160 V
- (15429)210 648 A
- (struct)252 1110 A
- (memory)252 1404 A
- (*memp;)252 1698 A
- 2250 V
- (15430)210 648 A
- 2340 V
- (15431)210 648 A
- (for)126 1110 A
- ((memp)210 1278 A
- 1530(=)S
- (mem;)168 1614 A
- (memp)168 1824 A
- 2034(<)S
- (&mem[NR_MEMS];)588 2118 A
- (++memp))294 2748 A
- 3084({)S
- 2430 V
- (15432)210 648 A
- (m_ptr->m1_i1)504 1362 A
- 1908(=)S
- (memp->base;)462 1992 A
- 2520 V
- (15433)210 648 A
- (m_ptr->m1_i2)504 1362 A
- 1908(=)S
- (memp->size;)462 1992 A
- 2610 V
- (15434)210 648 A
- (m_ptr->m1_i3)504 1362 A
- 1908(=)S
- (tot_mem_size;)546 1992 A
- 2700 V
- (15435)210 648 A
- (memp->size)420 1362 A
- 1824(=)S
- 1908(0;)S
- 2790 V
- (15436)210 648 A
- 1362(if)S
- ((m_ptr->m1_i2)546 1488 A
- 2076(!=)S
- 2202(0))S
- (break;)252 2328 A
- 3042(/*)S
- (found)210 3168 A
- 3420(a)S
- (chunk)210 3504 A
- 3756(*/)S
- 2880 V
- (15437)210 648 A
- 1110(})S
- 2970 V
- (15438)210 648 A
- (return(OK);)462 1110 A
- 3060 V
- (15439)210 648 A
- 1026(})S
- 3330 V
- (15442)210 648 A
- (/*==========================================================================*)3234 1026 A
- 3420 V
- (15443)210 648 A
- 1068(*)S
- (do_umap)294 2370 A
- 4218(*)S
- 3510 V
- (15444)210 648 A
- (*==========================================================================*/)3234 1068 A
- 3600 V
- (15445)210 648 A
- (PRIVATE)294 1026 A
- (int)126 1362 A
- (do_umap(m_ptr))588 1530 A
- 3690 V
- (15446)210 648 A
- (register)336 1026 A
- (message)294 1404 A
- (*m_ptr;)294 1740 A
- 2370(/*)S
- (pointer)294 2496 A
- 2832(to)S
- (request)294 2958 A
- (message)294 3294 A
- 3630(*/)S
- 3780 V
- (15447)210 648 A
- 1026({)S
- 3870 V
- (15448)210 648 A
- 1026(/*)S
- (Same)168 1152 A
- 1362(as)S
- (umap(),)294 1488 A
- (for)126 1824 A
- (non-kernel)420 1992 A
- (processes.)420 2454 A
- 2916(*/)S
- 3960 V
- (15449)210 648 A
- 4050 V
- (15450)210 648 A
- (m_ptr->SRC_BUFFER)714 1110 A
- 1866(=)S
- (umap(proc_addr((int))840 1950 A
- (m_ptr->SRC_PROC_NR),)840 2832 A
- 4140 V
- (15451)210 648 A
- ((int))210 2160 A
- (m_ptr->SRC_SPACE,)714 2412 A
- 4230 V
- (15452)210 648 A
- ((vir_bytes))462 2160 A
- (m_ptr->SRC_BUFFER,)756 2664 A
- 4320 V
- (15453)210 648 A
- ((vir_bytes))462 2160 A
- (m_ptr->COPY_BYTES);)798 2664 A
- 4410 V
- (15454)210 648 A
- (return(OK);)462 1110 A
- 4500 V
- (15455)210 648 A
- 1026(})S
- 4770 V
- (15458)210 648 A
- (/*==========================================================================*)3234 1026 A
- 4860 V
- (15459)210 648 A
- 1068(*)S
- (do_trace)336 2370 A
- 4218(*)S
- 4950 V
- (15460)210 648 A
- (*==========================================================================*/)3234 1068 A
- 5040 V
- (15461)210 648 A
- (#define)294 1026 A
- (TR_PROCNR)378 1362 A
- ((m_ptr->m2_i1))588 2034 A
- 5130 V
- (15462)210 648 A
- (#define)294 1026 A
- (TR_REQUEST)420 1362 A
- ((m_ptr->m2_i2))588 2034 A
- 5220 V
- (15463)210 648 A
- (#define)294 1026 A
- (TR_ADDR)294 1362 A
- (((vir_bytes))504 2034 A
- (m_ptr->m2_l1))546 2580 A
- 5310 V
- (15464)210 648 A
- (#define)294 1026 A
- (TR_DATA)294 1362 A
- ((m_ptr->m2_l2))588 2034 A
- 5400 V
- (15465)210 648 A
- (#define)294 1026 A
- (TR_VLSIZE)378 1362 A
- (((vir_bytes))504 2034 A
- (sizeof(long)))546 2580 A
- 5490 V
- (15466)210 648 A
- 5580 V
- (15467)210 648 A
- (PRIVATE)294 1026 A
- (int)126 1362 A
- (do_trace(m_ptr))630 1530 A
- 5670 V
- (15468)210 648 A
- (register)336 1026 A
- (message)294 1404 A
- (*m_ptr;)294 1740 A
- 5760 V
- (15469)210 648 A
- 1026({)S
- 5850 V
- (15470)210 648 A
- 1026(/*)S
- (Handle)252 1152 A
- (the)126 1446 A
- (debugging)378 1614 A
- (commands)336 2034 A
- (supported)378 2412 A
- 2832(by)S
- (the)126 2958 A
- (ptrace)252 3126 A
- (system)252 3420 A
- (call)168 3714 A
- 5940 V
- (15471)210 648 A
- 1068(*)S
- (The)126 1152 A
- (commands)336 1320 A
- (are:)168 1698 A
- 6030 V
- (15472)210 648 A
- 1068(*)S
- (T_STOP)252 1152 A
- (stop)168 1698 A
- (the)126 1908 A
- (process)294 2076 A
- 6120 V
- (15473)210 648 A
- 1068(*)S
- (T_OK)168 1152 A
- (enable)252 1698 A
- (tracing)294 1992 A
- 2328(by)S
- (parent)252 2454 A
- (for)126 2748 A
- (this)168 2916 A
- (process)294 3126 A
- 6210 V
- (15474)210 648 A
- 1068(*)S
- (T_GETINS)336 1152 A
- (return)252 1698 A
- (value)210 1992 A
- (from)168 2244 A
- (instruction)462 2454 A
- (space)210 2958 A
- 8418 V
- EP
- %%Page: 217 217
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 10 R
- 648(MINIX)S
- 976(SOURCE)S
- 1399(CODE)S
- 11 R
- 1993(File:)S
- 2226(src/kernel/system.c)S
- 12 B
- (217)180 4248 A
- 900 V
- 7 LST
- (15475)210 648 A
- 1068(*)S
- (T_GETDATA)378 1152 A
- (return)252 1698 A
- (value)210 1992 A
- (from)168 2244 A
- (data)168 2454 A
- (space)210 2664 A
- 990 V
- (15476)210 648 A
- 1068(*)S
- (T_GETUSER)378 1152 A
- (return)252 1698 A
- (value)210 1992 A
- (from)168 2244 A
- (user)168 2454 A
- (process)294 2664 A
- (table)210 3000 A
- 1080 V
- (15477)210 648 A
- 1068(*)S
- (T_SETINS)336 1152 A
- (set)126 1698 A
- (value)210 1866 A
- (from)168 2118 A
- (instruction)462 2328 A
- (space)210 2832 A
- 1170 V
- (15478)210 648 A
- 1068(*)S
- (T_SETDATA)378 1152 A
- (set)126 1698 A
- (value)210 1866 A
- (from)168 2118 A
- (data)168 2328 A
- (space)210 2538 A
- 1260 V
- (15479)210 648 A
- 1068(*)S
- (T_SETUSER)378 1152 A
- (set)126 1698 A
- (value)210 1866 A
- 2118(in)S
- (user)168 2244 A
- (process)294 2454 A
- (table)210 2790 A
- 1350 V
- (15480)210 648 A
- 1068(*)S
- (T_RESUME)336 1152 A
- (resume)252 1698 A
- (execution)378 1992 A
- 1440 V
- (15481)210 648 A
- 1068(*)S
- (T_EXIT)252 1152 A
- (exit)168 1698 A
- 1530 V
- (15482)210 648 A
- 1068(*)S
- (T_STEP)252 1152 A
- (set)126 1698 A
- (trace)210 1866 A
- (bit)126 2118 A
- 1620 V
- (15483)210 648 A
- 1068(*)S
- 1710 V
- (15484)210 648 A
- 1068(*)S
- (The)126 1152 A
- (T_OK)168 1320 A
- (and)126 1530 A
- (T_EXIT)252 1698 A
- (commands)336 1992 A
- (are)126 2370 A
- (handled)294 2538 A
- (completely)420 2874 A
- 3336(by)S
- (the)126 3462 A
- (memory)252 3630 A
- (manager,)336 3924 A
- 1800 V
- (15485)210 648 A
- 1068(*)S
- (all)126 1152 A
- (others)252 1320 A
- (come)168 1614 A
- (here.)210 1824 A
- 1890 V
- (15486)210 648 A
- 1068(*/)S
- 1980 V
- (15487)210 648 A
- 2070 V
- (15488)210 648 A
- (register)336 1110 A
- (struct)252 1488 A
- (proc)168 1782 A
- (*rp;)168 1992 A
- 2160 V
- (15489)210 648 A
- (phys_bytes)420 1110 A
- (src,)168 1572 A
- (dst;)168 1782 A
- 2250 V
- (15490)210 648 A
- (int)126 1110 A
- 1278(i;)S
- 2340 V
- (15491)210 648 A
- 2430 V
- (15492)210 648 A
- 1110(rp)S
- 1236(=)S
- (proc_addr(TR_PROCNR);)882 1320 A
- 2520 V
- (15493)210 648 A
- 1110(if)S
- ((rp->p_flags)504 1236 A
- 1782(&)S
- (P_SLOT_FREE))504 1866 A
- (return(EIO);)504 2412 A
- 2610 V
- (15494)210 648 A
- (switch)252 1110 A
- ((TR_REQUEST))504 1404 A
- 1950({)S
- 2700 V
- (15495)210 648 A
- (case)168 1110 A
- (T_STOP:)294 1320 A
- 2370(/*)S
- (stop)168 2496 A
- (process)294 2706 A
- 3042(*/)S
- 2790 V
- (15496)210 648 A
- 1362(if)S
- ((rp->p_flags)504 1488 A
- 2034(==)S
- 2160(0))S
- (lock_unready(rp);)714 2286 A
- 2880 V
- (15497)210 648 A
- (rp->p_flags)462 1362 A
- 1866(|=)S
- (P_STOP;)294 1992 A
- 2970 V
- (15498)210 648 A
- (rp->p_reg.psw)546 1362 A
- 1950(&=)S
- (304TRACEBIT;)420 2076 A
- 2706(/*)S
- (clear)210 2832 A
- (trace)210 3084 A
- (bit)126 3336 A
- 3504(*/)S
- 3060 V
- (15499)210 648 A
- (return(OK);)462 1362 A
- 3150 V
- (15500)210 648 A
- 3240 V
- (15501)210 648 A
- (case)168 1110 A
- (T_GETINS:)378 1320 A
- 2370(/*)S
- (return)252 2496 A
- (value)210 2790 A
- (from)168 3042 A
- (instruction)462 3252 A
- (space)210 3756 A
- 4008(*/)S
- 3330 V
- (15502)210 648 A
- 1362(if)S
- ((rp->p_map[T].mem_len)882 1488 A
- 2412(!=)S
- 2538(0))S
- 2664({)S
- 3420 V
- (15503)210 648 A
- 1698(if)S
- (((src)210 1824 A
- 2076(=)S
- (umap(rp,)336 2160 A
- 2538(T,)S
- (TR_ADDR,)336 2664 A
- (TR_VLSIZE)))462 3042 A
- 3546(==)S
- 3672(0))S
- (return(EIO);)504 3798 A
- 3510 V
- (15504)210 648 A
- (phys_copy(src,)588 1698 A
- (vir2phys(&TR_DATA),)798 2328 A
- ((phys_bytes))504 3168 A
- (sizeof(long));)588 3714 A
- 3600 V
- (15505)210 648 A
- (break;)252 1698 A
- 3690 V
- (15506)210 648 A
- 1362(})S
- 3780 V
- (15507)210 648 A
- 1362(/*)S
- (Text)168 1488 A
- (space)210 1698 A
- 1950(is)S
- (actually)336 2076 A
- (data)168 2454 A
- (space)210 2664 A
- 2916(-)S
- (fall)168 3000 A
- (through.)336 3210 A
- 3588(*/)S
- 3870 V
- (15508)210 648 A
- 3960 V
- (15509)210 648 A
- (case)168 1110 A
- (T_GETDATA:)420 1320 A
- 2370(/*)S
- (return)252 2496 A
- (value)210 2790 A
- (from)168 3042 A
- (data)168 3252 A
- (space)210 3462 A
- 3714(*/)S
- 4050 V
- (15510)210 648 A
- 1362(if)S
- (((src)210 1488 A
- 1740(=)S
- (umap(rp,)336 1824 A
- 2202(D,)S
- (TR_ADDR,)336 2328 A
- (TR_VLSIZE)))462 2706 A
- 3210(==)S
- 3336(0))S
- (return(EIO);)504 3462 A
- 4140 V
- (15511)210 648 A
- (phys_copy(src,)588 1362 A
- (vir2phys(&TR_DATA),)798 1992 A
- ((phys_bytes))504 2832 A
- (sizeof(long));)588 3378 A
- 4230 V
- (15512)210 648 A
- (break;)252 1362 A
- 4320 V
- (15513)210 648 A
- 4410 V
- (15514)210 648 A
- (case)168 1110 A
- (T_GETUSER:)420 1320 A
- 2370(/*)S
- (return)252 2496 A
- (value)210 2790 A
- (from)168 3042 A
- (process)294 3252 A
- (table)210 3588 A
- 3840(*/)S
- 4500 V
- (15515)210 648 A
- 1362(if)S
- (((TR_ADDR)378 1488 A
- 1908(&)S
- ((sizeof(long))546 1992 A
- 2580(-)S
- (1)))126 2664 A
- 2832(!=)S
- 2958(0)S
- 3042(||)S
- 4590 V
- (15516)210 648 A
- (TR_ADDR)294 1530 A
- 1866(>)S
- (sizeof(struct)546 1950 A
- (proc))210 2538 A
- 2790(-)S
- (sizeof(long)))546 2874 A
- 4680 V
- (15517)210 648 A
- (return(EIO);)504 1698 A
- 4770 V
- (15518)210 648 A
- (TR_DATA)294 1362 A
- 1698(=)S
- (*(long)252 1782 A
- 2076(*))S
- (((char)252 2202 A
- 2496(*))S
- 2622(rp)S
- 2748(+)S
- ((int))210 2832 A
- (TR_ADDR);)378 3084 A
- 4860 V
- (15519)210 648 A
- (break;)252 1362 A
- 4950 V
- (15520)210 648 A
- 5040 V
- (15521)210 648 A
- (case)168 1110 A
- (T_SETINS:)378 1320 A
- 2370(/*)S
- (set)126 2496 A
- (value)210 2664 A
- 2916(in)S
- (instruction)462 3042 A
- (space)210 3546 A
- 3798(*/)S
- 5130 V
- (15522)210 648 A
- 1362(if)S
- ((rp->p_map[T].mem_len)882 1488 A
- 2412(!=)S
- 2538(0))S
- 2664({)S
- 5220 V
- (15523)210 648 A
- 1698(if)S
- (((dst)210 1824 A
- 2076(=)S
- (umap(rp,)336 2160 A
- 2538(T,)S
- (TR_ADDR,)336 2664 A
- (TR_VLSIZE)))462 3042 A
- 3546(==)S
- 3672(0))S
- (return(EIO);)504 3798 A
- 5310 V
- (15524)210 648 A
- (phys_copy(vir2phys(&TR_DATA),)1218 1698 A
- (dst,)168 2958 A
- ((phys_bytes))504 3168 A
- (sizeof(long));)588 3714 A
- 5400 V
- (15525)210 648 A
- (TR_DATA)294 1698 A
- 2034(=)S
- 2118(0;)S
- 5490 V
- (15526)210 648 A
- (break;)252 1698 A
- 5580 V
- (15527)210 648 A
- 1362(})S
- 5670 V
- (15528)210 648 A
- 1362(/*)S
- (Text)168 1488 A
- (space)210 1698 A
- 1950(is)S
- (actually)336 2076 A
- (data)168 2454 A
- (space)210 2664 A
- 2916(-)S
- (fall)168 3000 A
- (through.)336 3210 A
- 3588(*/)S
- 5760 V
- (15529)210 648 A
- 5850 V
- (15530)210 648 A
- (case)168 1110 A
- (T_SETDATA:)420 1320 A
- 2706(/*)S
- (set)126 2832 A
- (value)210 3000 A
- 3252(in)S
- (data)168 3378 A
- (space)210 3588 A
- 3840(*/)S
- 5940 V
- (15531)210 648 A
- 1362(if)S
- (((dst)210 1488 A
- 1740(=)S
- (umap(rp,)336 1824 A
- 2202(D,)S
- (TR_ADDR,)336 2328 A
- (TR_VLSIZE)))462 2706 A
- 3210(==)S
- 3336(0))S
- (return(EIO);)504 3462 A
- 6030 V
- (15532)210 648 A
- (phys_copy(vir2phys(&TR_DATA),)1218 1362 A
- (dst,)168 2622 A
- ((phys_bytes))504 2832 A
- (sizeof(long));)588 3378 A
- 6120 V
- (15533)210 648 A
- (TR_DATA)294 1362 A
- 1698(=)S
- 1782(0;)S
- 6210 V
- (15534)210 648 A
- (break;)252 1362 A
- 8418 V
- EP
- %%Page: 218 218
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 12 B
- (218)180 648 A
- 11 R
- 1993(File:)S
- 2226(src/kernel/system.c)S
- 10 R
- 3402(MINIX)S
- 3730(SOURCE)S
- 4153(CODE)S
- 900 V
- 7 LST
- (15535)210 648 A
- 990 V
- (15536)210 648 A
- (case)168 1110 A
- (T_SETUSER:)420 1320 A
- 2706(/*)S
- (set)126 2832 A
- (value)210 3000 A
- 3252(in)S
- (process)294 3378 A
- (table)210 3714 A
- 3966(*/)S
- 1080 V
- (15537)210 648 A
- 1362(if)S
- (((TR_ADDR)378 1488 A
- 1908(&)S
- ((sizeof(reg_t))588 1992 A
- 2622(-)S
- (1)))126 2706 A
- 2874(!=)S
- 3000(0)S
- 3084(||)S
- 1170 V
- (15538)210 648 A
- (TR_ADDR)294 1572 A
- 1908(>)S
- (sizeof(struct)546 1992 A
- (stackframe_s))546 2580 A
- 3168(-)S
- (sizeof(reg_t)))588 3252 A
- 1260 V
- (15539)210 648 A
- (return(EIO);)504 1698 A
- 1350 V
- (15540)210 648 A
- 1362(i)S
- 1446(=)S
- ((int))210 1530 A
- (TR_ADDR;)336 1782 A
- 1440 V
- (15541)210 648 A
- (#if)126 1026 A
- ((CHIP)210 1194 A
- 1446(==)S
- (INTEL))252 1572 A
- 1530 V
- (15542)210 648 A
- 1362(/*)S
- (Altering)336 1488 A
- (segment)294 1866 A
- (registers)378 2202 A
- (might)210 2622 A
- (crash)210 2874 A
- (the)126 3126 A
- (kernel)252 3294 A
- (when)168 3588 A
- 3798(it)S
- 1620 V
- (15543)210 648 A
- 1404(*)S
- (tries)210 1488 A
- 1740(to)S
- (load)168 1866 A
- (them)168 2076 A
- (prior)210 2286 A
- 2538(to)S
- (restarting)420 2664 A
- 3126(a)S
- (process,)336 3210 A
- 3588(so)S
- 3714(do)S
- 1710 V
- (15544)210 648 A
- 1404(*)S
- (not)126 1488 A
- (allow)210 1656 A
- (it.)126 1908 A
- 1800 V
- (15545)210 648 A
- 1404(*/)S
- 1890 V
- (15546)210 648 A
- 1362(if)S
- 1488((i)S
- 1614(==)S
- ((int))210 1740 A
- (&((struct)378 1992 A
- (proc)168 2412 A
- 2622(*))S
- (0)->p_reg.cs)504 2748 A
- 3294(||)S
- 1980 V
- (15547)210 648 A
- 1530(i)S
- 1614(==)S
- ((int))210 1740 A
- (&((struct)378 1992 A
- (proc)168 2412 A
- 2622(*))S
- (0)->p_reg.ds)504 2748 A
- 3294(||)S
- 2070 V
- (15548)210 648 A
- 1530(i)S
- 1614(==)S
- ((int))210 1740 A
- (&((struct)378 1992 A
- (proc)168 2412 A
- 2622(*))S
- (0)->p_reg.es)504 2748 A
- 3294(||)S
- 2160 V
- (15549)210 648 A
- (#if)126 1026 A
- (_WORD_SIZE)420 1194 A
- 1656(==)S
- 1782(4)S
- 2250 V
- (15550)210 648 A
- 1530(i)S
- 1614(==)S
- ((int))210 1740 A
- (&((struct)378 1992 A
- (proc)168 2412 A
- 2622(*))S
- (0)->p_reg.gs)504 2748 A
- 3294(||)S
- 2340 V
- (15551)210 648 A
- 1530(i)S
- 1614(==)S
- ((int))210 1740 A
- (&((struct)378 1992 A
- (proc)168 2412 A
- 2622(*))S
- (0)->p_reg.fs)504 2748 A
- 3294(||)S
- 2430 V
- (15552)210 648 A
- (#endif)252 1026 A
- 2520 V
- (15553)210 648 A
- 1530(i)S
- 1614(==)S
- ((int))210 1740 A
- (&((struct)378 1992 A
- (proc)168 2412 A
- 2622(*))S
- (0)->p_reg.ss))546 2748 A
- 2610 V
- (15554)210 648 A
- (return(EIO);)504 1698 A
- 2700 V
- (15555)210 648 A
- (#endif)252 1026 A
- 2790 V
- (15556)210 648 A
- 1362(if)S
- 1488((i)S
- 1614(==)S
- ((int))210 1740 A
- (&((struct)378 1992 A
- (proc)168 2412 A
- 2622(*))S
- (0)->p_reg.psw))588 2748 A
- 2880 V
- (15557)210 648 A
- 1698(/*)S
- (only)168 1824 A
- (selected)336 2034 A
- (bits)168 2412 A
- (are)126 2622 A
- (changeable)420 2790 A
- 3252(*/)S
- 2970 V
- (15558)210 648 A
- (SETPSW(rp,)420 1698 A
- (TR_DATA);)378 2160 A
- 3060 V
- (15559)210 648 A
- (else)168 1362 A
- 3150 V
- (15560)210 648 A
- (*(reg_t)294 1698 A
- 2034(*))S
- (((char)252 2160 A
- 2454(*))S
- (&rp->p_reg)420 2580 A
- 3042(+)S
- 3126(i))S
- 3252(=)S
- ((reg_t))294 3336 A
- (TR_DATA;)336 3672 A
- 3240 V
- (15561)210 648 A
- (TR_DATA)294 1362 A
- 1698(=)S
- 1782(0;)S
- 3330 V
- (15562)210 648 A
- (break;)252 1362 A
- 3420 V
- (15563)210 648 A
- 3510 V
- (15564)210 648 A
- (case)168 1110 A
- (T_RESUME:)378 1320 A
- 2370(/*)S
- (resume)252 2496 A
- (execution)378 2790 A
- 3210(*/)S
- 3600 V
- (15565)210 648 A
- (rp->p_flags)462 1362 A
- 1866(&=)S
- (304P_STOP;)336 1992 A
- 3690 V
- (15566)210 648 A
- 1362(if)S
- ((rp->p_flags)504 1488 A
- 2034(==)S
- 2160(0))S
- (lock_ready(rp);)630 2286 A
- 3780 V
- (15567)210 648 A
- (TR_DATA)294 1362 A
- 1698(=)S
- 1782(0;)S
- 3870 V
- (15568)210 648 A
- (break;)252 1362 A
- 3960 V
- (15569)210 648 A
- 4050 V
- (15570)210 648 A
- (case)168 1110 A
- (T_STEP:)294 1320 A
- 2370(/*)S
- (set)126 2496 A
- (trace)210 2664 A
- (bit)126 2916 A
- 3084(*/)S
- 4140 V
- (15571)210 648 A
- (rp->p_reg.psw)546 1362 A
- 1950(|=)S
- (TRACEBIT;)378 2076 A
- 4230 V
- (15572)210 648 A
- (rp->p_flags)462 1362 A
- 1866(&=)S
- (304P_STOP;)336 1992 A
- 4320 V
- (15573)210 648 A
- 1362(if)S
- ((rp->p_flags)504 1488 A
- 2034(==)S
- 2160(0))S
- (lock_ready(rp);)630 2286 A
- 4410 V
- (15574)210 648 A
- (TR_DATA)294 1362 A
- 1698(=)S
- 1782(0;)S
- 4500 V
- (15575)210 648 A
- (break;)252 1362 A
- 4590 V
- (15576)210 648 A
- 4680 V
- (15577)210 648 A
- (default:)336 1110 A
- 4770 V
- (15578)210 648 A
- (return(EIO);)504 1362 A
- 4860 V
- (15579)210 648 A
- 1110(})S
- 4950 V
- (15580)210 648 A
- (return(OK);)462 1110 A
- 5040 V
- (15581)210 648 A
- 1026(})S
- 5220 V
- (15583)210 648 A
- (/*===========================================================================*)3276 1026 A
- 5310 V
- (15584)210 648 A
- 1068(*)S
- (cause_sig)378 2370 A
- 4260(*)S
- 5400 V
- (15585)210 648 A
- (*===========================================================================*/)3276 1068 A
- 5490 V
- (15586)210 648 A
- (PUBLIC)252 1026 A
- (void)168 1320 A
- (cause_sig(proc_nr,)756 1530 A
- (sig_nr))294 2328 A
- 5580 V
- (15587)210 648 A
- (int)126 1026 A
- (proc_nr;)336 1194 A
- 2370(/*)S
- (process)294 2496 A
- 2832(to)S
- 2958(be)S
- (signalled)378 3084 A
- 3504(*/)S
- 5670 V
- (15588)210 648 A
- (int)126 1026 A
- (sig_nr;)294 1194 A
- 2370(/*)S
- (signal)252 2496 A
- 2790(to)S
- 2916(be)S
- (sent,)210 3042 A
- 3294(1)S
- 3378(to)S
- (_NSIG)210 3504 A
- 3756(*/)S
- 5760 V
- (15589)210 648 A
- 1026({)S
- 5850 V
- (15590)210 648 A
- 1026(/*)S
- 1152(A)S
- (task)168 1236 A
- (wants)210 1446 A
- 1698(to)S
- (send)168 1824 A
- 2034(a)S
- (signal)252 2118 A
- 2412(to)S
- 2538(a)S
- (process.)336 2622 A
- (Examples)336 3084 A
- 3462(of)S
- (such)168 3588 A
- (tasks)210 3798 A
- (are:)168 4050 A
- 5940 V
- (15591)210 648 A
- 1068(*)S
- (TTY)126 1236 A
- (wanting)294 1404 A
- 1740(to)S
- (cause)210 1866 A
- (SIGINT)252 2118 A
- (upon)168 2412 A
- (getting)294 2622 A
- 2958(a)S
- (DEL)126 3042 A
- 6030 V
- (15592)210 648 A
- 1068(*)S
- (CLOCK)210 1236 A
- (wanting)294 1488 A
- 1824(to)S
- (cause)210 1950 A
- (SIGALRM)294 2202 A
- (when)168 2538 A
- (timer)210 2748 A
- (expires)294 3000 A
- 6120 V
- (15593)210 648 A
- 1068(*)S
- 1152(FS)S
- (also)168 1278 A
- (uses)168 1488 A
- (this)168 1698 A
- 1908(to)S
- (send)168 2034 A
- 2244(a)S
- (signal,)294 2328 A
- (via)126 2664 A
- (the)126 2832 A
- (SYS_KILL)336 3000 A
- (message.)336 3378 A
- 6210 V
- (15594)210 648 A
- 1068(*)S
- (Signals)294 1152 A
- (are)126 1488 A
- (handled)294 1656 A
- 1992(by)S
- (sending)294 2118 A
- 2454(a)S
- (message)294 2538 A
- 2874(to)S
- (MM.)126 3000 A
- (The)126 3210 A
- (tasks)210 3378 A
- (don't)210 3630 A
- (dare)168 3882 A
- 4092(do)S
- 8418 V
- EP
- %%Page: 219 219
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 10 R
- 648(MINIX)S
- 976(SOURCE)S
- 1399(CODE)S
- 11 R
- 1993(File:)S
- 2226(src/kernel/system.c)S
- 12 B
- (219)180 4248 A
- 900 V
- 7 LST
- (15595)210 648 A
- 1068(*)S
- (that)168 1152 A
- (directly,)378 1362 A
- (for)126 1782 A
- (fear)168 1950 A
- 2160(of)S
- (what)168 2286 A
- (would)210 2496 A
- (happen)252 2748 A
- 3042(if)S
- 3168(MM)S
- (were)168 3294 A
- (busy.)210 3504 A
- (Instead)294 3798 A
- (they)168 4134 A
- 990 V
- (15596)210 648 A
- 1068(*)S
- (call)168 1152 A
- (cause_sig,)420 1362 A
- (which)210 1824 A
- (sets)168 2076 A
- (bits)168 2286 A
- 2496(in)S
- (p_pending,)420 2622 A
- (and)126 3084 A
- (then)168 3252 A
- (carefully)378 3462 A
- (checks)252 3882 A
- 4176(to)S
- 1080 V
- (15597)210 648 A
- 1068(*)S
- (see)126 1152 A
- 1320(if)S
- 1446(MM)S
- 1572(is)S
- (free.)210 1698 A
- 1992(If)S
- (so,)126 2118 A
- 2286(a)S
- (message)294 2370 A
- 2706(is)S
- (sent)168 2832 A
- 3042(to)S
- (it.)126 3168 A
- 3378(If)S
- (not,)168 3504 A
- (when)168 3714 A
- 3924(it)S
- (becomes)294 4050 A
- 1170 V
- (15598)210 648 A
- 1068(*)S
- (free,)210 1152 A
- 1404(a)S
- (message)294 1488 A
- 1824(is)S
- (sent.)210 1950 A
- (The)126 2244 A
- (process)294 2412 A
- (being)210 2748 A
- (signaled)336 3000 A
- 3378(is)S
- (blocked)294 3504 A
- (while)210 3840 A
- 4092(MM)S
- 1260 V
- (15599)210 648 A
- 1068(*)S
- (has)126 1152 A
- (not)126 1320 A
- (seen)168 1488 A
- 1698(or)S
- (finished)336 1824 A
- (with)168 2202 A
- (all)126 2412 A
- (signals)294 2580 A
- (for)126 2916 A
- (it.)126 3084 A
- (These)210 3294 A
- (signals)294 3546 A
- (are)126 3882 A
- 1350 V
- (15600)210 648 A
- 1068(*)S
- (counted)294 1152 A
- 1488(in)S
- (p_pendcount,)504 1614 A
- (and)126 2160 A
- (the)126 2328 A
- (SIG_PENDING)462 2496 A
- (flag)168 3000 A
- 3210(is)S
- (kept)168 3336 A
- (nonzero)294 3546 A
- (while)210 3882 A
- 1440 V
- (15601)210 648 A
- 1068(*)S
- (there)210 1152 A
- (are)126 1404 A
- (some.)210 1572 A
- 1866(It)S
- 1992(is)S
- (not)126 2118 A
- (sufficient)420 2286 A
- 2748(to)S
- (ready)210 2874 A
- (the)126 3126 A
- (process)294 3294 A
- (when)168 3630 A
- 3840(MM)S
- 3966(is)S
- 1530 V
- (15602)210 648 A
- 1068(*)S
- (informed,)378 1152 A
- (because)294 1572 A
- 1908(MM)S
- (can)126 2034 A
- (block)210 2202 A
- (waiting)294 2454 A
- (for)126 2790 A
- 2958(FS)S
- 3084(to)S
- 3210(do)S
- 3336(a)S
- (core)168 3420 A
- (dump.)210 3630 A
- 1620 V
- (15603)210 648 A
- 1068(*/)S
- 1710 V
- (15604)210 648 A
- 1800 V
- (15605)210 648 A
- (register)336 1110 A
- (struct)252 1488 A
- (proc)168 1782 A
- (*rp,)168 1992 A
- (*mmp;)210 2202 A
- 1890 V
- (15606)210 648 A
- 1980 V
- (15607)210 648 A
- 1110(rp)S
- 1236(=)S
- (proc_addr(proc_nr);)798 1320 A
- 2070 V
- (15608)210 648 A
- 1110(if)S
- ((sigismember(&rp->p_pending,)1176 1236 A
- (sig_nr)))336 2454 A
- 2160 V
- (15609)210 648 A
- (return;)294 1362 A
- 2370(/*)S
- (this)168 2496 A
- (signal)252 2706 A
- (already)294 3000 A
- (pending)294 3336 A
- 3672(*/)S
- 2250 V
- (15610)210 648 A
- (sigaddset(&rp->p_pending,)1050 1110 A
- (sig_nr);)336 2202 A
- 2340 V
- (15611)210 648 A
- (++rp->p_pendcount;)756 1110 A
- 2370(/*)S
- (count)210 2496 A
- (new)126 2748 A
- (signal)252 2916 A
- (pending)294 3210 A
- 3546(*/)S
- 2430 V
- (15612)210 648 A
- 1110(if)S
- ((rp->p_flags)504 1236 A
- 1782(&)S
- (PENDING))336 1866 A
- 2520 V
- (15613)210 648 A
- (return;)294 1362 A
- 2370(/*)S
- (another)294 2496 A
- (signal)252 2832 A
- (already)294 3126 A
- (pending)294 3462 A
- 3798(*/)S
- 2610 V
- (15614)210 648 A
- 1110(if)S
- ((rp->p_flags)504 1236 A
- 1782(==)S
- 1908(0))S
- (lock_unready(rp);)714 2034 A
- 2700 V
- (15615)210 648 A
- (rp->p_flags)462 1110 A
- 1614(|=)S
- (PENDING)294 1740 A
- 2076(|)S
- (SIG_PENDING;)504 2160 A
- 2790 V
- (15616)210 648 A
- (++sig_procs;)504 1110 A
- 2370(/*)S
- (count)210 2496 A
- (new)126 2748 A
- (process)294 2916 A
- (pending)294 3252 A
- 3588(*/)S
- 2880 V
- (15617)210 648 A
- 2970 V
- (15618)210 648 A
- (mmp)126 1110 A
- 1278(=)S
- (proc_addr(MM_PROC_NR);)924 1362 A
- 3060 V
- (15619)210 648 A
- 1110(if)S
- 1236(()S
- (((mmp->p_flags)588 1320 A
- 1950(&)S
- (RECEIVING))420 2034 A
- 2496(==)S
- 2622(0))S
- 2748(||)S
- (mmp->p_getfrom)588 2874 A
- 3504(!=)S
- (ANY))168 3630 A
- (return;)294 3840 A
- 3150 V
- (15620)210 648 A
- (inform();)378 1110 A
- 3240 V
- (15621)210 648 A
- 1026(})S
- 3510 V
- (15624)210 648 A
- (/*===========================================================================*)3276 1026 A
- 3600 V
- (15625)210 648 A
- 1068(*)S
- (inform)252 2370 A
- 4260(*)S
- 3690 V
- (15626)210 648 A
- (*===========================================================================*/)3276 1068 A
- 3780 V
- (15627)210 648 A
- (PUBLIC)252 1026 A
- (void)168 1320 A
- (inform())336 1530 A
- 3870 V
- (15628)210 648 A
- 1026({)S
- 3960 V
- (15629)210 648 A
- 1026(/*)S
- (When)168 1152 A
- 1362(a)S
- (signal)252 1446 A
- 1740(is)S
- (detected)336 1866 A
- 2244(by)S
- (the)126 2370 A
- (kernel)252 2538 A
- ((e.g.,)252 2832 A
- (DEL),)210 3126 A
- 3378(or)S
- (generated)378 3504 A
- 3924(by)S
- 4050(a)S
- (task)168 4134 A
- 4050 V
- (15630)210 648 A
- 1068(*)S
- ((e.g.)210 1152 A
- (clock)210 1404 A
- (task)168 1656 A
- (for)126 1866 A
- (SIGALRM),)378 2034 A
- (cause_sig())462 2454 A
- 2958(is)S
- (called)252 3084 A
- 3378(to)S
- (set)126 3504 A
- 3672(a)S
- (bit)126 3756 A
- 3924(in)S
- (the)126 4050 A
- 4140 V
- (15631)210 648 A
- 1068(*)S
- (p_pending)378 1152 A
- (field)210 1572 A
- 1824(of)S
- (the)126 1950 A
- (process)294 2118 A
- 2454(to)S
- (signal.)294 2580 A
- (Then)168 2958 A
- (inform())336 3168 A
- 3546(is)S
- (called)252 3672 A
- 3966(to)S
- (see)126 4092 A
- 4230 V
- (15632)210 648 A
- 1068(*)S
- 1152(if)S
- 1278(MM)S
- 1404(is)S
- (idle)168 1530 A
- (and)126 1740 A
- (can)126 1908 A
- 2076(be)S
- (told)168 2202 A
- (about)210 2412 A
- (it.)126 2664 A
- (Whenever)336 2874 A
- 3252(MM)S
- (blocks,)294 3378 A
- 3714(a)S
- (check)210 3798 A
- 4050(is)S
- 4320 V
- (15633)210 648 A
- 1068(*)S
- (made)168 1152 A
- 1362(to)S
- (see)126 1488 A
- 1656(if)S
- ('sig_procs')462 1782 A
- 2286(is)S
- (nonzero;)336 2412 A
- 2790(if)S
- (so,)126 2916 A
- (inform())336 3084 A
- 3462(is)S
- (called.)294 3588 A
- 4410 V
- (15634)210 648 A
- 1068(*/)S
- 4500 V
- (15635)210 648 A
- 4590 V
- (15636)210 648 A
- (register)336 1110 A
- (struct)252 1488 A
- (proc)168 1782 A
- (*rp;)168 1992 A
- 4680 V
- (15637)210 648 A
- 4770 V
- (15638)210 648 A
- 1110(/*)S
- 1236(MM)S
- 1362(is)S
- (waiting)294 1488 A
- (for)126 1824 A
- (new)126 1992 A
- (input.)252 2160 A
- (Find)168 2496 A
- 2706(a)S
- (process)294 2790 A
- (with)168 3126 A
- (pending)294 3336 A
- (signals.)336 3672 A
- 4050(*/)S
- 4860 V
- (15639)210 648 A
- (for)126 1110 A
- ((rp)126 1278 A
- 1446(=)S
- (BEG_SERV_ADDR;)588 1530 A
- 2160(rp)S
- 2286(<)S
- (END_PROC_ADDR;)588 2370 A
- (rp++))210 3000 A
- 4950 V
- (15640)210 648 A
- 1362(if)S
- ((rp->p_flags)504 1488 A
- 2034(&)S
- (PENDING))336 2118 A
- 2496({)S
- 5040 V
- (15641)210 648 A
- (m.m_type)336 1698 A
- 2076(=)S
- (KSIG;)210 2160 A
- 5130 V
- (15642)210 648 A
- (m.SIG_PROC)420 1698 A
- 2160(=)S
- (proc_number(rp);)672 2244 A
- 5220 V
- (15643)210 648 A
- (m.SIG_MAP)378 1698 A
- 2118(=)S
- (rp->p_pending;)588 2202 A
- 5310 V
- (15644)210 648 A
- (sig_procs--;)504 1698 A
- 5400 V
- (15645)210 648 A
- 1698(if)S
- ((lock_mini_send(proc_addr(HARDWARE),)1512 1824 A
- (MM_PROC_NR,)462 3378 A
- (&m))126 3882 A
- 4050(!=)S
- (OK))126 4176 A
- 5490 V
- (15646)210 648 A
- (panic("can't)504 2034 A
- (inform)252 2580 A
- (MM",)168 2874 A
- (NO_NUM);)336 3084 A
- 5580 V
- (15647)210 648 A
- (sigemptyset(&rp->p_pending);)1176 1698 A
- 2916(/*)S
- (the)126 3042 A
- (ball)168 3210 A
- 3420(is)S
- (now)126 3546 A
- 3714(in)S
- (MM's)168 3840 A
- (court)210 4050 A
- 4302(*/)S
- 5670 V
- (15648)210 648 A
- (rp->p_flags)462 1698 A
- 2202(&=)S
- (304PENDING;/*)462 2328 A
- (remains)294 2832 A
- (inhibited)378 3168 A
- 3588(by)S
- (SIG_PENDING)462 3714 A
- 4218(*/)S
- 5760 V
- (15649)210 648 A
- (lock_pick_proc();)714 1698 A
- 2706(/*)S
- (avoid)210 2832 A
- (delay)210 3084 A
- 3336(in)S
- (scheduling)420 3462 A
- 3924(MM)S
- 4050(*/)S
- 5850 V
- (15650)210 648 A
- (return;)294 1698 A
- 5940 V
- (15651)210 648 A
- 1362(})S
- 6030 V
- (15652)210 648 A
- 1026(})S
- 8418 V
- EP
- %%Page: 220 220
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 12 B
- (220)180 648 A
- 11 R
- 1993(File:)S
- 2226(src/kernel/system.c)S
- 10 R
- 3402(MINIX)S
- 3730(SOURCE)S
- 4153(CODE)S
- 900 V
- 7 LST
- (15655)210 648 A
- (/*===========================================================================*)3276 1026 A
- 990 V
- (15656)210 648 A
- 1068(*)S
- (umap)168 2370 A
- 4260(*)S
- 1080 V
- (15657)210 648 A
- (*===========================================================================*/)3276 1068 A
- 1170 V
- (15658)210 648 A
- (PUBLIC)252 1026 A
- (phys_bytes)420 1320 A
- (umap(rp,)336 1782 A
- (seg,)168 2160 A
- (vir_addr,)378 2370 A
- (bytes))252 2790 A
- 1260 V
- (15659)210 648 A
- (register)336 1026 A
- (struct)252 1404 A
- (proc)168 1698 A
- (*rp;)168 1908 A
- 2370(/*)S
- (pointer)294 2496 A
- 2832(to)S
- (proc)168 2958 A
- (table)210 3168 A
- (entry)210 3420 A
- (for)126 3672 A
- (process)294 3840 A
- 4176(*/)S
- 1350 V
- (15660)210 648 A
- (int)126 1026 A
- (seg;)168 1194 A
- 2370(/*)S
- 2496(T,)S
- 2622(D,)S
- 2748(or)S
- 2874(S)S
- (segment)294 2958 A
- 3294(*/)S
- 1440 V
- (15661)210 648 A
- (vir_bytes)378 1026 A
- (vir_addr;)378 1446 A
- 2370(/*)S
- (virtual)294 2496 A
- (address)294 2832 A
- 3168(in)S
- (bytes)210 3294 A
- (within)252 3546 A
- (the)126 3840 A
- (seg)126 4008 A
- 4176(*/)S
- 1530 V
- (15662)210 648 A
- (vir_bytes)378 1026 A
- (bytes;)252 1446 A
- 2370(/*)S
- 2496(#)S
- 2580(of)S
- (bytes)210 2706 A
- 2958(to)S
- 3084(be)S
- (copied)252 3210 A
- 3504(*/)S
- 1620 V
- (15663)210 648 A
- 1026({)S
- 1710 V
- (15664)210 648 A
- 1026(/*)S
- (Calculate)378 1152 A
- (the)126 1572 A
- (physical)336 1740 A
- (memory)252 2118 A
- (address)294 2412 A
- (for)126 2748 A
- 2916(a)S
- (given)210 3000 A
- (virtual)294 3252 A
- (address.)336 3588 A
- 3966(*/)S
- 1800 V
- (15665)210 648 A
- 1890 V
- (15666)210 648 A
- (vir_clicks)420 1110 A
- (vc;)126 1572 A
- 2370(/*)S
- (the)126 2496 A
- (virtual)294 2664 A
- (address)294 3000 A
- 3336(in)S
- (clicks)252 3462 A
- 3756(*/)S
- 1980 V
- (15667)210 648 A
- (phys_bytes)420 1110 A
- (pa;)126 1572 A
- 2370(/*)S
- (intermediate)504 2496 A
- (variables)378 3042 A
- 3462(as)S
- (phys_bytes)420 3588 A
- 4050(*/)S
- 2070 V
- (15668)210 648 A
- (phys_bytes)420 1110 A
- (seg_base;)378 1572 A
- 2160 V
- (15669)210 648 A
- 2250 V
- (15670)210 648 A
- 1110(/*)S
- 1236(If)S
- ('seg')210 1362 A
- 1614(is)S
- 1740(D)S
- 1824(it)S
- (could)210 1950 A
- (really)252 2202 A
- 2496(be)S
- 2622(S)S
- (and)126 2706 A
- (vice)168 2874 A
- (versa.)252 3084 A
- 3420(T)S
- (really)252 3504 A
- (means)210 3798 A
- 4050(T.)S
- 2340 V
- (15671)210 648 A
- 1152(*)S
- 1236(If)S
- (the)126 1362 A
- (virtual)294 1530 A
- (address)294 1866 A
- (falls)210 2202 A
- 2454(in)S
- (the)126 2580 A
- (gap,)168 2748 A
- 3000(it)S
- (causes)252 3126 A
- 3420(a)S
- (problem.)336 3504 A
- 3882(On)S
- (the)126 4008 A
- 2430 V
- (15672)210 648 A
- 1152(*)S
- (8088)168 1236 A
- 1446(it)S
- 1572(is)S
- (probably)336 1698 A
- 2076(a)S
- (legal)210 2160 A
- (stack)210 2412 A
- (reference,)420 2664 A
- (since)210 3126 A
- ("stackfaults")546 3378 A
- (are)126 3966 A
- 2520 V
- (15673)210 648 A
- 1152(*)S
- (not)126 1236 A
- (detected)336 1404 A
- 1782(by)S
- (the)126 1908 A
- (hardware.)378 2076 A
- 2538(On)S
- (8088s,)252 2664 A
- (the)126 2958 A
- (gap)126 3126 A
- 3294(is)S
- (called)252 3420 A
- 3714(S)S
- (and)126 3798 A
- 2610 V
- (15674)210 648 A
- 1152(*)S
- (accepted,)378 1236 A
- (but)126 1656 A
- 1824(on)S
- (other)210 1950 A
- (machines)336 2202 A
- 2580(it)S
- 2706(is)S
- (called)252 2832 A
- 3126(D)S
- (and)126 3210 A
- (rejected.)378 3378 A
- 2700 V
- (15675)210 648 A
- 1152(*)S
- (The)126 1236 A
- (Atari)210 1404 A
- 1656(ST)S
- (behaves)294 1782 A
- (like)168 2118 A
- (the)126 2328 A
- (8088)168 2496 A
- 2706(in)S
- (this)168 2832 A
- (respect.)336 3042 A
- 2790 V
- (15676)210 648 A
- 1152(*/)S
- 2880 V
- (15677)210 648 A
- 2970 V
- (15678)210 648 A
- 1110(if)S
- ((bytes)252 1236 A
- 1530(<=)S
- 1656(0))S
- (return()294 1782 A
- ((phys_bytes))504 2118 A
- (0);)126 2664 A
- 3060 V
- (15679)210 648 A
- 1110(vc)S
- 1236(=)S
- ((vir_addr)378 1320 A
- 1740(+)S
- (bytes)210 1824 A
- 2076(-)S
- 2160(1))S
- 2286(>>)S
- (CLICK_SHIFT;)504 2412 A
- 3042(/*)S
- (last)168 3168 A
- (click)210 3378 A
- 3630(of)S
- (data)168 3756 A
- 3966(*/)S
- 3150 V
- (15680)210 648 A
- 3240 V
- (15681)210 648 A
- 1110(if)S
- ((seg)168 1236 A
- 1446(!=)S
- 1572(T))S
- 3330 V
- (15682)210 648 A
- (seg)126 1362 A
- 1530(=)S
- ((vc)126 1614 A
- 1782(<)S
- (rp->p_map[D].mem_vir)840 1866 A
- 2748(+)S
- (rp->p_map[D].mem_len)840 2832 A
- 3714(?)S
- 3798(D)S
- 3882(:)S
- (S);)126 3966 A
- 3420 V
- (15683)210 648 A
- 3510 V
- (15684)210 648 A
- (if((vir_addr>>CLICK_SHIFT))1092 1110 A
- 2244(>=)S
- (rp->p_map[seg].mem_vir+)966 2370 A
- (rp->p_map[seg].mem_len))966 3378 A
- 3600 V
- (15685)210 648 A
- (return()294 1362 A
- ((phys_bytes))504 1698 A
- 2244(0)S
- 2328();)S
- 3690 V
- (15686)210 648 A
- (seg_base)336 1110 A
- 1488(=)S
- ((phys_bytes))504 1572 A
- (rp->p_map[seg].mem_phys;)1008 2118 A
- 3780 V
- (15687)210 648 A
- (seg_base)336 1110 A
- 1488(=)S
- (seg_base)336 1572 A
- 1950(<<)S
- (CLICK_SHIFT;)504 2076 A
- 2706(/*)S
- (segment)294 2832 A
- (origin)252 3168 A
- 3462(in)S
- (bytes)210 3588 A
- 3840(*/)S
- 3870 V
- (15688)210 648 A
- 1110(pa)S
- 1236(=)S
- ((phys_bytes))504 1320 A
- (vir_addr;)378 1866 A
- 3960 V
- (15689)210 648 A
- 1110(pa)S
- 1236(-=)S
- (rp->p_map[seg].mem_vir)924 1362 A
- 2328(<<)S
- (CLICK_SHIFT;)504 2454 A
- 4050 V
- (15690)210 648 A
- (return(seg_base)630 1110 A
- 1782(+)S
- (pa);)168 1866 A
- 4140 V
- (15691)210 648 A
- 1026(})S
- 4410 V
- (15694)210 648 A
- (/*==========================================================================*)3234 1026 A
- 4500 V
- (15695)210 648 A
- 1068(*)S
- (numap)210 2370 A
- 4218(*)S
- 4590 V
- (15696)210 648 A
- (*==========================================================================*/)3234 1068 A
- 4680 V
- (15697)210 648 A
- (PUBLIC)252 1026 A
- (phys_bytes)420 1320 A
- (numap(proc_nr,)588 1782 A
- (vir_addr,)378 2412 A
- (bytes))252 2832 A
- 4770 V
- (15698)210 648 A
- (int)126 1026 A
- (proc_nr;)336 1194 A
- 2370(/*)S
- (process)294 2496 A
- (number)252 2832 A
- 3126(to)S
- 3252(be)S
- (mapped)252 3378 A
- 3672(*/)S
- 4860 V
- (15699)210 648 A
- (vir_bytes)378 1026 A
- (vir_addr;)378 1446 A
- 2370(/*)S
- (virtual)294 2496 A
- (address)294 2832 A
- 3168(in)S
- (bytes)210 3294 A
- (within)252 3546 A
- 3840(D)S
- (seg)126 3924 A
- 4092(*/)S
- 4950 V
- (15700)210 648 A
- (vir_bytes)378 1026 A
- (bytes;)252 1446 A
- 2370(/*)S
- 2496(#)S
- 2580(of)S
- (bytes)210 2706 A
- (required)336 2958 A
- 3336(in)S
- (segment)294 3462 A
- 3840(*/)S
- 5040 V
- (15701)210 648 A
- 1026({)S
- 5130 V
- (15702)210 648 A
- 1026(/*)S
- 1152(Do)S
- (umap())252 1278 A
- (starting)336 1572 A
- (from)168 1950 A
- 2160(a)S
- (process)294 2244 A
- (number)252 2580 A
- (instead)294 2874 A
- 3210(of)S
- 3336(a)S
- (pointer.)336 3420 A
- (This)168 3840 A
- 5220 V
- (15703)210 648 A
- 1068(*)S
- (function)336 1152 A
- 1530(is)S
- (used)168 1656 A
- 1866(by)S
- (device)252 1992 A
- (drivers,)336 2286 A
- 2664(so)S
- (they)168 2790 A
- (need)168 3000 A
- (not)126 3210 A
- (know)168 3378 A
- (about)210 3588 A
- (the)126 3840 A
- 5310 V
- (15704)210 648 A
- 1068(*)S
- (process)294 1152 A
- (table.)252 1488 A
- 1824(To)S
- (save)168 1950 A
- (time,)210 2160 A
- (there)210 2412 A
- 2664(is)S
- 2790(no)S
- ('seg')210 2916 A
- (parameter.)420 3168 A
- (The)126 3630 A
- (segment)294 3798 A
- 5400 V
- (15705)210 648 A
- 1068(*)S
- 1152(is)S
- (always)252 1278 A
- 1572(D.)S
- 5490 V
- (15706)210 648 A
- 1068(*/)S
- 5580 V
- (15707)210 648 A
- 5670 V
- (15708)210 648 A
- (return(umap(proc_addr(proc_nr),)1302 1110 A
- 2454(D,)S
- (vir_addr,)378 2580 A
- (bytes));)336 3000 A
- 5760 V
- (15709)210 648 A
- 1026(})S
- 5940 V
- (15711)210 648 A
- (#if)126 1026 A
- ((CHIP)210 1194 A
- 1446(==)S
- (INTEL))252 1572 A
- 6030 V
- (15712)210 648 A
- (/*==========================================================================*)3234 1026 A
- 6120 V
- (15713)210 648 A
- 1068(*)S
- (alloc_segments)588 2370 A
- 4218(*)S
- 6210 V
- (15714)210 648 A
- (*==========================================================================*/)3234 1068 A
- 8418 V
- EP
- %%Page: 221 221
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 10 R
- 648(MINIX)S
- 976(SOURCE)S
- 1399(CODE)S
- 11 R
- 1993(File:)S
- 2226(src/kernel/system.c)S
- 12 B
- (221)180 4248 A
- 900 V
- 7 LST
- (15715)210 648 A
- (PUBLIC)252 1026 A
- (void)168 1320 A
- (alloc_segments(rp))756 1530 A
- 990 V
- (15716)210 648 A
- (register)336 1026 A
- (struct)252 1404 A
- (proc)168 1698 A
- (*rp;)168 1908 A
- 1080 V
- (15717)210 648 A
- 1026({)S
- 1170 V
- (15718)210 648 A
- 1026(/*)S
- (This)168 1152 A
- 1362(is)S
- (called)252 1488 A
- (only)168 1782 A
- 1992(by)S
- (do_newmap,)420 2118 A
- (but)126 2580 A
- 2748(is)S
- (broken)252 2874 A
- (out)126 3168 A
- 3336(as)S
- 3462(a)S
- (separate)336 3546 A
- (function)336 3924 A
- 1260 V
- (15719)210 648 A
- 1068(*)S
- (because)294 1152 A
- 1488(so)S
- (much)168 1614 A
- 1824(is)S
- (hardware-dependent.)798 1950 A
- 1350 V
- (15720)210 648 A
- 1068(*/)S
- 1440 V
- (15721)210 648 A
- 1530 V
- (15722)210 648 A
- (phys_bytes)420 1110 A
- (code_bytes;)462 1572 A
- 1620 V
- (15723)210 648 A
- (phys_bytes)420 1110 A
- (data_bytes;)462 1572 A
- 1710 V
- (15724)210 648 A
- (int)126 1110 A
- (privilege;)420 1278 A
- 1800 V
- (15725)210 648 A
- 1890 V
- (15726)210 648 A
- 1110(if)S
- ((protected_mode))672 1236 A
- 1950({)S
- 1980 V
- (15727)210 648 A
- (data_bytes)420 1362 A
- 1824(=)S
- ((phys_bytes))504 1908 A
- ((rp->p_map[S].mem_vir)882 2454 A
- 3378(+)S
- (rp->p_map[S].mem_len))882 3462 A
- 2070 V
- (15728)210 648 A
- 1908(<<)S
- (CLICK_SHIFT;)504 2034 A
- 2160 V
- (15729)210 648 A
- 1362(if)S
- ((rp->p_map[T].mem_len)882 1488 A
- 2412(==)S
- 2538(0))S
- 2250 V
- (15730)210 648 A
- (code_bytes)420 1698 A
- 2160(=)S
- (data_bytes;)462 2244 A
- 3042(/*)S
- (common)252 3168 A
- (I&D,)168 3462 A
- (poor)168 3672 A
- (protect)294 3882 A
- 4218(*/)S
- 2340 V
- (15731)210 648 A
- (else)168 1362 A
- 2430 V
- (15732)210 648 A
- (code_bytes)420 1698 A
- 2160(=)S
- ((phys_bytes))504 2244 A
- (rp->p_map[T].mem_len)840 2790 A
- 3672(<<)S
- (CLICK_SHIFT;)504 3798 A
- 2520 V
- (15733)210 648 A
- (privilege)378 1362 A
- 1782(=)S
- (istaskp(rp))462 1866 A
- 2370(?)S
- (TASK_PRIVILEGE)588 2454 A
- 3084(:)S
- (USER_PRIVILEGE;)630 3168 A
- 2610 V
- (15734)210 648 A
- (init_codeseg(&rp->p_ldt[CS_LDT_INDEX],)1596 1362 A
- 2700 V
- (15735)210 648 A
- ((phys_bytes))504 1908 A
- (rp->p_map[T].mem_phys)882 2454 A
- 3378(<<)S
- (CLICK_SHIFT,)504 3504 A
- 2790 V
- (15736)210 648 A
- (code_bytes,)462 1908 A
- (privilege);)462 2412 A
- 2880 V
- (15737)210 648 A
- (init_dataseg(&rp->p_ldt[DS_LDT_INDEX],)1596 1362 A
- 2970 V
- (15738)210 648 A
- ((phys_bytes))504 1908 A
- (rp->p_map[D].mem_phys)882 2454 A
- 3378(<<)S
- (CLICK_SHIFT,)504 3504 A
- 3060 V
- (15739)210 648 A
- (data_bytes,)462 1908 A
- (privilege);)462 2412 A
- 3150 V
- (15740)210 648 A
- (rp->p_reg.cs)504 1362 A
- 1908(=)S
- ((CS_LDT_INDEX)546 1992 A
- 2580(*)S
- (DESC_SIZE))420 2664 A
- 3126(|)S
- 3210(TI)S
- 3336(|)S
- (privilege;)420 3420 A
- 3240 V
- (15741)210 648 A
- (#if)126 1026 A
- (_WORD_SIZE)420 1194 A
- 1656(==)S
- 1782(4)S
- 3330 V
- (15742)210 648 A
- (rp->p_reg.gs)504 1362 A
- 1908(=)S
- 3420 V
- (15743)210 648 A
- (rp->p_reg.fs)504 1362 A
- 1908(=)S
- 3510 V
- (15744)210 648 A
- (#endif)252 1026 A
- 3600 V
- (15745)210 648 A
- (rp->p_reg.ss)504 1362 A
- 1908(=)S
- 3690 V
- (15746)210 648 A
- (rp->p_reg.es)504 1362 A
- 1908(=)S
- 3780 V
- (15747)210 648 A
- (rp->p_reg.ds)504 1362 A
- 1908(=)S
- ((DS_LDT_INDEX*DESC_SIZE))1008 1992 A
- 3042(|)S
- 3126(TI)S
- 3252(|)S
- (privilege;)420 3336 A
- 3870 V
- (15748)210 648 A
- 1110(})S
- (else)168 1194 A
- 1404({)S
- 3960 V
- (15749)210 648 A
- (rp->p_reg.cs)504 1362 A
- 1908(=)S
- (click_to_hclick(rp->p_map[T].mem_phys);)1638 1992 A
- 4050 V
- (15750)210 648 A
- (rp->p_reg.ss)504 1362 A
- 1908(=)S
- 4140 V
- (15751)210 648 A
- (rp->p_reg.es)504 1362 A
- 1908(=)S
- 4230 V
- (15752)210 648 A
- (rp->p_reg.ds)504 1362 A
- 1908(=)S
- (click_to_hclick(rp->p_map[D].mem_phys);)1638 1992 A
- 4320 V
- (15753)210 648 A
- 1110(})S
- 4410 V
- (15754)210 648 A
- 1026(})S
- 4500 V
- (15755)210 648 A
- (#endif)252 1026 A
- 1320(/*)S
- ((CHIP)210 1446 A
- 1698(==)S
- (INTEL))252 1824 A
- 2118(*/)S
- 5040 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 5130 V
- (src/mm/mm.h)462 2034 A
- 5220 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 5400 V
- (15800)210 648 A
- 1026(/*)S
- (This)168 1152 A
- 1362(is)S
- (the)126 1488 A
- (master)252 1656 A
- (header)252 1950 A
- (for)126 2244 A
- (mm.)126 2412 A
- 2622(It)S
- (includes)336 2748 A
- (some)168 3126 A
- (other)210 3336 A
- (files)210 3588 A
- 5490 V
- (15801)210 648 A
- 1068(*)S
- (and)126 1152 A
- (defines)294 1320 A
- (the)126 1656 A
- (principal)378 1824 A
- (constants.)420 2244 A
- 5580 V
- (15802)210 648 A
- 1068(*/)S
- 5670 V
- (15803)210 648 A
- (#define)294 1026 A
- (_POSIX_SOURCE)546 1362 A
- 2160(1)S
- 2370(/*)S
- (tell)168 2496 A
- (headers)294 2706 A
- 3042(to)S
- (include)294 3168 A
- (POSIX)210 3504 A
- (stuff)210 3756 A
- 4008(*/)S
- 5760 V
- (15804)210 648 A
- (#define)294 1026 A
- (_MINIX)252 1362 A
- 2160(1)S
- 2370(/*)S
- (tell)168 2496 A
- (headers)294 2706 A
- 3042(to)S
- (include)294 3168 A
- (MINIX)210 3504 A
- (stuff)210 3756 A
- 4008(*/)S
- 5850 V
- (15805)210 648 A
- (#define)294 1026 A
- (_SYSTEM)294 1362 A
- 2160(1)S
- 2370(/*)S
- (tell)168 2496 A
- (headers)294 2706 A
- (that)168 3042 A
- (this)168 3252 A
- 3462(is)S
- (the)126 3588 A
- (kernel)252 3756 A
- 4050(*/)S
- 5940 V
- (15806)210 648 A
- 6030 V
- (15807)210 648 A
- 1026(/*)S
- (The)126 1152 A
- (following)378 1320 A
- (are)126 1740 A
- 1908(so)S
- (basic,)252 2034 A
- (all)126 2328 A
- (the)126 2496 A
- (*.c)126 2664 A
- (files)210 2832 A
- (get)126 3084 A
- (them)168 3252 A
- (automatically.)588 3462 A
- 4092(*/)S
- 6120 V
- (15808)210 648 A
- (#include)336 1026 A
- (<minix/config.h>)672 1404 A
- 2370(/*)S
- (MUST)168 2496 A
- 2706(be)S
- (first)210 2832 A
- 3084(*/)S
- 6210 V
- (15809)210 648 A
- (#include)336 1026 A
- (<ansi.h>)336 1404 A
- 2370(/*)S
- (MUST)168 2496 A
- 2706(be)S
- (second)252 2832 A
- 3126(*/)S
- 8418 V
- EP
- %%Page: 222 222
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 12 B
- (222)180 648 A
- 11 R
- 2112(File:)S
- 2345(src/mm/mm.h)S
- 10 R
- 3402(MINIX)S
- 3730(SOURCE)S
- 4153(CODE)S
- 900 V
- 7 LST
- (15810)210 648 A
- (#include)336 1026 A
- (<sys/types.h>)546 1404 A
- 990 V
- (15811)210 648 A
- (#include)336 1026 A
- (<minix/const.h>)630 1404 A
- 1080 V
- (15812)210 648 A
- (#include)336 1026 A
- (<minix/type.h>)588 1404 A
- 1170 V
- (15813)210 648 A
- 1260 V
- (15814)210 648 A
- (#include)336 1026 A
- (<fcntl.h>)378 1404 A
- 1350 V
- (15815)210 648 A
- (#include)336 1026 A
- (<unistd.h>)420 1404 A
- 1440 V
- (15816)210 648 A
- (#include)336 1026 A
- (<minix/syslib.h>)672 1404 A
- 1530 V
- (15817)210 648 A
- 1620 V
- (15818)210 648 A
- (#include)336 1026 A
- (<limits.h>)420 1404 A
- 1710 V
- (15819)210 648 A
- (#include)336 1026 A
- (<errno.h>)378 1404 A
- 1800 V
- (15820)210 648 A
- 1890 V
- (15821)210 648 A
- (#include)336 1026 A
- ("const.h")378 1404 A
- 1980 V
- (15822)210 648 A
- (#include)336 1026 A
- ("type.h")336 1404 A
- 2070 V
- (15823)210 648 A
- (#include)336 1026 A
- ("proto.h")378 1404 A
- 2160 V
- (15824)210 648 A
- (#include)336 1026 A
- ("glo.h")294 1404 A
- 2790 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 2880 V
- (src/mm/const.h)588 2034 A
- 2970 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 3150 V
- (15900)210 648 A
- 1026(/*)S
- (Constants)378 1152 A
- (used)168 1572 A
- 1782(by)S
- (the)126 1908 A
- (Memory)252 2076 A
- (Manager.)336 2370 A
- 2748(*/)S
- 3240 V
- (15901)210 648 A
- 3330 V
- (15902)210 648 A
- (#define)294 1026 A
- (NO_MEM)252 1362 A
- (((phys_clicks))588 1656 A
- 2286(0))S
- 2454(/*)S
- (returned)336 2580 A
- 2958(by)S
- (alloc_mem())462 3084 A
- (with)168 3588 A
- (mem)126 3798 A
- 3966(is)S
- 4092(up)S
- 4218(*/)S
- 3420 V
- (15903)210 648 A
- 3510 V
- (15904)210 648 A
- (#if)126 1026 A
- ((CHIP)210 1194 A
- 1446(==)S
- (INTEL)210 1572 A
- 1824(&&)S
- (_WORD_SIZE)420 1950 A
- 2412(==)S
- 2538(2))S
- 3600 V
- (15905)210 648 A
- 1026(/*)S
- (These)210 1152 A
- (definitions)462 1404 A
- (are)126 1908 A
- (used)168 2076 A
- 2286(in)S
- (size_ok)294 2412 A
- (and)126 2748 A
- (are)126 2916 A
- (not)126 3084 A
- (needed)252 3252 A
- (for)126 3546 A
- (386.)168 3714 A
- 3690 V
- (15906)210 648 A
- 1068(*)S
- (The)126 1152 A
- (386)126 1320 A
- (segment)294 1488 A
- (granularity)462 1824 A
- 2328(is)S
- 2454(1)S
- (for)126 2538 A
- (segments)336 2706 A
- (smaller)294 3084 A
- (than)168 3420 A
- 3630(1M)S
- (and)126 3756 A
- (4096)168 3924 A
- 3780 V
- (15907)210 648 A
- 1068(*)S
- (above)210 1152 A
- (that.)210 1404 A
- 3870 V
- (15908)210 648 A
- 1068(*/)S
- 3960 V
- (15909)210 648 A
- (#define)294 1026 A
- (PAGE_SIZE)378 1362 A
- 2118(16)S
- 2370(/*)S
- (how)126 2496 A
- (many)168 2664 A
- (bytes)210 2874 A
- 3126(in)S
- 3252(a)S
- (page)168 3336 A
- ((s.b.HCLICK_SIZE)*/)798 3546 A
- 4050 V
- (15910)210 648 A
- (#define)294 1026 A
- (MAX_PAGES)378 1362 A
- (4096)168 2034 A
- 2370(/*)S
- (how)126 2496 A
- (many)168 2664 A
- (pages)210 2874 A
- 3126(in)S
- (the)126 3252 A
- (virtual)294 3420 A
- (addr)168 3756 A
- (space)210 3966 A
- 4218(*/)S
- 4140 V
- (15911)210 648 A
- (#endif)252 1026 A
- 4230 V
- (15912)210 648 A
- 4320 V
- (15913)210 648 A
- (#define)294 1026 A
- (printf)252 1362 A
- (printk)252 1950 A
- 4410 V
- (15914)210 648 A
- 4500 V
- (15915)210 648 A
- (#define)294 1026 A
- (INIT_PID)336 1362 A
- 2160(1)S
- 2370(/*)S
- (init's)252 2496 A
- (process)294 2790 A
- 3126(id)S
- (number)252 3252 A
- 3546(*/)S
- 5040 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 5130 V
- (src/mm/type.h)546 2034 A
- 5220 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 5400 V
- (16000)210 648 A
- 1026(/*)S
- 1152(If)S
- (there)210 1278 A
- (were)168 1530 A
- (any)126 1740 A
- (type)168 1908 A
- (definitions)462 2118 A
- (local)210 2622 A
- 2874(to)S
- (the)126 3000 A
- (Memory)252 3168 A
- (Manager,)336 3462 A
- (they)168 3840 A
- (would)210 4050 A
- 5490 V
- (16001)210 648 A
- 1068(*)S
- 1152(be)S
- (here.)210 1278 A
- (This)168 1572 A
- (file)168 1782 A
- 1992(is)S
- (included)336 2118 A
- (only)168 2496 A
- (for)126 2706 A
- (symmetry)336 2874 A
- (with)168 3252 A
- (the)126 3462 A
- (kernel)252 3630 A
- (and)126 3924 A
- (File)168 4092 A
- 5580 V
- (16002)210 648 A
- 1068(*)S
- (System,)294 1152 A
- (which)210 1488 A
- 1740(do)S
- (have)168 1866 A
- (some)168 2076 A
- (local)210 2286 A
- (type)168 2538 A
- (definitions.)504 2748 A
- 5670 V
- (16003)210 648 A
- 1068(*/)S
- 5760 V
- (16004)210 648 A
- 8418 V
- EP
- %%Page: 223 223
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 10 R
- 648(MINIX)S
- 976(SOURCE)S
- 1399(CODE)S
- 11 R
- 2081(File:)S
- 2314(src/mm/proto.h)S
- 12 B
- (223)180 4248 A
- 990 V
- 7 LST
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 1080 V
- (src/mm/proto.h)588 2034 A
- 1170 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 1350 V
- (16100)210 648 A
- 1026(/*)S
- (Function)336 1152 A
- (prototypes.)462 1530 A
- 2034(*/)S
- 1440 V
- (16101)210 648 A
- 1530 V
- (16102)210 648 A
- (struct)252 1026 A
- (mproc;)252 1320 A
- 2034(/*)S
- (need)168 2160 A
- (types)210 2370 A
- (outside)294 2622 A
- 2958(of)S
- (parameter)378 3084 A
- (list)168 3504 A
- (--kub)210 3714 A
- 3966(*/)S
- 1620 V
- (16103)210 648 A
- (struct)252 1026 A
- (stat;)210 1320 A
- 1710 V
- (16104)210 648 A
- 1800 V
- (16105)210 648 A
- 1026(/*)S
- (alloc.c)294 1152 A
- 1488(*/)S
- 1890 V
- (16106)210 648 A
- (_PROTOTYPE()462 1026 A
- (phys_clicks)462 1530 A
- (alloc_mem,)420 2034 A
- ((phys_clicks)504 2496 A
- (clicks))294 3042 A
- 4050();)S
- 1980 V
- (16107)210 648 A
- (_PROTOTYPE()462 1026 A
- (void)168 1530 A
- (free_mem,)378 1740 A
- ((phys_clicks)504 2160 A
- (base,)210 2706 A
- (phys_clicks)462 2958 A
- (clicks))294 3462 A
- 4050();)S
- 2070 V
- (16108)210 648 A
- (_PROTOTYPE()462 1026 A
- (phys_clicks)462 1530 A
- (max_hole,)378 2034 A
- ((void))252 2454 A
- 4050();)S
- 2160 V
- (16109)210 648 A
- (_PROTOTYPE()462 1026 A
- (void)168 1530 A
- (mem_init,)378 1740 A
- ((phys_clicks)504 2160 A
- (*total,)294 2706 A
- (phys_clicks)462 3042 A
- (*free))252 3546 A
- 4050();)S
- 2250 V
- (16110)210 648 A
- (_PROTOTYPE()462 1026 A
- (phys_clicks)462 1530 A
- (mem_left,)378 2034 A
- ((void))252 2454 A
- 4050();)S
- 2340 V
- (16111)210 648 A
- (_PROTOTYPE()462 1026 A
- (int)126 1530 A
- (do_brk3,)336 1698 A
- ((void))252 2076 A
- 4050();)S
- 2430 V
- (16112)210 648 A
- 2520 V
- (16113)210 648 A
- 1026(/*)S
- (break.c)294 1152 A
- 1488(*/)S
- 2610 V
- (16114)210 648 A
- (_PROTOTYPE()462 1026 A
- (int)126 1530 A
- (adjust,)294 1698 A
- ((struct)294 2034 A
- (mproc)210 2370 A
- (*rmp,)210 2622 A
- 2700 V
- (16115)210 648 A
- (vir_clicks)420 2034 A
- (data_clicks,)504 2496 A
- (vir_bytes)378 3042 A
- (sp))126 3462 A
- 4050();)S
- 2790 V
- (16116)210 648 A
- (_PROTOTYPE()462 1026 A
- (int)126 1530 A
- (do_brk,)294 1698 A
- ((void))252 2034 A
- 4050();)S
- 2880 V
- (16117)210 648 A
- (_PROTOTYPE()462 1026 A
- (int)126 1530 A
- (size_ok,)336 1698 A
- ((int)168 2076 A
- (file_type,)420 2286 A
- (vir_clicks)420 2748 A
- (tc,)126 3210 A
- (vir_clicks)420 3378 A
- (dc,)126 3840 A
- 2970 V
- (16118)210 648 A
- (vir_clicks)420 2034 A
- (sc,)126 2496 A
- (vir_clicks)420 2664 A
- (dvir,)210 3126 A
- (vir_clicks)420 3378 A
- (s_vir))252 3840 A
- 4134();)S
- 3060 V
- (16119)210 648 A
- 3150 V
- (16120)210 648 A
- 1026(/*)S
- (exec.c)252 1152 A
- 1446(*/)S
- 3240 V
- (16121)210 648 A
- (_PROTOTYPE()462 1026 A
- (int)126 1530 A
- (do_exec,)336 1698 A
- ((void))252 2076 A
- 4050();)S
- 3330 V
- (16122)210 648 A
- (_PROTOTYPE()462 1026 A
- (struct)252 1530 A
- (mproc)210 1824 A
- (*find_share,)504 2076 A
- ((struct)294 2622 A
- (mproc)210 2958 A
- (*mp_ign,)336 3210 A
- (Ino_t)210 3588 A
- (ino,)168 3840 A
- 3420 V
- (16123)210 648 A
- (Dev_t)210 2034 A
- (dev,)168 2286 A
- (time_t)252 2496 A
- (ctime))252 2790 A
- 4050();)S
- 3510 V
- (16124)210 648 A
- 3600 V
- (16125)210 648 A
- 1026(/*)S
- (forkexit.c)420 1152 A
- 1614(*/)S
- 3690 V
- (16126)210 648 A
- (_PROTOTYPE()462 1026 A
- (int)126 1530 A
- (do_fork,)336 1698 A
- ((void))252 2076 A
- 4050();)S
- 3780 V
- (16127)210 648 A
- (_PROTOTYPE()462 1026 A
- (int)126 1530 A
- (do_mm_exit,)462 1698 A
- ((void))252 2202 A
- 4050();)S
- 3870 V
- (16128)210 648 A
- (_PROTOTYPE()462 1026 A
- (int)126 1530 A
- (do_waitpid,)462 1698 A
- ((void))252 2202 A
- 4050();)S
- 3960 V
- (16129)210 648 A
- (_PROTOTYPE()462 1026 A
- (void)168 1530 A
- (mm_exit,)336 1740 A
- ((struct)294 2118 A
- (mproc)210 2454 A
- (*rmp,)210 2706 A
- (int)126 2958 A
- (exit_status))504 3126 A
- 4050();)S
- 4050 V
- (16130)210 648 A
- 4140 V
- (16131)210 648 A
- 1026(/*)S
- (getset.c)336 1152 A
- 1530(*/)S
- 4230 V
- (16132)210 648 A
- (_PROTOTYPE()462 1026 A
- (int)126 1530 A
- (do_getset,)420 1698 A
- ((void))252 2160 A
- 4050();)S
- 4320 V
- (16133)210 648 A
- 4410 V
- (16134)210 648 A
- 1026(/*)S
- (main.c)252 1152 A
- 1446(*/)S
- 4500 V
- (16135)210 648 A
- (_PROTOTYPE()462 1026 A
- (void)168 1530 A
- (main,)210 1740 A
- ((void))252 1992 A
- 4050();)S
- 4590 V
- (16136)210 648 A
- 4680 V
- (16137)210 648 A
- (#if)126 1026 A
- ((MACHINE)336 1194 A
- 1572(==)S
- (MACINTOSH))420 1698 A
- 4770 V
- (16138)210 648 A
- (_PROTOTYPE()462 1026 A
- (phys_clicks)462 1530 A
- (start_click,)504 2034 A
- ((void))252 2580 A
- 4050();)S
- 4860 V
- (16139)210 648 A
- (#endif)252 1026 A
- 4950 V
- (16140)210 648 A
- 5040 V
- (16141)210 648 A
- (_PROTOTYPE()462 1026 A
- (void)168 1530 A
- (reply,)252 1740 A
- ((int)168 2034 A
- (proc_nr,)336 2244 A
- (int)126 2622 A
- (result,)294 2790 A
- (int)126 3126 A
- (res2,)210 3294 A
- (char)168 3546 A
- (*respt));)378 3756 A
- 5130 V
- (16142)210 648 A
- 5220 V
- (16143)210 648 A
- 1026(/*)S
- (putk.c)252 1152 A
- 1446(*/)S
- 5310 V
- (16144)210 648 A
- (_PROTOTYPE()462 1026 A
- (void)168 1530 A
- (putk,)210 1740 A
- ((int)168 1992 A
- 2202(c))S
- 4050();)S
- 5400 V
- (16145)210 648 A
- 5490 V
- (16146)210 648 A
- 1026(/*)S
- (signal.c)336 1152 A
- 1530(*/)S
- 5580 V
- (16147)210 648 A
- (_PROTOTYPE()462 1026 A
- (int)126 1530 A
- (do_alarm,)378 1698 A
- ((void))252 2118 A
- 4050();)S
- 5670 V
- (16148)210 648 A
- (_PROTOTYPE()462 1026 A
- (int)126 1530 A
- (do_kill,)336 1698 A
- ((void))252 2076 A
- 4050();)S
- 5760 V
- (16149)210 648 A
- (_PROTOTYPE()462 1026 A
- (int)126 1530 A
- (do_ksig,)336 1698 A
- ((void))252 2076 A
- 4050();)S
- 5850 V
- (16150)210 648 A
- (_PROTOTYPE()462 1026 A
- (int)126 1530 A
- (do_pause,)378 1698 A
- ((void))252 2118 A
- 4050();)S
- 5940 V
- (16151)210 648 A
- (_PROTOTYPE()462 1026 A
- (int)126 1530 A
- (set_alarm,)420 1698 A
- ((int)168 2160 A
- (proc_nr,)336 2370 A
- (int)126 2748 A
- (sec))168 2916 A
- 4050();)S
- 6030 V
- (16152)210 648 A
- (_PROTOTYPE()462 1026 A
- (int)126 1530 A
- (check_sig,)420 1698 A
- ((pid_t)252 2160 A
- (proc_id,)336 2454 A
- (int)126 2832 A
- (signo))252 3000 A
- 4050();)S
- 6120 V
- (16153)210 648 A
- (_PROTOTYPE()462 1026 A
- (void)168 1530 A
- (sig_proc,)378 1740 A
- ((struct)294 2160 A
- (mproc)210 2496 A
- (*rmp,)210 2748 A
- (int)126 3000 A
- (sig_nr))294 3168 A
- 4050();)S
- 6210 V
- (16154)210 648 A
- (_PROTOTYPE()462 1026 A
- (int)126 1530 A
- (do_sigaction,)546 1698 A
- ((void))252 2286 A
- 4050();)S
- 8418 V
- EP
- %%Page: 224 224
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 12 B
- (224)180 648 A
- 11 R
- 2081(File:)S
- 2314(src/mm/proto.h)S
- 10 R
- 3402(MINIX)S
- 3730(SOURCE)S
- 4153(CODE)S
- 900 V
- 7 LST
- (16155)210 648 A
- (_PROTOTYPE()462 1026 A
- (int)126 1530 A
- (do_sigpending,)588 1698 A
- ((void))252 2328 A
- 4050();)S
- 990 V
- (16156)210 648 A
- (_PROTOTYPE()462 1026 A
- (int)126 1530 A
- (do_sigprocmask,)630 1698 A
- ((void))252 2370 A
- 4050();)S
- 1080 V
- (16157)210 648 A
- (_PROTOTYPE()462 1026 A
- (int)126 1530 A
- (do_sigreturn,)546 1698 A
- ((void))252 2286 A
- 4050();)S
- 1170 V
- (16158)210 648 A
- (_PROTOTYPE()462 1026 A
- (int)126 1530 A
- (do_sigsuspend,)588 1698 A
- ((void))252 2328 A
- 4050();)S
- 1260 V
- (16159)210 648 A
- (_PROTOTYPE()462 1026 A
- (int)126 1530 A
- (do_reboot,)420 1698 A
- ((void))252 2160 A
- 4050();)S
- 1350 V
- (16160)210 648 A
- 1440 V
- (16161)210 648 A
- 1026(/*)S
- (trace.c)294 1152 A
- 1488(*/)S
- 1530 V
- (16162)210 648 A
- (_PROTOTYPE()462 1026 A
- (int)126 1530 A
- (do_trace,)378 1698 A
- ((void))252 2118 A
- 4050();)S
- 1620 V
- (16163)210 648 A
- (_PROTOTYPE()462 1026 A
- (void)168 1530 A
- (stop_proc,)420 1740 A
- ((struct)294 2202 A
- (mproc)210 2538 A
- (*rmp,)210 2790 A
- (int)126 3042 A
- (sig_nr))294 3210 A
- 4050();)S
- 1710 V
- (16164)210 648 A
- 1800 V
- (16165)210 648 A
- 1026(/*)S
- (utility.c)378 1152 A
- 1572(*/)S
- 1890 V
- (16166)210 648 A
- (_PROTOTYPE()462 1026 A
- (int)126 1530 A
- (allowed,)336 1698 A
- ((char)210 2076 A
- (*name_buf,)420 2328 A
- (struct)252 2790 A
- (stat)168 3084 A
- (*s_buf,)294 3294 A
- (int)126 3630 A
- (mask))210 3798 A
- 4050();)S
- 1980 V
- (16167)210 648 A
- (_PROTOTYPE()462 1026 A
- (int)126 1530 A
- (no_sys,)294 1698 A
- ((void))252 2034 A
- 4050();)S
- 2070 V
- (16168)210 648 A
- (_PROTOTYPE()462 1026 A
- (void)168 1530 A
- (panic,)252 1740 A
- ((char)210 2034 A
- (*format,)336 2286 A
- (int)126 2664 A
- (num))168 2832 A
- 4050();)S
- 2160 V
- (16169)210 648 A
- (_PROTOTYPE()462 1026 A
- (void)168 1530 A
- (tell_fs,)336 1740 A
- ((int)168 2118 A
- (what,)210 2328 A
- (int)126 2580 A
- (p1,)126 2748 A
- (int)126 2916 A
- (p2,)126 3084 A
- (int)126 3252 A
- (p3))126 3420 A
- 4050();)S
- 2790 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 2880 V
- (src/mm/glo.h)504 2034 A
- 2970 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 3150 V
- (16200)210 648 A
- 1026(/*)S
- (EXTERN)252 1152 A
- (should)252 1446 A
- 1740(be)S
- (extern)252 1866 A
- (except)252 2160 A
- 2454(in)S
- (table.c)294 2580 A
- 2916(*/)S
- 3240 V
- (16201)210 648 A
- (#ifdef)252 1026 A
- (_TABLE)252 1320 A
- 3330 V
- (16202)210 648 A
- (#undef)252 1026 A
- (EXTERN)252 1320 A
- 3420 V
- (16203)210 648 A
- (#define)294 1026 A
- (EXTERN)252 1362 A
- 3510 V
- (16204)210 648 A
- (#endif)252 1026 A
- 3600 V
- (16205)210 648 A
- 3690 V
- (16206)210 648 A
- 1026(/*)S
- (Global)252 1152 A
- (variables.)420 1446 A
- 1908(*/)S
- 3780 V
- (16207)210 648 A
- (EXTERN)252 1026 A
- (struct)252 1320 A
- (mproc)210 1614 A
- (*mp;)168 1866 A
- 2370(/*)S
- (ptr)126 2496 A
- 2664(to)S
- ('mproc')294 2790 A
- (slot)168 3126 A
- 3336(of)S
- (current)294 3462 A
- (process)294 3798 A
- 4134(*/)S
- 3870 V
- (16208)210 648 A
- (EXTERN)252 1026 A
- (int)126 1320 A
- (dont_reply;)462 1488 A
- 2370(/*)S
- (normally)336 2496 A
- 2874(0;)S
- (set)126 3000 A
- 3168(to)S
- 3294(1)S
- 3378(to)S
- (inhibit)294 3504 A
- (reply)210 3840 A
- 4092(*/)S
- 3960 V
- (16209)210 648 A
- (EXTERN)252 1026 A
- (int)126 1320 A
- (procs_in_use;)546 1488 A
- 2370(/*)S
- (how)126 2496 A
- (many)168 2664 A
- (processes)378 2874 A
- (are)126 3294 A
- (marked)252 3462 A
- 3756(as)S
- (IN_USE)252 3882 A
- 4176(*/)S
- 4050 V
- (16210)210 648 A
- 4140 V
- (16211)210 648 A
- 1026(/*)S
- (The)126 1152 A
- (parameters)420 1320 A
- 1782(of)S
- (the)126 1908 A
- (call)168 2076 A
- (are)126 2286 A
- (kept)168 2454 A
- (here.)210 2664 A
- 2916(*/)S
- 4230 V
- (16212)210 648 A
- (EXTERN)252 1026 A
- (message)294 1320 A
- (mm_in;)252 1656 A
- 2370(/*)S
- (the)126 2496 A
- (incoming)336 2664 A
- (message)294 3042 A
- (itself)252 3378 A
- 3672(is)S
- (kept)168 3798 A
- (here.)210 4008 A
- 4260(*/)S
- 4320 V
- (16213)210 648 A
- (EXTERN)252 1026 A
- (message)294 1320 A
- (mm_out;)294 1656 A
- 2370(/*)S
- (the)126 2496 A
- (reply)210 2664 A
- (message)294 2916 A
- 3252(is)S
- (built)210 3378 A
- 3630(up)S
- (here.)210 3756 A
- 4008(*/)S
- 4410 V
- (16214)210 648 A
- (EXTERN)252 1026 A
- (int)126 1320 A
- (who;)168 1488 A
- 2370(/*)S
- (caller's)336 2496 A
- (proc)168 2874 A
- (number)252 3084 A
- 3378(*/)S
- 4500 V
- (16215)210 648 A
- (EXTERN)252 1026 A
- (int)126 1320 A
- (mm_call;)336 1488 A
- 2370(/*)S
- (system)252 2496 A
- (call)168 2790 A
- (number)252 3000 A
- 3294(*/)S
- 4590 V
- (16216)210 648 A
- 4680 V
- (16217)210 648 A
- 1026(/*)S
- (The)126 1152 A
- (following)378 1320 A
- (variables)378 1740 A
- (are)126 2160 A
- (used)168 2328 A
- (for)126 2538 A
- (returning)378 2706 A
- (results)294 3126 A
- 3462(to)S
- (the)126 3588 A
- (caller.)294 3756 A
- 4092(*/)S
- 4770 V
- (16218)210 648 A
- (EXTERN)252 1026 A
- (int)126 1320 A
- (err_code;)378 1488 A
- 2370(/*)S
- (temporary)378 2496 A
- (storage)294 2916 A
- (for)126 3252 A
- (error)210 3420 A
- (number)252 3672 A
- 3966(*/)S
- 4860 V
- (16219)210 648 A
- (EXTERN)252 1026 A
- (int)126 1320 A
- (result2;)336 1488 A
- 2370(/*)S
- (secondary)378 2496 A
- (result)252 2916 A
- 3210(*/)S
- 4950 V
- (16220)210 648 A
- (EXTERN)252 1026 A
- (char)168 1320 A
- (*res_ptr;)378 1530 A
- 2370(/*)S
- (result,)294 2496 A
- 2832(if)S
- (pointer)294 2958 A
- 3294(*/)S
- 5040 V
- (16221)210 648 A
- 5130 V
- (16222)210 648 A
- (extern)252 1026 A
- (_PROTOTYPE)420 1320 A
- ((int)168 1782 A
- ((*call_vec[]),)588 1992 A
- ((void))252 2622 A
- 2916();)S
- 3042(/*)S
- (system)252 3168 A
- (call)168 3462 A
- (handlers)336 3672 A
- 4050(*/)S
- 5220 V
- (16223)210 648 A
- (extern)252 1026 A
- (char)168 1320 A
- (core_name[];)504 1530 A
- 2370(/*)S
- (file)168 2496 A
- (name)168 2706 A
- (where)210 2916 A
- (core)168 3168 A
- (images)252 3378 A
- (are)126 3672 A
- (produced)336 3840 A
- 4218(*/)S
- 5310 V
- (16224)210 648 A
- (EXTERN)252 1026 A
- (sigset_t)336 1320 A
- (core_sset;)420 1698 A
- 2370(/*)S
- (which)210 2496 A
- (signals)294 2748 A
- (cause)210 3084 A
- (core)168 3336 A
- (images)252 3546 A
- 3840(*/)S
- 8418 V
- EP
- %%Page: 225 225
- BP
- /slant 0 def
- /height 0 def
- 630 V
- 10 R
- 648(MINIX)S
- 976(SOURCE)S
- 1399(CODE)S
- 11 R
- 2056(File:)S
- 2289(src/mm/mproc.h)S
- 12 B
- (225)180 4248 A
- 990 V
- 7 LST
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 1080 V
- (src/mm/mproc.h)588 2034 A
- 1170 V
- (++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++)3528 648 A
- 1350 V