vtop(9r)vtop(9r)NAME
vtop - General: Converts any virtual address to a physical address
SYNOPSIS
vm_offset_t vtop(
struct proc *proc_p,
vm_offset_t virt_addr );
ARGUMENTS
Specifies a pointer to a proc structure. The vtop routine uses the proc structure pointer to obtain the pmap. Specifies the virtual
address that vtop converts to a physical address.
DESCRIPTION
The vtop routine converts a specified virtual address to a physical address.
CAUTIONS
The vtop routine panics and displays the following message on the console terminal if the proc structure pointer you pass is NULL and the
virtual address is in user space:
vtop: user address passed with null proc pointer
RETURN VALUES
Upon successful completion, vtop returns the physical address associated with the specified virtual address.
vtop(9r)
Check Out this Related Man Page
svatophys(9r)svatophys(9r)NAME
svatophys - General: Converts a system virtual address to a physical address
SYNOPSIS
kern_return_t svatophys(
vm_offset_t kern_addr,
vm_offset_t *phys_addr );
ARGUMENTS
Specifies the kernel virtual address. Specifies a pointer to the physical address to be filled in.
DESCRIPTION
The svatophys routine converts a system virtual address to the corresponding physical address. All address and data structure manipulation
done within the kernel is performed using system virtual addresses. Typically, system virtual addresses are a means of mapping physical
memory and I/O space, which often consists of device registers and DMA buffers. In contrast to this, devices are usually unaware of any
virtual addressing and for this reason use physical addresses. You use the svatophys routine to perform this address translation.
As an example of where you can use this address translation, a disk device driver can use DMA buffers to transfer blocks of data to the
disk (for the case of a write operation). The data to be written to disk is present in system memory at a system virtual address known to
the driver. To initiate the DMA operation, the disk driver can set up a command packet to specify a write operation to the underlying disk
controller hardware. This write command packet contains (among other things) the location of the DMA buffer as a physical address and the
length of the buffer. Here, the driver calls the svatophys routine to translate the system virtual address of the DMA buffer to a physical
address in the command packet issued to the disk driver.
RETURN VALUES
The svatophys routine returns the following: The address translation has been completed successfully. Unable to perform address transla-
tion. This value indicates that the address specified by the kern_addr argument is not a valid kernel or system virtual address.
svatophys(9r)
Hi All,
Can anyone help me to finish the scripts. this scripts is
this scripts will run on crontab in every 4 minutes to get the newest router interface status.
I would like to add a function to count the router interface flapping, if more than 2 times in 20 minutes (scripts run 5 times)... (1 Reply)
Hi all,
I have created VIO Server which serves 3 lpars. All of them are on VLAN ID 50.
From one lpar I installed and set up NIM master server called testAIX1.
I have created client and allocated resources to it:
testAIX1:/ > lsnim -l test_lpar
test_lpar:
class = machines
... (4 Replies)
I am facing problems in moving CD-ROM from one lpar to another.
CDROM can be seen on the POWERVM (IVM) server , but through the web-access if I move it ( assign it ) to LPAR it will be assigned. I run cfgmgr , and the cdrom does not show up in the LPAR. I firmly believe this is the reason why I... (2 Replies)
Hello,
I am unable to remove the disk, whenever i remove the disk using
rmdev -dl hdisk2
or
rmdev -Rdl hdisk2
the disk appears back when i run
cfgmgr
but unable to create any volume group on it
# mkvg -y foovg hdisk2
0516-008 /usr/sbin/mkvg: LVM system call returned an unknown
... (20 Replies)
Hi,
I just bought POWER 8 ESERVER S812L from Ebay. There is no AIX on it.
I am trying to install RedHat on this box
But it does not recognize the hard drive and Ethernet card.
I am very newbie with IBM ... please help or hints me please ...
1. can't access to HMC ports, thought it's... (21 Replies)
Hi
I want to create a shell script with the following awk command & also get the filenames in output.
awk '/<catetcsecuretty0>/ {p=1} /<catvarlogmessages0>/ {p=0} p' *.xml
As there will be multiple outputs related to many xml files I cannot identify which output belongs to which file
... (5 Replies)
Dear All,
I have some lpar that i want to connect with DAT tape drive.
how can i add to the lpar, so can access the tape drive
here is the detail of my lpar:
root@erpqa:/>uname -L
2 erpqa
root@erpqa:/>lsdev -Cc tape
rmt0 Defined Virtual Tape Drive
rmt1 Available... (0 Replies)
Dear all,
i have a virtual tape connected to a vhost1
SVSA Physloc Client Partition ID
--------------- -------------------------------------------- ------------------
vhost1 U8202.E4C.066BC9R-V1-C3 0x00000003... (1 Reply)
Hi everybody,
I have Power5 server with 4 internal hdisks each of 70Gb.
VIOS server was installed via Virtual I/O Server Image Repository on the HMC.
HMC release - 7.7.0
VIOS rootvg installed on 2 disk(these disks merged to one storage pool during VIOS install process),and 2 others hdisks... (2 Replies)