mirror of
https://github.com/subhobhai943/SUB-OS.git
synced 2026-10-25 16:52:29 +00:00
feat: Add Intel e1000e PCIe NIC, VirtIO-GPU 2D accelerator, CPUFreq governor, and VirtIO-Input drivers
- Implement Intel 82574L / 82567LM / I217 / I219 PCIe Gigabit NIC driver with DMA ring buffers and auto-negotiation in drivers/net/e1000e.c and include/drivers/e1000e.h - Implement VirtIO-GPU 2D hardware graphics display adapter driver with dirty rect flushing in drivers/virtio/virtio_gpu.c and include/drivers/virtio_gpu.h - Implement Dynamic CPU Frequency Scaling and ACPI CPPC Power Governor with performance, powersave, ondemand, conservative, and schedutil policies in drivers/power/cpufreq.c and include/drivers/cpufreq.h - Implement VirtIO-Input para-virtualized tablet/mouse event driver in drivers/virtio/virtio_input.c and include/drivers/virtio_input.h - Expand stage2 kernel bootloader loading boundary to 768 KB (1536 sectors) - Add LazyBox applets: 'cpufreq', 'gpuinfo', 'e1000e' - Verified across x86_64, AArch64, and ARMv8i targets
This commit is contained in:
1 parent
d1361aeaf2
commit
492045b24d
14 files changed
+716
-24
No files matched your search
+2
-2
@@ -93,7 +93,7 @@ start2:
|
||||
mov word [kernel_dap_seg], 0x1000
|
||||
mov dword [kernel_dap_lba], 16
|
||||
mov dword [kernel_dap_lba + 4], 0
|
||||
mov cx, 14 ; 14 chunks * 64 sectors = 896 sectors (448 KB)
|
||||
mov cx, 24 ; 24 chunks * 64 sectors = 1536 sectors (768 KB)
|
||||
|
||||
.kernel_chunk_loop:
|
||||
push cx
|
||||
@@ -199,7 +199,7 @@ pm_entry:
|
||||
; Copy kernel from 0x10000 to 0x100000 (1MB mark) - 192 KB (384 sectors)
|
||||
mov esi, 0x10000
|
||||
mov edi, 0x100000
|
||||
mov ecx, (896 * 512) / 4
|
||||
mov ecx, (1536 * 512) / 4
|
||||
rep movsd
|
||||
|
||||
; Enable PAE in CR4
|
||||
|
||||
Reference in new issue
Block a user