1. 29 Apr, 2013 1 commit
    • Ben Avison's avatar
      Bugfix to macros in Hdr:CPU.Generic32 · 7a505e55
      Ben Avison authored
      Detail:
        A number of these macros, when build targeting all CPUs (e.g. in disc builds)
        only worked correctly if a register was specified to leave the original
        PSR state in.
      Admin:
        Untested, but no risk to ROM builds.
      
      Version 2.28. Tagged as 'HdrSrc-2_28'
      7a505e55
  2. 06 Apr, 2013 2 commits
  3. 23 Mar, 2013 2 commits
    • Ben Avison's avatar
      Second of a two-part update of HdrSrc. · 726bd695
      Ben Avison authored
      Detail:
        Hdr:System:
        * Hdr:CPU.Arch added to the list of header files included here. This is
          because it's now needed by Hdr:CPU.Generic*.
        Hdr:CPU.Generic*:
        * Reintroduced ARMv2 compatibility to many macros. Should allow a new
          universal boot sequence to be constructed.
        * SCPSR in Generic26 optimised in cases where no PSR bits are preserved.
        * RemovePSRFromReg optimised for 32bit-only builds - becomes a no-op.
        Hdr:Machine.Machine:
        * Reordering of braces so that symbol "HAL" doesn't have to be defined -
          useful for disc builds, which target both HAL and non-HAL machines, so
          the symbol is undefined.
        * Added some comments and an assert about No26bitCode and No32bitCode.
      Admin:
        Update originally from Rob Sprowson, bugfixes and additions and split into
        two parts by me.
      
      Version 2.26. Tagged as 'HdrSrc-2_26'
      726bd695
    • Ben Avison's avatar
      First of a two-part update of Hdr:CPU.Generic* · 154397df
      Ben Avison authored
      Detail:
        Changes split into two parts to make the diffs readable. In this part:
        * Simplified the inclusion of Hdr:Machine.<Machine> - all current builds
          require a new enough version of objasm that the bug with GET directives
          inside conditionals appears to no longer apply.
        * A number of macros used to have large switches of almost-identical code
          depending upon whether an optional register was defined or not - these
          are now simplified by using a local variable to hold the register.
        * RETURNS is no longer wrapped in :LNOT: No26bitCode, since it could still
          be useful for exception return, non-transient callback handlers etc.
          However, its presence is still a warning sign for non-32-bit-compatible
          code, so it emits a warning unless you add an extra argument to indicate
          that you've vetted that the code is 32-bit safe.
        * Operator precedence bug fixed in SCPSR from Generic32 copied across to
          Generic26 (applies if bits to set/clear were given as expressions).
        * Conflicting set and clear bits in SCPSR now produce an error in both
          Generic26 and Generic32 (previously was only a warning in Generic26).
        * Added the same flag bit check in WritePSRc in Generic26 as already
          existed in Generic32.
        * Some comments reformatted for consistency.
        * Uses of mymrs replaced with MRS, and unconditional or flag-only uses of
          mymsr macro replaced with MSR (other ones remain to deal with the
          StrongARM bug).
        * RETURNVC and RETURNVS no longer accept NV condition code.
        * Removed BKPT macro (now implemented natively in objasm).
      Admin:
        Update originally from Rob Sprowson, bugfixed and split into two parts by me.
      
      Version 2.25. Tagged as 'HdrSrc-2_25'
      154397df
  4. 27 Jan, 2013 1 commit
    • Ben Avison's avatar
      Rationalisation of Hdr:Machine · 6b8c37eb
      Ben Avison authored
      Detail:
        * Updated comments in 32, All, All32
        * New Machine for IOMD class
        * Phoebe support removed
        * In Hdr:Machine.Machine:
          + Moved the 4 common switches to the top (No32bitCode; No26bitCode;
            NoUnaligned; StrongARM_MSR_bug).
          + Bracketed non 'All' switches, mid term most of these are actually
            kernel private switches, but the HAL kernel still includes a lot of
            pre HAL code so making it tricky to obsolete them in one pass.
          + Bracketed non 'HAL' switches, pending deletion.
          + Bracketed non 'HAL' STB switches, pending deletion.
          + Deleted unused "NewClockChip", "CDVPoduleIRQs", "OldComboSupport",
             "DoPOSTwithoutPowerOn", "M_Phoebe".
          + Moved "HAL32"; "HAL26"; "ROMSizeOffset" to kernel header.
          + Added some comments.
      Admin:
        Changes provided by Sprow
      
      Version 2.24. Tagged as 'HdrSrc-2_24'
      6b8c37eb
  5. 13 Jan, 2013 2 commits
  6. 05 Dec, 2012 1 commit
  7. 04 Dec, 2012 1 commit
  8. 06 Nov, 2012 1 commit
    • Ben Avison's avatar
      Resync with allocations database. · 1826010d
      Ben Avison authored
      Also added DrawFiles to indicate key numbers graphically; these should be
      considered to update PRM figures 11.1 and 23.3 - 23.5 for post-Archimedes
      hardware. These complement the file Hdr:Keyboard.
      
      Version 2.19. Tagged as 'HdrSrc-2_19'
      1826010d
  9. 05 Sep, 2012 1 commit
  10. 02 Sep, 2012 2 commits
  11. 30 Aug, 2012 1 commit
  12. 28 Aug, 2012 2 commits
    • Jeffrey Lee's avatar
      Enable RTCSupport for M_ARM11ZF · d00224ea
      Jeffrey Lee authored
      Detail:
        hdr/Machine/Machine - Enabled RTCSupport for M_ARM11ZF. Required for any IIC-attached RTC on the Raspberry Pi to be picked up by the kernel.
      Admin:
        Untested locally, but reported working by Dave Higton
      
      
      Version 2.14. Tagged as 'HdrSrc-2_14'
      d00224ea
    • Ben Avison's avatar
      Resync with allocations database · 24425c5d
      Ben Avison authored
      Version 2.13. Tagged as 'HdrSrc-2_13'
      24425c5d
  13. 12 Aug, 2012 1 commit
  14. 20 Jul, 2012 1 commit
  15. 15 Jul, 2012 1 commit
  16. 14 Jul, 2012 1 commit
  17. 29 May, 2012 1 commit
  18. 27 May, 2012 1 commit
    • Ben Avison's avatar
      Miscellaneous changes · 2c6f39ca
      Ben Avison authored
      Detail:
        * Hdr:CMOS gains bit definitions for byte &10 (from allocations master copy)
        * Hdr:NdrDebug changed to avoid assembler warnings about push of LR+PC
          (at least for :LNOT: No32bitCode case)
      Admin:
        Changes received from Rob Sprowson
      
      Version 2.08. Tagged as 'HdrSrc-2_08'
      2c6f39ca
  19. 14 May, 2012 1 commit
  20. 13 Apr, 2012 1 commit
  21. 24 Mar, 2012 1 commit
    • Ben Avison's avatar
      Resync with allocations database. · cf7c1535
      Ben Avison authored
      Detail:
        * Documented ADFS's and SCSIFS's CMOS use better in Hdr:CMOS.
        * Fixed typo in Hdr:NewErrors that causes asasm to emit a warning.
        * Fixed Hdr:OsBytes so that it doesn't trip up Hdr2H. Also listed hex and
          decimal OS_Byte numbers in comments for ease of reference.
        * Fixed some formatting in Hdr:CMOS and Hdr:NewErrors.
      
      Version 2.05. Tagged as 'HdrSrc-2_05'
      cf7c1535
  22. 20 Mar, 2012 1 commit
    • Jeffrey Lee's avatar
      Add SETBCD macro · 26325284
      Jeffrey Lee authored
      Detail:
        hdr/Macros - Add new SETBCD macro, to convert a number to BCD and assign it to a variable
      Admin:
        Tested in OMAP3 ROM build
      
      
      Version 2.04. Tagged as 'HdrSrc-2_04'
      26325284
  23. 19 Mar, 2012 1 commit
    • Ben Avison's avatar
      Added BBC micro compatible error numbers to Hdr:NewErrors · a9f38dbc
      Ben Avison authored
      Detail:
        The result of an investigation of error number usage in filing systems -
        note that there is still a strong correlation between many of these and the
        filing system error blocks. It seemed wise to record them somewhere.
      Admin:
        Tested in a Tungsten ROM build to check for name clashes.
      
      Version 2.03. Tagged as 'HdrSrc-2_03'
      a9f38dbc
  24. 18 Mar, 2012 1 commit
  25. 17 Mar, 2012 1 commit
  26. 09 Mar, 2012 1 commit
  27. 04 Mar, 2012 1 commit
  28. 03 Mar, 2012 1 commit
  29. 02 Mar, 2012 1 commit
    • Ben Avison's avatar
      Resync with allocations database · 8a7e9238
      Ben Avison authored
      Detail:
        * Hdr:KEYV merged into Hdr:Keyboard - warning: anything that depends on the
          former *will break*
        * New header file, Hdr:OsBytes - for consistency with Hdr:OsWords, we'll
          keep this under the allocations system even though it's highly unlikely
          that any new allocations will be requested
      Admin:
        Changes from Rob Sprowson
      
      Version 1.97. Tagged as 'HdrSrc-1_97'
      8a7e9238
  30. 16 Feb, 2012 1 commit
    • Jeffrey Lee's avatar
      Add protection against StrongARM conditional MSR CPSR_c bug · 6dfb8d83
      Jeffrey Lee authored
      Detail:
        hdr/Machine/Machine - Add new StrongARM_MSR_bug global that's TRUE when we're targeting a StrongARM-compatible machine type.
        Corrected No26bitCode and No32bitCode comments to say that it's all about whether we're supporting 26/32bit processor modes, not about whether we're targetting 26/32bit only processors
        hdr/CPU/Generic32 - Modify macros to protect against StrongARM MSR bug where appropriate.
      Admin:
        Tested with IOMD softload on StrongARM RiscPC.
        Fixes issue with Maestro crashing due to MSR bug creating a stack imbalance in SoundScheduler.
      
      
      Version 1.96. Tagged as 'HdrSrc-1_96'
      6dfb8d83
  31. 27 Jan, 2012 1 commit
    • Ben Avison's avatar
      Resync with allocations database · 8522d964
      Ben Avison authored
      Detail:
        Added KeyboardID_None.
        Removed sub-reason codes for International and Portable modules from
        hdr:Services - these are about to move to their respective header files.
      Admin:
        Changes requested by Rob Sprowson
      
      Version 1.95. Tagged as 'HdrSrc-1_95'
      8522d964
  32. 11 Jan, 2012 1 commit
  33. 12 Dec, 2011 1 commit
  34. 10 Dec, 2011 1 commit
    • Jeffrey Lee's avatar
      Add new OS_Heap reason code · 4027b21d
      Jeffrey Lee authored
      Detail:
        hdr/Heap - Added definition for OS_Heap 7, HeapReason_GetAligned
      Admin:
        Heap changes tested in OMAP3 & Tungsten ROMs
      
      
      Version 1.92. Tagged as 'HdrSrc-1_92'
      4027b21d
  35. 13 Nov, 2011 1 commit