dump(9e) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

dump(9e)

dump(9E)                      Driver Entry Points                     dump(9E)



NAME
       dump - dump memory to device during system failure

SYNOPSIS
       #include <sys/types.h>
       #include <sys/ddi.h>
       #include <sys/sunddi.h>

       int dump(dev_t dev, caddr_t addr, daddr_t blkno, int nblk);

INTERFACE LEVEL
       Solaris specific (Solaris DDI). This entry point is required. For driv‐
       ers that do not implement dump() routines, nodev(9F) should be used.

ARGUMENTS
       dev      Device number.


       addr     Address for the beginning of the area to be dumped.


       blkno    Block offset to dump memory.


       nblk     Number of blocks to dump.


DESCRIPTION
       dump() is used to dump a portion of virtual address space directly to a
       device  in the case of system failure. It can also be used for checking
       the state of the kernel during a checkpoint operation. The memory  area
       to  be dumped is specified by addr (base address) and nblk (length). It
       is dumped to the device specified by dev starting at offset blkno. Upon
       completion dump() returns the status of the transfer.


       When the system is panicking, the calls of functions scheduled by time‐
       out(9F) and ddi_trigger_softintr(9F)  will  never  occur.  Neither  can
       delay(9F)  be  relied  upon, since it is implemented via timeout(). See
       ddi_in_panic(9F).


       dump() is called at interrupt priority.

RETURN VALUES
       dump() returns 0 on success, or the appropriate error number.

SEE ALSO
       cpr(4), nodev(9F)


       Writing Device Drivers in Oracle Solaris 11.4



Oracle Solaris 11.4               9 Oct 2001                          dump(9E)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3