Results 1 to 5 of 5

Thread: atombios parameter space allocation

  1. #1
    Join Date
    Dec 2008
    Posts
    166

    Question atombios parameter space allocation

    Hi,

    Shall we trust the parameter space size from the command table header for each command table execution, or the size of the structure defined in atombios.h?

  2. #2
    Join Date
    Dec 2007
    Posts
    2,329

    Default

    Use the space specified in the header. Some tables call other tables which need larger parameter spaces.

  3. #3
    Join Date
    Dec 2008
    Posts
    166

    Question

    Is this going to work if I do allocate the parameter space for each table invocation using the parameter space size in the command table header?

  4. #4
    Join Date
    Dec 2007
    Posts
    2,329

    Default

    Actually I take that back. the parameters are passed to the parser when it's called. You need to allocate the size of the ps allocation struct for the command table you want to execute. The struct size should match the ps size in the header.

  5. #5
    Join Date
    Dec 2008
    Posts
    166

    Thumbs up

    Ok! Indeed, it is should work.
    thx.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •