![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
macOS源码分析
RuningM
这个作者很懒,什么都没留下…
展开
-
macOS启动过程源码分析
1. vstart(osfmk\i386\i386_init.c)voidvstart(vm_offset_t boot_args_start){ boolean_t is_boot_cpu = !(boot_args_start == 0); int cpu; uint32_t lphysfree; postcode(VSTART_ENTRY);原创 2017-02-22 14:49:54 · 2402 阅读 · 0 评论 -
mach port分配的过程分析
1.mach_port_allocate(osfmk\ipc\Mach_port.c)/* * Routine: mach_port_allocate [kernel call] * Purpose: * Allocates a right in a space. Like mach_port_allocate_name, * except that the原创 2017-02-23 10:04:16 · 2288 阅读 · 0 评论 -
Mach port right copy的全过程
1. mach_msg_server()(libsyscall\mach\Mach_msg.c)/* * Routine: mach_msg_server * Purpose: * A simple generic server function. Note that changes here * should be considered for duplic原创 2017-02-23 16:55:44 · 1383 阅读 · 0 评论