PMAP_MAP(9) BSD Kernel Developer's Manual PMAP_MAP(9)NAME
pmap_map -- map a physical memory range into kernel virtual address (KVA) space
SYNOPSIS
#include <sys/param.h>
#include <vm/vm.h>
#include <vm/pmap.h>
vm_offset_t
pmap_map(vm_offset_t *virt, vm_paddr_t start, vm_paddr_t end, int prot);
DESCRIPTION
The pmap_map() function maps a range of physical addresses into kernel virtual address (KVA) space, from start to end, with protection bits
prot.
The value passed in *virt is treated as a hint for the virtual address of the beginning of the mapping.
IMPLEMENTATION NOTES
The prot argument is currently ignored by machine-dependent implementations.
Architectures which can support a direct mapped physical to virtual region can return the appropriate address within that region, leaving
*virt unchanged.
RETURN VALUES
The pmap_map() function returns the virtual address of the beginning of the mapping, if the mapping was successfully made; *virt will also be
updated with the first usable address after the mapped region.
If the function is unsuccessful, NULL is returned.
SEE ALSO pmap(9)AUTHORS
This manual page was written by Bruce M Simpson <bms@spc.org>.
BSD July 21, 2003 BSD
Check Out this Related Man Page
PMAP_EXTRACT(9) BSD Kernel Developer's Manual PMAP_EXTRACT(9)NAME
pmap_extract, pmap_extract_and_hold -- map a virtual address to a physical page
SYNOPSIS
#include <sys/param.h>
#include <vm/vm.h>
#include <vm/pmap.h>
vm_paddr_t
pmap_extract(pmap_t pmap, vm_offset_t va);
vm_paddr_t
pmap_extract_and_hold(pmap_t pmap, vm_offset_t va, vm_prot_t prot);
DESCRIPTION
The pmap_extract() function maps a virtual address to a physical page. In certain situations, callers may use pmap_extract_and_hold()
instead, to ensure that the returned page is held.
The pmap_extract_and_hold() function maps a virtual address to a physical page, and atomically holds the returned page for use by the caller,
only if the mapping permits the given page protection.
IMPLEMENTATION NOTES
Currently, the page protection requested by the caller is not verified.
RETURN VALUES
The pmap_extract() function will return the physical page address associated with the virtual address va inside the physical map pmap. If
the mapping does not exist, or if the pmap parameter is NULL, then NULL will be returned.
The pmap_extract_and_hold() function will return the physical page address associated with the virtual address va inside the physical map
pmap. If the mapping does not exist, the result is a no-op, and NULL will be returned.
SEE ALSO mutex(9), pmap(9)AUTHORS
The pmap_extract_and_hold() function was implemented by Alan L. Cox <alc@imimic.com>. This manual page was written by Bruce M Simpson
<bms@spc.org>.
BSD July 21, 2003 BSD
I am trying to configure sendmail (v 8.12.5-7 on Redhat Linux 8) on my server. I am unable to send or receive messages using mail command (or any command for that matter).
My mailserver name: abc.com
I have setup user1 to alias as user1@def.com so that all of his mails are relayed to... (5 Replies)
I would like to configure mailx on Solaris 8 in order to have the sender address shown at the receiver side in the form:
'user@host.domain'
The sender address is currently displayed as 'user@host'
Thanks in advance (2 Replies)
I have an Solaris 8 machine running a managment application. One of the features of this application is to configure alarm forwarding to an email undress.
When i configured the application to do that, it asked me only about the recipient email address.
Quesiton: how to configure my Solaris 8... (7 Replies)
Hi,
I have a system where sendmail deamon not running.
(And I have lot of jobs under crontab).
But I have whole lot of sendmail processes started-up by cron process, eating up its CPU resources. (for a sample - see below)
$ ps -ef|grep 248
root 248 1 0 Aug 12 ? 0:56... (5 Replies)
Hi,
I use mailx in a shell script to mail a message to the users. i wanted to know if mailx stores the mail that it sends? for eg in microsoft outlook all mails sent get stored in the outbox. is there such a facility with mailx?
if not how i can do this so that for every mail sent, a backup... (6 Replies)
Hi,
sendmail on our hp-ux box is changing the userid of the from address. I have searched the web and read the man pages but can't stop this from happening.
We have a process which creates a text file we pass into sendmail. In the text file we write for example:
Return-Path:... (4 Replies)