Hi Mark and Edward,
Thanks for the replies.
::vtop reports the right mapping:
[2]> 0xff049dd2::vtop
virtual ff049dd2 mapped to physical fe71
I tried "mdb -W" and "::set -o allow_io_access" in kmdb, but both don't work
for me.
Thanks,
-baolu
On Sat, May 24, 2008 at 3:07 A
On Fri, 2008-05-23 at 11:24 -0700, Neale Ferguson wrote:
> What I'm seeing is that take_deferred_signal() will issue a sigresend
> syscall with sig=18, siginfo=NULL, and mask={0,0,0,0}. The syscall
> results in the t_sig_check flag being set such that we do
> post_syscall() which will then check f
Further to the last post, I've determined (lines preceded by '-' are debug
messages in my kernel):
*** sigtoproc sets the signal mask
- 3000BA224EC = 0002
*** issig_forreal called which calls fsig which checks the masks and finds
signal 18 ready to send
Sushant Nirwan wrote:
> I'm trying to create a new contract with the following code
...
> if ((tmpl_fd = open64("/system/contract/process/template",
O_RDWR)) == -1) {
...
> However, I'm getting an error "Can't create process contract
> template: [b]Invalid argument[/b]". Accordin
by default mdb (and kmdb) don't allow you to access device memory.
to enable access to io ports in mdb, start it with the -W option.
i think you should be able to enable access to io ports in kmdb
by doing:
::set -o allow_io_access
but this doesn't seem to be working for me. perhaps i'm m
I've been running the gcc testsuite remotely which involves establishing ssh
connection, running the test, returning the results, and terminating the ssh
connection. The termination of the ssh connection results in a SIGCHLD being
sent to the parent sshd process as the child goes away. Things pr
Lu Baolu wrote:
> Hi,
>
> I am writing code in rootnex to implement Intel IOMMU. The register set
> for each remapping hardware unit is placed at a 4KB-aligned memory
> mapped location. I try to map the register set with an allocated virtual
> address space so the CPU can access it.
>
> My m
Darren J Moffat wrote:
> In my opinion the check first then try style is wrong. It is likely
> introducing a Time Of Check To Time Of Use (TOCTTOU) bug. In some cases
> this could cause a security vulnerability. Also if the operation will
> succeed you have wasted cycles asking first. If it
Joachim Worringen wrote:
> Rao Shoaib schrieb:
>> Bill Sommerfeld wrote:
>>> On Thu, 2008-05-22 at 18:15 +0200, Joachim Worringen wrote:
>>>
1. Check if a given user space address can be accessed for read or
write. I could imagine doing a dummy ddi_copyin() and check the return
I'm trying to create a new contract with the following code
int main()
{
int tmpl_fd;
ctid_t ctid;
if ((tmpl_fd = open64("/system/contract/process/template", O_RDWR)) ==
-1) {
perror("Can't open /system/contract/process/template \n");
Hi,
I am writing code in rootnex to implement Intel IOMMU. The register set for
each remapping hardware unit is placed at a 4KB-aligned memory mapped
location. I try to map the register set with an allocated virtual address
space so the CPU can access it.
My mapping function is put in rootnex_att
Yes, that could also be a possibility, or, at least one of several factors that
influences the speedup. I'm will probably do several runs and introduce
variance to see how much the execution time fluctuates.
Thanks.
/Mladen
This message posted from opensolaris.org
___
Hi,
Thanks for the information about pbind. I'm glad to hear that I can use it to
bind threads to processors.
Is it possible to call pbind from within the application code? When I search
for pbind in the Opensolaris source browser i do get a hit.
I'm using POSIX threads, so it would be great
13 matches
Mail list logo