Subversion Repositories Kolibri OS

Rev

Rev 4429 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4429 Rev 4587
Line 84... Line 84...
84
ETH_input:
84
ETH_input:
Line 85... Line 85...
85
 
85
 
86
        push    ebx
86
        push    ebx
Line 87... Line -...
87
        mov     esi, esp
-
 
88
 
-
 
89
        pushf
87
        mov     esi, esp
90
        cli
-
 
91
        add_to_queue ETH_queue, ETH_QUEUE_SIZE, sizeof.ETH_queue_entry, .fail
-
 
92
        popf
88
 
Line 93... Line 89...
93
 
89
        add_to_queue ETH_queue, ETH_QUEUE_SIZE, sizeof.ETH_queue_entry, .fail
94
        add     esp, sizeof.ETH_queue_entry
90
        add     esp, sizeof.ETH_queue_entry
95
 
91
 
Line 100... Line 96...
100
        call    raise_event
96
        call    raise_event
Line 101... Line 97...
101
 
97
 
Line 102... Line 98...
102
        ret
98
        ret
103
 
-
 
104
  .fail:
99
 
Line 105... Line 100...
105
        popf
100
  .fail:
106
        DEBUGF  DEBUG_NETWORK_VERBOSE, "ETH incoming queue is full, discarding packet!\n"
101
        DEBUGF  DEBUG_NETWORK_ERROR, "ETH incoming queue is full, discarding packet!\n"
107
 
102
 
Line 108... Line 103...
108
        add     esp, sizeof.ETH_queue_entry - 8
103
        pop     ebx