> For the complete documentation index, see [llms.txt](https://jslk.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://jslk.gitbook.io/docs/kernel-entrypoint.md).

# Kernel Entrypoint

The kernel entry point is architecture specific and it handles the configuration of architecture specific kernel services. The file containing it is located in the HAL of each platform under the name `kinit.c`. Once the entry point finishes execution, it calls the main kernel function (which is universal to all architectures and can be found in the file [`jslk.c`](https://github.com/sofferjacob/jslk/blob/master/kernel/jslk.c)).&#x20;

### Planned design change

The entry point will only remain in use until the last pre-alpha release in order to ease development. Once the kernel gets out of the pre-alpha development stage, the entry point will be replaced by a function contained within the HAL and called by the main kernel function, which will become the entry point called in the boot process.
