[KERNEL] Document eth_input function

git-svn-id: svn://kolibrios.org@9394 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Magomed Kostoev (mkostoevr) 2021-12-04 16:01:10 +00:00
parent 46c1e2241b
commit dde29ddf15

View File

@ -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
; 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:
pop eax