PHYS(2) System Calls Manual PHYS(2)NAME
phys - allow a process to access physical addresses
SYNOPSIS
phys(segreg, size, physadr)
DESCRIPTION
The argument segreg specifies a process virtual (data-space) address range of 8K bytes starting at virtual address segregx8K bytes. This
address range is mapped into physical address physadrx64 bytes. Only the first sizex64 bytes of this mapping is addressable. If size is
zero, any previous mapping of this virtual address range is nullified. For example, the call
phys(6, 1, 0177775);
will map virtual addresses 0160000-0160077 into physical addresses 017777500-017777577. In particular, virtual address 0160060 is the
PDP-11 console located at physical address 017777560.
This call may only be executed by the super-user.
SEE ALSO
PDP-11 segmentation hardware
DIAGNOSTICS
The function value zero is returned if the physical mapping is in effect. The value -1 is returned if not super-user, if segreg is not in
the range 0-7, if size is not in the range 0-127, or if the specified segreg is already used for other than a previous call to phys.
BUGS
This system call is obviously very machine dependent and very dangerous. This system call is not considered a permanent part of the sys-
tem.
ASSEMBLER
(phys = 52.)
sys phys; segreg; size; physadr
PDP11 PHYS(2)
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)
i am running solaris 9 i now how to create virtual ip address but how do i keep them so when the server reboots they are still there?...THANX (2 Replies)
Hi,
I need help to detect Vmware on Linux and SunOS.
I need to know if Vmware is installed on the box. If yes then if it is a physical or a virtual machine.
Thanks in advance,
amittal (2 Replies)
Hi all,
Even after reading many explanation the question still haunting me what's the difference between physical and linear addresses.Can we directly access physical addresses .If not then paging circuitry would have ensure contiguous physical addresses regardless of any linear addresses but this... (2 Replies)
I'm looking for a way in RHL 5.1 to use two NICs on one host with two physical IP addresses and map them under one virtual IP address, i.e. NIC 1 10.10.10.1 NIC2 10.10.10.2 VIP 192.168.10.1
Basically I want either one of the NICs to ARP for the VIP. No load balancing required just HA. (2 Replies)
Hi,
I am looking to work on unix systems which include (hp-ux, ibm aix, solaris and linux). I want to get the total virtual address space of a process, the used virtual memory i am able to get without any problem. I have tried using getrlimit and getrlimit64, but that gives only ... (4 Replies)
I am trying to generate a report with below file :
File1 :
EQADM,edrtere9-phys,8122caef0,gpatmon,/bin/ksh,nuten Erick
EQADM,edrtere11-phys,8227caef0,gpatmon,/bin/ksh,nuten Erick
EQADM,edrtere3-phys,822caef0,gpatmon,/bin/ksh,nuten Erick
can you help me convert it to html and add... (9 Replies)
Hello
How do I deternine the physical location of an ethernet port, based on the hardware address?
I have 4 ports on a 9133-55A
ent0 05-08
ent1 05-09
ent2 07-08
ent3 07-09
Two of these are internal, and two are on a card. I need to single out ent0 and ent2, but I cannot find any... (4 Replies)
Hi,
My script needs to find out if it is running on a virtual machine.
If it is then it needs to find out.
1 . The number of virtual processors.
2 . Actual physical box onto which the virtual machine is hosted.
3 .Processors on the physical machine.
Actually there are some commands like... (1 Reply)
Hello,
I do not know Linux. It is a black box.
We have 2 virtuals servers (SAPVM01 and SAPVM06) in one physical server.
The first virtual system (SAPVM01) has a total size of 420 Gb and a free space of 170 GB. A SAP system is running.
The second virtual system (SAPVM06) has a total... (3 Replies)
hi all
i want to set ip address to a vitrual machine i am using following command.
but it is not ifconfig -a command output.
what is wrong i dont know
bash# ifconfig interfacename plumb
bash# ifconfig interfacename auto-dhcp
Please use code tags next time for your code and data. (4 Replies)
Hi
I am looking to automate the process in PERL of allocating IP addresses from a set range of addresses (for example a /22 network 10.10.224.1 - 10.10.227.254)
I am able to query the IP addresses that are already in use in the above range, which will produce me a list like this for example... (3 Replies)
Hello Guys,
Can some help me with a configuration from 2x10g cards to 4 Ldoms and a Vlan configuration,
Solaris 11
dladm show-phys
LINK MEDIA STATE SPEED DUPLEX DEVICE
net0 Ethernet up 1000 full ixgbe0
net1 Ethernet ... (2 Replies)