Fix consistency issues identified in code review

Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-12-28 22:56:58 +00:00
parent 8f1c71311d
commit 80f64d151d
2 changed files with 2 additions and 3 deletions

View File

@@ -224,8 +224,7 @@ void* HeapAllocator::calloc(size_t num, size_t size) {
*/
void HeapAllocator::free(void* ptr) {
(void)ptr;
// TODO: Implement proper free with a real allocator
// For now, bump allocator doesn't support freeing
// Bump allocator doesn't support freeing individual allocations
}
/* Memory utility functions */

View File

@@ -52,7 +52,7 @@ Timer::Timer() : ticks(0) {}
* @brief Initialize the PIT to generate interrupts at specified frequency
*
* The PIT works by counting down from a divisor value at its base frequency
* of 1.193182 MHz. When the counter reaches zero, it generates an interrupt
* of 1193182 Hz (approximately 1.19 MHz). When the counter reaches zero, it generates an interrupt
* and reloads the divisor.
*
* For example, to get 1000 Hz (1ms ticks):