<feed xmlns='http://www.w3.org/2005/Atom'>
<title>NeKernel/dev/Kernel/HALKit/AMD64/HalKernelMain.cc, branch v0.0.4e2-release</title>
<subtitle></subtitle>
<id>https://git.nekernel.org/cgit/NeKernel/atom?h=v0.0.4e2-release</id>
<link rel='self' href='https://git.nekernel.org/cgit/NeKernel/atom?h=v0.0.4e2-release'/>
<link rel='alternate' type='text/html' href='https://git.nekernel.org/cgit/NeKernel/'/>
<updated>2025-03-23T18:15:17+00:00</updated>
<entry>
<title>meta(kernel): Reworked repository's filesystem structure.</title>
<updated>2025-03-23T18:15:17+00:00</updated>
<author>
<name>Amlal El Mahrouss</name>
<email>amlal.elmahrouss@icloud.com</email>
</author>
<published>2025-03-23T18:13:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.nekernel.org/cgit/NeKernel/commit/?id=a13e1c0911c0627184bc38f18c7fdda64447b3ad'/>
<id>urn:sha1:a13e1c0911c0627184bc38f18c7fdda64447b3ad</id>
<content type='text'>
Removing useless parts of the project too.

Signed-off-by: Amlal El Mahrouss &lt;amlal.elmahrouss@icloud.com&gt;
</content>
</entry>
<entry>
<title>AHCI-Generic.cc: Disk Driver builtin improvements.</title>
<updated>2025-03-20T14:24:53+00:00</updated>
<author>
<name>Amlal El Mahrouss</name>
<email>amlal.elmahrouss@icloud.com</email>
</author>
<published>2025-03-20T14:24:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.nekernel.org/cgit/NeKernel/commit/?id=b3795cedd8f6409f52157f34e9acc8af9143e320'/>
<id>urn:sha1:b3795cedd8f6409f52157f34e9acc8af9143e320</id>
<content type='text'>
- Poll for CR in ahci_enable_and_probe.
- Init NeFS, not an AHCI device for portability.

Signed-off-by: Amlal El Mahrouss &lt;amlal.elmahrouss@icloud.com&gt;
</content>
</entry>
<entry>
<title>HalKernelMain: Better names for rdtsc related variables.</title>
<updated>2025-03-19T05:00:19+00:00</updated>
<author>
<name>Amlal El Mahrouss</name>
<email>amlal.elmahrouss@icloud.com</email>
</author>
<published>2025-03-19T05:00:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.nekernel.org/cgit/NeKernel/commit/?id=00ac8903d033210df785317f7002f2acce7ad017'/>
<id>urn:sha1:00ac8903d033210df785317f7002f2acce7ad017</id>
<content type='text'>
</content>
</entry>
<entry>
<title>BootEFI.cc: Document NVRAM attributes.</title>
<updated>2025-03-19T04:58:12+00:00</updated>
<author>
<name>Amlal El Mahrouss</name>
<email>amlal.elmahrouss@icloud.com</email>
</author>
<published>2025-03-19T04:58:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.nekernel.org/cgit/NeKernel/commit/?id=d2f8a9292af8bb06d30a306b3b94a6d7bbfb4a39'/>
<id>urn:sha1:d2f8a9292af8bb06d30a306b3b94a6d7bbfb4a39</id>
<content type='text'>
HalKernelMain.cc: Use the correct term for the scheduler init function.
</content>
</entry>
<entry>
<title>feat(AHCI, HAL): Improve AHCI error handling &amp; optimize HAL initialization</title>
<updated>2025-03-18T04:20:57+00:00</updated>
<author>
<name>Amlal El Mahrouss</name>
<email>amlal.elmahrouss@icloud.com</email>
</author>
<published>2025-03-18T04:20:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.nekernel.org/cgit/NeKernel/commit/?id=1311cdcfaa7fad132196a615899fd38393f54daf'/>
<id>urn:sha1:1311cdcfaa7fad132196a615899fd38393f54daf</id>
<content type='text'>
- Refactored `sk_acquire_ahci_device(Int32 drv_index)` to return `ErrorOr&lt;AHCIDeviceInterface&gt;`
  for proper error handling instead of returning a raw object.
- Moved `sk_init_ahci_device(BOOL atapi)` into the `NeOS` namespace for better encapsulation.
- Reduced `HbaMem::Ports` array size from `Ports[32]` to `Ports[1]` to optimize memory usage
  for single-port AHCI controllers.

- Removed manual constructor initialization (`__CTOR_LIST__`, `__DTOR_LIST__`) from HAL,
  simplifying kernel startup.
- Updated `hal_real_init()` to initialize AHCI storage (`sk_init_ahci_device(NO)`) before
  userland execution.
- Refactored `hal_get_phys_address(void* virtual_address)` to use `VoidPtr` for type safety.

- Fixed incorrect buffer size (`kSzIdent`) in AHCI driver initialization from `kib_cast(1)`
  to `512`, ensuring correct sector identification.
- Removed redundant drive model string parsing logic.
- Refactored AHCI PRD iteration loop to use `prd_i` instead of `i`, improving readability.
- Optimized `drv_std_input_output` by simplifying wait loop logic.

Overall, this commit improves AHCI error handling, reduces redundant initialization,
optimizes memory usage, and cleans up HAL and storage code.

Signed-off-by: Amlal El Mahrouss &lt;amlal.elmahrouss@icloud.com&gt;
</content>
</entry>
<entry>
<title>TWEAK: Remove extra useless includes in HalKernelMain.cc</title>
<updated>2025-03-17T05:25:43+00:00</updated>
<author>
<name>Amlal El Mahrouss</name>
<email>amlal.elmahrouss@icloud.com</email>
</author>
<published>2025-03-17T05:25:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.nekernel.org/cgit/NeKernel/commit/?id=8740d53b6e4a5dae1b68123cba57782c3845f924'/>
<id>urn:sha1:8740d53b6e4a5dae1b68123cba57782c3845f924</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ADD: Lift manadatory subsystem id on PE32+ kernel image, benchmarking</title>
<updated>2025-03-17T05:23:47+00:00</updated>
<author>
<name>Amlal El Mahrouss</name>
<email>amlal.elmahrouss@icloud.com</email>
</author>
<published>2025-03-17T05:23:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.nekernel.org/cgit/NeKernel/commit/?id=157210ca5a42d6a4eed7463eeacf5f4acf5f0cc0'/>
<id>urn:sha1:157210ca5a42d6a4eed7463eeacf5f4acf5f0cc0</id>
<content type='text'>
code too (Still WIP)

Signed-off-by: Amlal El Mahrouss &lt;amlal.elmahrouss@icloud.com&gt;
</content>
</entry>
<entry>
<title>NeOS: Namespace change from 'Kernel' to 'NeOS'</title>
<updated>2025-02-20T11:38:04+00:00</updated>
<author>
<name>Amlal</name>
<email>amlal.elmahrouss@icloud.com</email>
</author>
<published>2025-02-20T11:32:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.nekernel.org/cgit/NeKernel/commit/?id=7d2a7e7cab23b8217498866615a3719e5d3980ee'/>
<id>urn:sha1:7d2a7e7cab23b8217498866615a3719e5d3980ee</id>
<content type='text'>
ADD: Start defining the Workstation's HPFS (High-Performance File System)

Signed-off-by: Amlal &lt;amlal.elmahrouss@icloud.com&gt;
</content>
</entry>
<entry>
<title>ADD: Major tweaks and improvements on the kernel product.</title>
<updated>2025-02-07T12:43:24+00:00</updated>
<author>
<name>Amlal El Mahrouss</name>
<email>amlal.elmahrouss@icloud.com</email>
</author>
<published>2025-02-07T12:43:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.nekernel.org/cgit/NeKernel/commit/?id=fb35c7b211920db07079bd5948e54d0f4347076d'/>
<id>urn:sha1:fb35c7b211920db07079bd5948e54d0f4347076d</id>
<content type='text'>
Signed-off-by: Amlal El Mahrouss &lt;amlal.elmahrouss@icloud.com&gt;
</content>
</entry>
<entry>
<title>META: Update copyright year.</title>
<updated>2025-02-03T05:47:49+00:00</updated>
<author>
<name>Amlal El Mahrouss</name>
<email>amlal.elmahrouss@icloud.com</email>
</author>
<published>2025-02-03T05:47:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.nekernel.org/cgit/NeKernel/commit/?id=f5b6f148a8c10673e3ef268d3fe76b31902c5930'/>
<id>urn:sha1:f5b6f148a8c10673e3ef268d3fe76b31902c5930</id>
<content type='text'>
Signed-off-by: Amlal El Mahrouss &lt;amlal.elmahrouss@icloud.com&gt;
</content>
</entry>
</feed>
