Re: exception-handlers

From: Måns Rullgård (mru_at_mru.ath.cx)
Date: 10/03/04

  • Next message: Philip: "Re: ibmcam usb driver not being called"
    Date: Sun, 03 Oct 2004 00:11:19 +0200
    
    

    "Scott J. McCaughrin" <sjmccaug@bluestem.prairienet.org> writes:

    > Does Linux have a way to let me trap the real-time interrupt
    > for INT 4Ah (the user-definable alarm responding to INT 70h
    > RTC signals), so I can install my own handler in user-mode?

    Does writing a kernel module qualify as a way?

    -- 
    Måns Rullgård
    mru@mru.ath.cx
    

  • Next message: Philip: "Re: ibmcam usb driver not being called"

    Relevant Pages

    • Re: [tip:perfcounters/core] perf_counter: x86: Fix call-chain support to use NMI-safe method
      ... Writing control registers is serializing, so it's a lot more expensive ... Then how about just writing to the cr2 register *if* it has changed ... fault (the fault handler gives us back an error code). ... And I would not want to touch the page fault handler itself to write the ...
      (Linux-Kernel)
    • Re: Using async unsafe function in signal handler
      ... It is OK to call non-async-signal-safe functions in a signal handler if and only if you can be absolutely sure that not only that function but all "co-dependent" functions that intimately share data are never called from non-signal code. ... That's why the text refers to "another unsafe function"; because the data dependencies may be obscure and widely spread. ... For example, it's obviously not OK to call malloc() in a signal handler if non-signal code calls malloc; but you'll have just as much of a problem if non-signal code calls free, or realloc. ... Or, as in the case of malloc, a closely related function that might share user-mode data. ...
      (comp.programming.threads)
    • Re: GUI application death catcher?
      ... > I'm writing a GUI app in Python that will be used on the International ... > break the error handler by breaking some utility code that the error ... This sounds a lot like you are writing this without proper unit tests. ...
      (comp.lang.python)
    • Re: some guy yelled at me
      ... I like this phrasing and sometimes use it -- I forgot about it when ... writing my first post. ... I am Lindy's handler, but not her owner, or her human. ...
      (rec.pets.dogs.behavior)
    • Re: How to find address of OEMAddressTable?
      ... you may use the LockPages API to query its physical address... ... > if you are writing a NDIS driver, ... > But for other drivers or User-Mode APPs, ...
      (microsoft.public.windowsce.platbuilder)