PHYS_TO_KSEG man page on DigitalUNIX

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
DigitalUNIX logo
[printable version]

PHYS_TO_KSEG(9r)					      PHYS_TO_KSEG(9r)

NAME
       PHYS_TO_KSEG  -	General:  Converts  a  physical	 address  to a kernel-
       unmapped virtual address

SYNOPSIS
       vm_offset_t PHYS_TO_KSEG(
	       vm_offset_t addr );

ARGUMENTS
       Specifies the physical address to convert to a kernel-unmapped  virtual
       address.

DESCRIPTION
       The  PHYS_TO_KSEG  routine converts a kernel physical address to a ker‐
       nel-unmapped virtual address.

EXAMPLE
       The following code fragment shows a call to PHYS_TO_KSEG:

       .  .  .

       caddr_t virt_addr;  [1] unsigned phys_addr; [2]

       .  .  .

	       virt_addr = PHYS_TO_KSEG(phys_addr); [3]

       .  .  .

       Declares	 a  variable  to  store	 the  virtual  address	 returned   by
       PHYS_TO_KSEG.   Declares a variable to store the physical address. This
       address might have been obtained from a call  to	 KSEG_TO_PHYS.	 Calls
       PHYS_TO_KSEG to convert the physical address to a corresponding virtual
       address.

RETURN VALUES
       Upon successful completion, PHYS_TO_KSEG returns	 the  virtual  address
       associated with the specified physical address.

SEE ALSO
       Routines: IS_KSEG_VA(9r), KSEG_TO_PHYS(9r)

							      PHYS_TO_KSEG(9r)
[top]

List of man pages available for DigitalUNIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net