Re: Understanding kexts in the early boot process
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=w+4kmyuiH6h1oCHi7cKr6qOhRujvlEbZGX5lJrEyf1k=; b=orCf1dvDRS3ELEYgn1Ui464sLwfCUQn2yir1OVfXKMdc8yhWF3RIF2AZiYT8FdZsYZ u/RcuD5NPwevsvbDp4NuVYSua8Up+sFeWsP4KLr+7/gpB4f6yL5llFVBQInvrznbnmYb UErVFjrk91xoSwkWATs/OhEZI8ihQ1nONWejc= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=VIJou41cFDF5EhqHUIzsx+f0Q0yUy78d8elAMt9q/zVrrm9J0DXoGO4zUGn+HB0k+2 osSWtVm+SN1Fs+ScdfmcOuHQ1QYFXcAGbTZbHsObv/ioausJqed/vmcpF+zebONU5TMM L1AoHorhQIO1SaT4ZK8/ch1unOZuaHcN3U3nI= open /usr/standalone/bootcaches.plist -> PostBootPaths somehow, yes, a bootloader is not made check the integrity of a system, bootloader steps: power on, list table, read On Mon, Jun 15, 2009 at 10:55 AM, Thomas Tempelmann<tempelmann@gmail.com> wrote:
Nik,
Again some confusion in terminology. The boot loader copies kexts into memory that the kernel knows how to find, it does not load kexts (in the sense of getting them actually running, as it does for the kernel). To "load a kext" is a pretty involved process, which varies between early boot and when kextd starts, of which linking is only a part.
I meant "load" in its more raw sense, i.e. read from disk into memory.
So, if I understand you right, the boot loader reads the kexts into memory and passes a pointer to them to the kernel. The kernel then iterates over the kexts, executing their code.
I just try to understand when the files get read and when they get executed. If it is how I just suggested, then this means that the boot loader is the authority in selecting all the kexts for the kernel, and the kernel has no choice than to work with those - if they're not sufficient, the kernel may fail to boot because the kernel does _not_ read essential kexts on its own. Correct?
-- Thomas Tempelmann, http://www.tempel.org/ _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/0xcafefeed%40gmail.com
This email sent to 0xcafefeed@gmail.com
_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
mm w