Outb() and ddi_put8()  functions from user context

dear all,
the man pages for both outb() and ddi_put8() say:
"These functions may be called from user or interrupt context"
Question: If I want to call them from user context: which library do
I have to link with my executable ?
cheers,
julien

Hello.
I think "user context" does not mean calling from an executable file.
"User context" means that the functions can be called when the driver is called from a system call (e.g. ioctl) in contrast to interrupt service routines which are called by the OS.
Sparc machines do not allow something like iopl() in Linux while x86 would allow that when writing a special driver for that.
Martin

Similar Messages

  • How to create a VI that detects and records responses from user

    Does anyone has experience in creating a VI that allows the user to e.g., watch a video or series of images, pause or rewind video etc. and the VI records the duration of all pauses or user responses.

    avenue wrote:
    How to create a VI that detects and records responses from user
    You definitely need to check what 'EVENT STRUCTURE' is and how to use it... because thats needed to write such code.
    I am not allergic to Kudos, in fact I love Kudos.
     Make your LabVIEW experience more CONVENIENT.

  • Powershell error while importing module and executing function from module

    powershell error while importing module and executing function from module
    Function called in uncertain order..
    VERBOSE: The 'Function1' command in the MyModule module was imported, but because its name does not include an approved verb, it might be difficult to find. The
    suggested alternative verbs are "Clear, Install, Publish, Unlock".
    VERBOSE: Importing function 'Function1'.
    VERBOSE: The 'Function2' command in the MyModule' module was imported, but because its name does not include an approved verb, it might be difficult to fin
    d. For a list of approved verbs, type Get-Verb.
    VERBOSE: Importing function 'Function2'.

    First of all those errors look more related to HBR, though if it worked before I would restart services then log into the planning app and then try again.
    Have you tried a different form as well one without an ampersand &.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Get current PCD path from user context

    Hi expert,
    Anyone has an idea how to get the pcd path of WDJ ? from user context ?
    Thanks for your quick reponse.
    Kr,
    Ben.J.

    Hi Ben,
    I am not quite sure what your use case is here.
    However, have a look at this link:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/b4/adbf40b87e0366e10000000a1550b0/frameset.htm
    If it is for navigational purposes, you can use the WDPortalNavigationService.
    Have a look at http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/2f72d990-0201-0010-85b0-8d626287dd4d
    - SM

  • Using a function from static context..

    Well I have a command line app; and it has a public static void main. Now, I made a function that writes to a file, and tried calling it from the main section, and it got mad saying I can't call it from static context. Anyway to allow it to be called from both static and non static contexts?

    otherwise create object of the class, from that object you can call a method

  • Unable to use "drag and drop function" from outlook

    We are changing from Lotus to outlook and this has made a problem with getting pdf-files into OAWD directly .
    Procedure was like this in Lotus
    1. We get documents (FI, F-43, aso ) by email
    2. We use OAWD function "drag and drop" , document is attached to a document type and workflow is triggered
    3. We pick up documents from Business workplace , handle the document and send it to the approver (who earlier got it directly in their mailbox "lotus")
    so far so good , everything worked well
    Unfortunately we changed to outlook, non attached files can be "drag and dropped" into OAWD (I understand the part about outlook is showing links instead of "real" pdf and know this is part of the problem)
    My question, it can not be possible that we have to manually save the documents/attached files from outlook into "desktop" to later use the drag and drop function?
    I have read about the programms to solve problem , ex "inPuncto", but our experts says there will be problem with connector to workflow from OAWD.
    I have my greatest doubts about that because this must be really two diffrent moduls, one for converting from outlook and the other must be unchange (undependent of the earlier procedure). SAP can not know from what program the documents will be dragged? 
    Suggestion about some OAWD-adaptor ?
    Any suggestions about great solutions ?

    it seems there is no way.
    See note 1797073
    Is there someone with a better solution?

  • AUDIT action (create, delete, privilege escalation, set and change password from users account and group) users and admins in Solaris 10

    Hello.
    in Solaris 10 i need auditing process create, delete, privilege escalation, set and change password and etc... from users account and group.
    I set settings:
    in file syslog.conf:
    *.info;mail.none;cron.none;audit.notice            @IP-Remote-syslog-server-SIEM
    in file   /etc/security/audit_control:
    dir:/var/audit
    flags:lo,ad,ex,cc,am,no,fc,fd
    minfree:20
    naflags:lo
    plugin:name=audit_syslog.so;p_flags=lo,ad,ex,cc,am,no
    in file   /etc/security/audit_user:
    root:lo,ad:no
    Now I see in the logs only the fact of a connection via SSH and run processes on behalf of users. Creation. delete users, change passwords for some reason do not is logged.
    Many users. For each individual write permissions in the file /etc/security/audit_user not possible, it is likely to forget any new user (or there is a possibility in this file one line to describe the audits for all accounts?)
    Where is the mistake?

    You are most likely hitting Bug 15779000 user/role/groupadd/mod/del don't audit their use.
    And the fix is only available in S11.2.
    -- Renaud

  • How to extract the date and date format from user reponse

    In BOXIR2 WebI, I have one requirement.
    1) My users will change the infoview interface locales as per their geography ( uk, usa, japan, india etc.)
    2) Users will enter/select the date in a date prompt in the locale specified format
    3) Now my requirement is to display the date in "dd-'mon'-yyyy" using the userresponse.
    Please let me know if any one have any workarounds to get the date from any locale and display in the "dd-mon-yyyy" format.

    Hi,
    I think you will have to use the GetLocale() function and base an if off that
    So something like
    To_Date(UserReponse("promptName");if(GetLocale()="en_US";"MM/dd/yyyy";if(GetLocale()="fr_FR";"dd-mm-yyyy";"dd/mm/yyyy")))
    Regards
    Alan

  • To remove Cancel and Keep workitem from User desicion

    Hi,
      I am having a requirement that I need to remove the extra system added button of <b>cancel and Keep workitem</b> in the User decision activity. I don't want that to be shown to the user for proccessing , I shoud display only Approve and Reject option. But the third one is getting added by iteself.
    Can any one please guide me in removing this option from the workitem.
    Advance thanks .
    Regards,
    Sabari Prabhu.

    Hi,
    I'm not on a SAP system right now, so i'm not sure if this will help (or is true for that matter).
    I think in the tabs of the step definition, you can alter the code used for the user decision.
    Or, if this is not possible, you can also create a custom ud step and a custom BO of the method used in decisions and change the method of the decision, so that these don't show up.
    I do not think that this is an easy solution.
    May I ask, what the functional requirement, or even the business spec is, for this? I think the cancel button is very handy, when users accidentally picked up a work item and is SAP standard behaviour.
    Kind regards, Rob Dielemans

  • Dynamically generating and printing output from user input on pdf form

    Hi Everyone,
    I am consider the purchase of of Designer with the hopes of doing something really simple (and hopefully in a simple way)
    I would like to present the user with a form which they will fill out. On clicking a "submit button", I would like to generate a letter and have it print out based on the information provided in this form (note, the user doesn't ever really even need to see the letter).
    Would Designer be able to do something like this? I have been messing around with the trial version, so I am somewhat familiar with the scrip language. For instance, I am at the point where I would be able to get all the information, and generate the letter in HTML stored in a string object. But I wouldn't know what to do with this string to render and print it.
    Thanks!
    - Dave

    I have just downloaded the trial version of Acrobat 7. It appears that if you want to create a new form, it pretty much brings you to Designer... which is really fine by me.
    I appreciate everyone telling me that it is doable, I'm still left with the problem of what I should actually do to do it! =)
    - Dave

  • Username and password getting from one context to another context

    Hi all,
    In sample.ear have single sign on.
    i have two war files first .war and second.war.
    But different database for every war.
    first.war ==> db1[database]
    second.war ==> db2[database]
    Now i logged in to the first.war .
    if i want to go second.war using same username and password.
    how can i get the same username and password from first.war to second.war.
    Now i am using to send the username and password thorough hidden box..

    Hi,
    Since u r saying single sign on, u can provide a login at the simple itself.Then at one point u can access first, second applications from simple and u can pass the username, password to the applications from that page easily.
    Hope this helps.
    Cheers,
    Mouli.

  • Reset or Clear SAP user context by external RFC caller program

    Hello,
    I have a SAP system with performance problems due to a SAP user context starts using a lot of memory.
    This user context comes from an External RFC caller program written in Delphi and which uses the SAP RFC SDK provided by SAPGUI 6.40: SAP Automation library, SAPFuntionsOCX, I mean, using methods in the object "SAPFunctions" in SAPFunctionsOCX in file "wdtfuncU.ocx", in SAPGUI directory.
    Everytime we have performance problems, this RFC SAP user context is using near 1400 Mb of extended memory, although there is a lot of free physical RAM memory available, there are free dialog processes and CPU load is low (no more than 30%).
    This performance problem is solved by closing the external program (written in Delphi) which connects to SAP via RFC.
    This external program works for the warehouse management and connects to SAP several times per minute. Due to connection performance and the high frequency with which this external program must connect to SAP, the connection to SAP is not closed after each call to RFC SAP function modules.
    The extended memory used by this SAP RFC user is growing along time. I detected, using ST03 transaction, that these user sessions have always the same transaction code hash, I mean, although the external programs call the same SAP RFC funcion modules several times (¡¡¡ always clearing the variables at the beginning and at the end of de ABAP code, with ABAP commands like REFRESH and FREE ¡¡¡¡) the technical transaction code is the same and I suppose the user context (in extended memory) is not deleted.
    I think it is better than the external program close the context memory (similar to "/n" okcode in SAPGUI).
    But we don't want to close the connection, because the external program connects to SAP with a high frequency, and the logon process is expensive.
    Is there any way to send something similar to "/n" (end of transaction) from the external program? Is there any command in the SAP RFC SDK library (SAPFuntionsOCX or something similar?
    I cannot find any method to do that in the object "SAPFunctions" in SAPFunctionsOCX in file "wdtfuncU.ocx", in SAPGUI directory.
    Old information for Object Classes "SAPFunctions" in SAPFunctionsOCX in file "wdtfuncU.ocx", in SAPGUI directory, is described in the following URL:
    http://help.sap.com/saphelp_45b/helpdata/en/39/7e00d1ac6011d189c60000e829fbbd/frameset.htm
    But I cannot find anything related to something similar to a "/n" in SAPGUI.
    As I have the SAPGUI installed on my desktop, I can see all SAP RFC classes and methods from Excel, by opening the Visual Basic editor.
    I am only asking a way to send to SAP a command to free the user context used for an open RFC session in order to avoid the memory used to be continuously growing, without having to close the RFC session.
    The external program only calls a certain SAP function module periodically and we want to free the user context between calls without logging off. This is the same, very similar, as if we called that function from SAPGUI and we used "/n" in SAPGUI between calls.
    Anyone can help me?
    Thanks and best regards.

    Hello,
    I don't know if this will solve your problem, but you may be using MF 'RFC_CONNECTION_CLOSE' between each call of you RFC function.
    Regards
    Brice
    Edited by: blsapsdn on Apr 15, 2011 5:27 PM

  • Printing from Explorer context menu prints in wrong scale

    Hi,
    I have a problem with a customer; when they right-click a PDF file and choose "Print" from Explorer context menu the actual printout is sometimes printed in the wrong scale, ie it looks zoomed. The same problem exists when printing PDF's from other applications as well, for example Outlook. If they print the same PDF one more time (by right-click-printing) the problem may resolve itself. Sometimes it's enough to print twice, other times they need to do it more times. The problem exists in several computers, which is why i want it to be a problem with some default-settings in Adobe Reader.
    What might cause this behavior ?

    So, 4 years have passed, and one would hope the problem solved itself in some update the last 4 years.
    However, it has not. (Well, actually it was fixed for a short while. Then it broke again:()
    I do have some fresh information that can help you devs at Adobe to maybe get closer to a solution.
    Just before christmas (nov 22) i was doing a new attempt to solve the problem.
    At the time Reader XI had been released, but not yet installed at the client. Crossing my fingers and praying to higher powers i downloaded XI and gave it a shot; and the problem actually went away! My theory was that finally some architectual change had been implemented; or parts of Reader had been rewritten for any reason. Anyhow, the problem was gone after nearly 4 years and both me and the client was happy!
    Today the client called again. The PDF-printouts are zoomed again. Worse than ever. Now, EVERY PDF that's printed was getting zoomed (if printed from another program.). When printing, Reader flashes by the screen; so i guess the app does something like "adobe.exe /print %temp%\whatever.pdf" or however it works.
    I immediately suspected that an update had been installed and broke the Reader again. This was the case. 11.0.06 had been auto-installed last week. After searching adobe site for 30 minutes i finally found the downloads required to get 11.0.05 installed and running again. *poof* problem gone. Every print is good.
    SOO..
    11.0.05 does not contain the bug that makes most printouts zoomed. (WORKS)
    11.0.06 contains the bug again. (DOES NOT WORK)
    So, whatever changes are in that update broke the Reader for the client again.
    ADOBE: Hope this gets u closer to a solution!
    PEOPLE: If you are experiencing the same problem as my client, please try my solution. It just might help you.
    ps. oh, and where u download older versions from adobe.com is
    http://www.adobe.com/support/downloads/product.jsp?product=10&platform=Windows
    Install order:
    - 11.0.01                AdbeRdr11000_mui_Std.zip
    - 11.0.04 patch      AdbeRdrUpd11004_MUI.msp
    - 11.0.05 patch      AdbeRdrSecUpd11005.msp
    Im not sure if installing Multilanguage/All Languages makes a difference.

  • In Infopath - From User Group webservice First & Last Name are not displaying

    Hi, I am working on Internet faced Infopath Sharepoint 2010 web application.In Infopath form we used a User Group web service to retrieve the first and last names when opening the form. In Development environment its working fine (Ex:- http://sharepoint2010dev:45/)
    then we extend the webapplication with domain name in url.(Ex:http://Domainsp:80/) then the first and last names from User Groups is not working.
    Please give your suggestions to resolve this isssue.
    Any help is appreciated..!

    Hi,
    According to your post, my understanding is that the User Group web service not worked when extend the web application with a domain name in URL.
    Did you change the URL to the UserGroup web service in the Data Connection Wizard?
    As you had changed the URL, I think you should change the URL(http://<site>/_vti_bin/UserGroup.asmx), then check whether it works.
    http://blog.ianchivers.com/2011/01/using-sharepoint-usergroup-web-service.html
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Removing Commerce Functionality from Basic Portal Config

    Is there any documentation as to how to go about removing the commerce, ad and campaign functionality from the Basic Portal Domain Configuration? Or is there an easy way to create a Portal Domain Configuration which does add this in in the first place?

    Yeah, thats easy enough. There are still a bunch of residual tables in the DB and stuff like that though. It seems that there ought to be some sort of documentation as to how to strip that stuff out.

Maybe you are looking for

  • Duplicated master data texts causes multivalue error

    Hi All, In customer master data i got records like, key --> 123 /  text --> Kibele key --> 124 /  text --> Kibele even i put the customer key into the drill down with texts,  Webi gives multivalue error for all keyfigures and key as below. customer k

  • ATP check on Sales order items not due for delivery?

    All, In our Sales order, we have a number of dummy material lines. Now, when I use the normal sales order ATP check button, SAP does nothing. However, we have a custom program that does an ATP check, and it returns a zero qty. My question is, how do

  • GRC 10.0 - Auto Approve default roles

    Hello All, Could you please help out me in the below scenarios.      1) We have maintained default roles in NBWC- Access Management - Default roles.      Also set the parameter 2038 to Yes- Auto approve roles without approver. In MSMP we have maintai

  • Video format unsupported

    I used to watch movies on my playbook. But after updating firmware when I try to play any video from the library I get an error that video format is not supported. Both .avi and .mkv videos are unplayable now, but they were working before the update.

  • Ad-hoc excel issue

    Hi, I can see the list in the adhoc Query but when I export the same in Excel sheet , I am unable to see the names in the list. Could someone please help me with this problem? Thanks in advance Regards