1. 23 Mar, 2013 1 commit
    • 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
  2. 26 Nov, 1999 1 commit
    • Stewart Brodie's avatar
      Merge of 32-bit capable macros to trunk. · 559a684e
      Stewart Brodie authored
      Detail:
        The 26-bit and 32-bit capable macros have been added.
        Header files choose which set of macros to use based on <Machine>.
        If you want the new macros, include "Hdr:APCS.<APCS>" in addition
          to the usual inclusions at the top of assembler files.
        Choices are based on the settings of macros No32bitCode and
          No26bitCode.  By default, all existing machines define these
          as {TRUE} and {FALSE} respectively.  This yields the same macros
          as before (tested in Customer F 5 build) and should yield code which
          functions on RISC OS 3.1.  Any other combination of settings is
          untested at this time.
        New assembler code should use the macros FunctionEntry, Return et al
          to ensure that they build correctly.
        New assembler code should be written to not require flag preservation
          across internal function calls and to not assume it on external
          function calls where it is possible to do so.  DO NOT simply replace
          "MOVS pc, lr" with "MOV pc, lr" as this doesn't work properly.
          Replace "MOVS pc, lr" with "Return ,LinkNotStacked"
        Do not write code which simply masks out &FC000003 from pc or some kind
          or pc originated value (eg. on r14 to attempt to remove the PSR flags
          from it.  Use the RemovePSRFromReg macro instead.
      Admin:
        Tested with Customer F 5 build.
        Requires FPEmulator 4.11
        Requires Portable 0.65 (or Portable75 0.04)
        Required by any new or modified assembler code in future, pretty much.
          Such components may not necessarily specify a dependency on this
          or any other later version of HdrSrc.
      
      Version 0.63. Tagged as 'HdrSrc-0_63'
      559a684e
  3. 05 Nov, 1996 1 commit