Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • magic-lantern magic-lantern
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 655
    • Issues 655
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 75
    • Merge requests 75
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

In order to prepare the next update of Heptapod based on Gitlab 16.0. The instance will be unavailable on 2023-10-06 between 19:00 and 23:00 UTC+2

  • magic-lantern
  • magic-lanternmagic-lantern
  • Merge requests
  • !958

replace is_taskid_valid with direct access to task array

  • Review changes

  • Download
  • Patches
  • Plain diff
Open Bitbucket Importer requested to merge topic/77D-task-base-struct-size/bitbucket-pr-958 into branch/digic6-dumper Apr 21, 2019
  • Overview 2
  • Commits 4
  • Pipelines 0
  • Changes 9

Created originally on Bitbucket by calle2010 (Christian Schäfer)

  • ignore generated files in minimal tree and xor_chk

  • experiment to replace is_taskid_valid

    Use task structure pointer for two different tasks to - determine task array base - task structure size

    The lower half of the task ID is an index into to task array

    Tested in Qemu with 77D, 200D and 50D

  • replace is_taskid_valid stub

    • implement get_task_info_direct and adapt tasks.c accordingly
    • initialize task_array_base and task_struct_size during processing of init_task and big_init_task
    • task_create() stub does not return a function to the task structure
    • small change to wait_object_id: IDs have six hex digits on 50D, causing weird output with %2x
    • tested in Qemu for model 50D.109

    Open: How to replace task_attr.used with info from struct task?

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: topic/77D-task-base-struct-size/bitbucket-pr-958