1. 27 Jul, 2013 2 commits
  2. 29 Apr, 2013 1 commit
    • Ben Avison's avatar
      Bugfix to macros in Hdr:CPU.Generic32 · 7a505e55
      Ben Avison authored
        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.
        Untested, but no risk to ROM builds.
      Version 2.28. Tagged as 'HdrSrc-2_28'
  3. 06 Apr, 2013 2 commits
  4. 23 Mar, 2013 2 commits
    • Ben Avison's avatar
      Second of a two-part update of HdrSrc. · 726bd695
      Ben Avison authored
        * Hdr:CPU.Arch added to the list of header files included here. This is
          because it's now needed by 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.
        * 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.
        Update originally from Rob Sprowson, bugfixes and additions and split into
        two parts by me.
      Version 2.26. Tagged as 'HdrSrc-2_26'
    • Ben Avison's avatar
      First of a two-part update of Hdr:CPU.Generic* · 154397df
      Ben Avison authored
        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).
        Update originally from Rob Sprowson, bugfixed and split into two parts by me.
      Version 2.25. Tagged as 'HdrSrc-2_25'
  5. 27 Jan, 2013 1 commit
    • Ben Avison's avatar
      Rationalisation of Hdr:Machine · 6b8c37eb
      Ben Avison authored
        * 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.
        Changes provided by Sprow
      Version 2.24. Tagged as 'HdrSrc-2_24'
  6. 13 Jan, 2013 2 commits
  7. 05 Dec, 2012 1 commit
  8. 04 Dec, 2012 1 commit
  9. 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'
  10. 05 Sep, 2012 1 commit
  11. 02 Sep, 2012 2 commits
  12. 30 Aug, 2012 1 commit
  13. 28 Aug, 2012 2 commits
    • Jeffrey Lee's avatar
      Enable RTCSupport for M_ARM11ZF · d00224ea
      Jeffrey Lee authored
        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.
        Untested locally, but reported working by Dave Higton
      Version 2.14. Tagged as 'HdrSrc-2_14'
    • Ben Avison's avatar
      Resync with allocations database · 24425c5d
      Ben Avison authored
      Version 2.13. Tagged as 'HdrSrc-2_13'
  14. 12 Aug, 2012 1 commit
  15. 20 Jul, 2012 1 commit
  16. 15 Jul, 2012 1 commit
  17. 14 Jul, 2012 1 commit
  18. 29 May, 2012 1 commit
  19. 27 May, 2012 1 commit
    • Ben Avison's avatar
      Miscellaneous changes · 2c6f39ca
      Ben Avison authored
        * 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)
        Changes received from Rob Sprowson
      Version 2.08. Tagged as 'HdrSrc-2_08'
  20. 14 May, 2012 1 commit
  21. 13 Apr, 2012 1 commit
  22. 24 Mar, 2012 1 commit
    • Ben Avison's avatar
      Resync with allocations database. · cf7c1535
      Ben Avison authored
        * 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'
  23. 20 Mar, 2012 1 commit
    • Jeffrey Lee's avatar
      Add SETBCD macro · 26325284
      Jeffrey Lee authored
        hdr/Macros - Add new SETBCD macro, to convert a number to BCD and assign it to a variable
        Tested in OMAP3 ROM build
      Version 2.04. Tagged as 'HdrSrc-2_04'
  24. 19 Mar, 2012 1 commit
    • Ben Avison's avatar
      Added BBC micro compatible error numbers to Hdr:NewErrors · a9f38dbc
      Ben Avison authored
        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.
        Tested in a Tungsten ROM build to check for name clashes.
      Version 2.03. Tagged as 'HdrSrc-2_03'
  25. 18 Mar, 2012 1 commit
  26. 17 Mar, 2012 1 commit
  27. 09 Mar, 2012 1 commit
  28. 04 Mar, 2012 1 commit
  29. 03 Mar, 2012 1 commit
  30. 02 Mar, 2012 1 commit
    • Ben Avison's avatar
      Resync with allocations database · 8a7e9238
      Ben Avison authored
        * 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
        Changes from Rob Sprowson
      Version 1.97. Tagged as 'HdrSrc-1_97'
  31. 16 Feb, 2012 1 commit
    • Jeffrey Lee's avatar
      Add protection against StrongARM conditional MSR CPSR_c bug · 6dfb8d83
      Jeffrey Lee authored
        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.
        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'
  32. 27 Jan, 2012 1 commit
    • Ben Avison's avatar
      Resync with allocations database · 8522d964
      Ben Avison authored
        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.
        Changes requested by Rob Sprowson
      Version 1.95. Tagged as 'HdrSrc-1_95'
  33. 11 Jan, 2012 1 commit
  34. 12 Dec, 2011 1 commit