]> Projects (at) Tadryanom (dot) Me - AdrOS.git/commit
feat: ICMP ping test, IOAPIC level-triggered PCI IRQ, multi-disk test battery
authorTulio A M Mendes <[email protected]>
Fri, 13 Feb 2026 11:06:06 +0000 (08:06 -0300)
committerTulio A M Mendes <[email protected]>
Fri, 13 Feb 2026 11:06:06 +0000 (08:06 -0300)
commitb4392e6a185406ff7d65f56b7cbce63145dac0e9
treeb81790fed8812a306ac0550095f877ae72231560
parent6faa26d01b41062e5d32fbe994ea175f48ef65b2
feat: ICMP ping test, IOAPIC level-triggered PCI IRQ, multi-disk test battery

- net_ping.c: kernel ICMP ping test using lwIP raw API with inline
  e1000_recv polling (3 pings to 10.0.2.2 QEMU gateway)
- ioapic: add ioapic_route_irq_level() for PCI interrupts
  (level-triggered, active-low per PCI spec)
- arch_platform: route E1000 NIC IRQ 11 via ioapic_route_irq_level
- e1000_netif: rx_thread uses process_sleep(1) polling fallback
- smoke_test.exp: add PING network pattern (20/20 tests)
- test_battery.exp: 16 tests covering multi-disk ATA detection
  (hda+hdb+hdd), VFS InitRD+diskfs mount, ping, and diskfs ops
- Makefile: add test-battery target and -nic user,model=e1000
Makefile
include/arch/x86/ioapic.h
include/net.h
src/arch/x86/arch_platform.c
src/arch/x86/ioapic.c
src/kernel/init.c
src/net/e1000_netif.c
src/net/net_ping.c [new file with mode: 0644]
tests/1-test.sh [deleted file]
tests/smoke_test.exp
tests/test_battery.exp [new file with mode: 0644]