forked from KolibriOS/kolibrios
[KERNEL] Document eth_input function
git-svn-id: svn://kolibrios.org@9394 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
46c1e2241b
commit
dde29ddf15
@ -62,17 +62,18 @@ macro eth_init {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
;-----------------------------------------------------------------;
|
|
||||||
; ;
|
|
||||||
; eth_input: This function is called by ethernet drivers. ;
|
|
||||||
; Push the received ethernet packet onto the ethernet input queue.;
|
|
||||||
; ;
|
|
||||||
; IN: [esp] = Pointer to buffer ;
|
|
||||||
; ;
|
|
||||||
; OUT: / ;
|
|
||||||
; ;
|
|
||||||
;-----------------------------------------------------------------;
|
|
||||||
align 4
|
align 4
|
||||||
|
; This function is called by ethernet drivers.
|
||||||
|
; Push the received ethernet packet onto the ethernet input queue.
|
||||||
|
;
|
||||||
|
; Input:
|
||||||
|
; [esp + 4] = Pointer to buffer
|
||||||
|
; [esp + 8] = Return address (yes, really)
|
||||||
|
;
|
||||||
|
; Example:
|
||||||
|
; push .retaddr
|
||||||
|
; push buf_addr
|
||||||
|
; jmp eth_input
|
||||||
eth_input:
|
eth_input:
|
||||||
|
|
||||||
pop eax
|
pop eax
|
||||||
|
Loading…
Reference in New Issue
Block a user