<feed xmlns='http://www.w3.org/2005/Atom'>
<title>NeKernel/dev/Mod/AHCI/AHCI.h, branch atom-improvements</title>
<subtitle></subtitle>
<id>https://git.nekernel.org/cgit/NeKernel/atom?h=atom-improvements</id>
<link rel='self' href='https://git.nekernel.org/cgit/NeKernel/atom?h=atom-improvements'/>
<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>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>AHCI: Important tweaks.</title>
<updated>2025-03-14T07:19:35+00:00</updated>
<author>
<name>Amlal El Mahrouss</name>
<email>amlal.elmahrouss@icloud.com</email>
</author>
<published>2025-03-14T07:19:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.nekernel.org/cgit/NeKernel/commit/?id=b244cd4bdfb83b3f87c16f8d03725f84cfd0760e'/>
<id>urn:sha1:b244cd4bdfb83b3f87c16f8d03725f84cfd0760e</id>
<content type='text'>
Signed-off-by: Amlal El Mahrouss &lt;amlal.elmahrouss@icloud.com&gt;
</content>
</entry>
<entry>
<title>ADD: Scheduler bug fixes, and working on deadlock prevention.</title>
<updated>2025-03-12T04:52:28+00:00</updated>
<author>
<name>Amlal El Mahrouss</name>
<email>amlal.elmahrouss@icloud.com</email>
</author>
<published>2025-03-12T04:52:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.nekernel.org/cgit/NeKernel/commit/?id=182f9d9e6ce671970391c72f5b90c66d11efbb70'/>
<id>urn:sha1:182f9d9e6ce671970391c72f5b90c66d11efbb70</id>
<content type='text'>
Signed-off-by: Amlal El Mahrouss &lt;amlal.elmahrouss@icloud.com&gt;
</content>
</entry>
<entry>
<title>Many AHCI improvements and IPC tweaks.</title>
<updated>2025-03-11T07:10:55+00:00</updated>
<author>
<name>Amlal El Mahrouss</name>
<email>amlal.elmahrouss@icloud.com</email>
</author>
<published>2025-03-11T07:10:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.nekernel.org/cgit/NeKernel/commit/?id=0a2760d8a5ce09ae77cfc097ece4100579164f9d'/>
<id>urn:sha1:0a2760d8a5ce09ae77cfc097ece4100579164f9d</id>
<content type='text'>
Signed-off-by: Amlal El Mahrouss &lt;amlal.elmahrouss@icloud.com&gt;
</content>
</entry>
<entry>
<title>New DeviceMgr, other APIs have been reworked as a result.</title>
<updated>2025-02-22T07:45:43+00:00</updated>
<author>
<name>Amlal</name>
<email>amlal.elmahrouss@icloud.com</email>
</author>
<published>2025-02-22T07:45:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.nekernel.org/cgit/NeKernel/commit/?id=34f62ae2dd8c77cee1f0f3680caf407b1be6b350'/>
<id>urn:sha1:34f62ae2dd8c77cee1f0f3680caf407b1be6b350</id>
<content type='text'>
AHCI becomes the first module to be available in StorageKit.

Signed-off-by: Amlal &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: Many tweaks to the OS.</title>
<updated>2025-02-16T18:26:51+00:00</updated>
<author>
<name>Amlal</name>
<email>amlal.elmahrouss@icloud.com</email>
</author>
<published>2025-02-16T18:26:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.nekernel.org/cgit/NeKernel/commit/?id=0737d2f96d52e80cd6d13b0c37a4f8428e1b5bb9'/>
<id>urn:sha1:0737d2f96d52e80cd6d13b0c37a4f8428e1b5bb9</id>
<content type='text'>
Signed-off-by: Amlal &lt;amlal.elmahrouss@icloud.com&gt;
</content>
</entry>
<entry>
<title>ADD: Almost done on AHCI:</title>
<updated>2025-02-15T09:55:58+00:00</updated>
<author>
<name>Amlal</name>
<email>amlal.elmahrouss@icloud.com</email>
</author>
<published>2025-02-15T09:55:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.nekernel.org/cgit/NeKernel/commit/?id=9d340d010d80b074fa9b038087a499ac4009ead1'/>
<id>urn:sha1:9d340d010d80b074fa9b038087a499ac4009ead1</id>
<content type='text'>
- Got the HBA to respond.
- Got it to do some transfers.
- Now debugging a GPF.

Signed-off-by: Amlal &lt;amlal.elmahrouss@icloud.com&gt;
</content>
</entry>
<entry>
<title>ADD: tweaks.</title>
<updated>2025-02-11T09:11:33+00:00</updated>
<author>
<name>Amlal El Mahrouss</name>
<email>amlal.elmahrouss@icloud.com</email>
</author>
<published>2025-02-11T09:11:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.nekernel.org/cgit/NeKernel/commit/?id=1583ee83e3e3e49673884fbdb309911dafef215f'/>
<id>urn:sha1:1583ee83e3e3e49673884fbdb309911dafef215f</id>
<content type='text'>
Signed-off-by: Amlal El Mahrouss &lt;amlal.elmahrouss@icloud.com&gt;
</content>
</entry>
</feed>
