From 20c622fb38593a0c5b05c766e8b0abdb4e72126b Mon Sep 17 00:00:00 2001 From: Ivan Baravy Date: Fri, 16 Oct 2020 18:36:30 +0000 Subject: [PATCH] Don't put .dummy_fn function of net loopback device to data 'section'. git-svn-id: svn://kolibrios.org@8103 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/network/loopback.inc | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/kernel/trunk/network/loopback.inc b/kernel/trunk/network/loopback.inc index c1ee9f2802..fa60618eec 100644 --- a/kernel/trunk/network/loopback.inc +++ b/kernel/trunk/network/loopback.inc @@ -25,8 +25,8 @@ LOOPBACK_DEVICE: .mtu dd 4096 .name dd .namestr - .unload dd .dummy_fn - .reset dd .dummy_fn + .unload dd loop_dummy + .reset dd loop_dummy .transmit dd loop_input .bytes_tx dq 0 @@ -39,9 +39,6 @@ LOOPBACK_DEVICE: .namestr db 'loopback', 0 - .dummy_fn: - ret - endg @@ -61,6 +58,19 @@ local .fail .fail: } +;-----------------------------------------------------------------; +; ; +; loop_dummy ; +; ; +; IN: / ; +; ; +; OUT: / ; +; ; +;-----------------------------------------------------------------; +align 4 +loop_dummy: + ret + ;-----------------------------------------------------------------; ; ; ; loop_input ;