]> Projects (at) Tadryanom (dot) Me - AdrOS.git/commit
kernel: remove dead net_ping_test(), ring3 flag; fix CROSS toolchain override
authorTulio A M Mendes <[email protected]>
Wed, 20 May 2026 15:36:48 +0000 (12:36 -0300)
committerTulio A M Mendes <[email protected]>
Wed, 20 May 2026 15:36:48 +0000 (12:36 -0300)
commitadff145323bafc625f9012501e7026b5adea9352
treec90e8ee197929dd4d396c68f16e441bc01d351fe
parenteead6c0bda5414940b6c0e7c09538467689af1fb
kernel: remove dead net_ping_test(), ring3 flag; fix CROSS toolchain override

- Remove net_ping_test() declaration from include/net.h and gut the
  implementation in src/net/net_ping.c (~190 lines of dead code).
  ICMP ping is now tested in userspace via fulltest I7b (SOCK_RAW).
  File kept as empty placeholder for Makefile wildcard enumeration.

- Remove 'ring3' from known_flags in src/kernel/cmdline.c — the
  ring3 boot test was removed in a prior session and no code
  consumes this flag anymore.

- Add 'override' directive to CC/AS/LD in the CROSS block of the
  Makefile, ensuring the cross-toolchain is forced even if the
  variables are set in the environment or on the make command line.
Makefile
include/net.h
src/kernel/cmdline.c
src/net/net_ping.c