Commit Graph

15391 Commits

Author SHA1 Message Date
florian
e19103e9a9 * missing file to build added, as mentioned by Mathew Bradford
* Makefile regenerated
2023-08-27 10:48:41 +02:00
Interferon
c482bafdaf There is code in the register allocator to restrict register allocation to the
first 16 registers in RISC-V RVE and RVEC modes.  However, there was still
code in tcpuparamanager.create_paraloc_info_intern that allowed the allocation
of up to register X17 in RVE and RVEC modes.  Modified this function to
take the processor mode into account and restrict it to X0..X15 in RVE and RVEC modes.

Also put conditional code in setjump.inc assembler code to only set the first
16 registers in RVE and RVEC modes.

The entire embedded-riscv32 RTL can now compile successfuly in RVEC mode.
2023-08-26 22:12:00 +02:00
Interferon
8382c6f586 Added generic WCH32Vx RISC-V processor types using memory size suffixes
Modified low-level startup code for RISCV32 embedded microcontrollers to
allow user code override of reset handlers for non-power-up reset events
as well as enabling user code override handlers for all 255 possible
interrupt vectors.
Separated out the low-level startup memory init into a callable procedure
to allow users that have caught reset events to init memory again if needed.

Signed-off-by: Interferon <brspm2@pinnaclesimulation.com>
2023-08-26 22:12:00 +02:00
ccrause
5930ffa135 Call rtl_do_close handler in sysfile.do_close, as reported by Kostas Michalopoulos 2023-08-26 09:24:46 +02:00
Michaël Van Canneyt
a748d7279c * Re-add comment 2023-08-24 14:58:22 +02:00
Michaël Van Canneyt
6a07a508b8 * Simplify GetEnumNameCount (by Lagprogramming). Fixes issue #40411 2023-08-24 08:44:01 +02:00
Michaël Van Canneyt
c09e8778bd * Small improvement in inittls. Fixes issue 40408 2023-08-21 23:19:15 +02:00
Henrique Gottardi Werlang
1ca9f9af51 Rebase error. 2023-08-16 14:31:42 -03:00
Rika Ichinose
1a6e6a1b0b Improve generic large set operations: +, -, *, ><, =, <=, mostly by working in PtrUints. 2023-08-16 17:15:33 +00:00
florian
c48c816e49 * (modified) patch by Jinyang He to handle alignment in FindInFieldTable correctly, resolves #40400 2023-08-15 23:31:33 +02:00
Michaël Van Canneyt
36a2835f8c * Deprecate hextobin 2023-08-12 17:09:07 +02:00
Michaël Van Canneyt
fd39fd96b3 * Add enumerator for TStringBuilder. Fix issue #37088 2023-08-12 14:33:50 +02:00
Pierre Muller
22a1acd610 Applied fix for binutils 2.41 for loongarch64 suggested by Jinyang He
32fa3e9eb1
  with modifications reported in comments.
2023-08-11 08:58:40 +00:00
Pierre Muller
2d42040b1d Fix z80-embedded target 2023-08-10 22:40:11 +00:00
Pierre Muller
1057e7cd2d Avoid recurvise variable expansion error for wasm32-embedded 2023-08-11 00:07:28 +02:00
Pierre Muller
febb45c39c Re-add 'Lost in translation' mmx unit for i386-linux target 2023-08-10 15:18:01 +02:00
Pierre Muller
ddd4011b08 Regenerate Makefile's 2023-08-10 00:24:27 +02:00
Pierre Muller
8af6ad9148 Dotted rules for arm-embedded 2023-08-10 00:23:51 +02:00
Pierre Muller
feeb22b602 Try to fix dotted rules for embedded targets 2023-08-09 23:52:22 +02:00
Pierre Muller
c1e5f347bc Regenerated Makefile's 2023-08-09 23:03:35 +02:00
Pierre Muller
60649204ad Remove obsolete GRAPHDIR and USELIBGGI, because graph unit has been moved to packages long ago 2023-08-09 22:49:48 +02:00
Pierre Muller
2836bf406d embedded dos unit needs objpas unit because of objfpc mode 2023-08-09 22:38:13 +02:00
Pierre Muller
33ce4c5fce Set CPU_SPECIFIC_COMMON_UNITS to empty for i8086-embedded 2023-08-09 22:33:24 +02:00
Pierre Muller
f3003f1bb5 Remove fpcmake.loc added by accident 2023-08-09 08:11:08 +02:00
Pierre Muller
645e296345 Fix spaces/tab issue 2023-08-09 08:09:28 +02:00
Pierre Muller
e1651ccdab Regenerate Makefile's 2023-08-09 00:33:16 +02:00
Pierre Muller
55aff2366b Add WinApi messages unit rules 2023-08-09 00:33:16 +02:00
Pierre Muller
7245f74e9f Fix some WinApi rules for wince 2023-08-09 00:33:15 +02:00
Pierre Muller
e16364b567 Adapt sources to FPC_DOTTEDUNITS 2023-08-09 00:33:15 +02:00
Pierre Muller
233e3b9963 Use lowercase names for all embedded CPU specific units, as in namespaced/embedded/CPU 2023-08-09 00:33:15 +02:00
Pierre Muller
12a084d6c0 Remove unwanted space in EmbeddedApi.sc32442b.pp name 2023-08-09 00:33:15 +02:00
Pierre Muller
961abed52a Add dotted rules for some CPU specific units 2023-08-09 00:33:15 +02:00
Pierre Muller
80aa3cf89c Add -Sg option for the three soft fpu units 2023-08-09 00:33:15 +02:00
Pierre Muller
39a16c4fa8 Regenerate embedded Makefile 2023-08-08 11:55:32 +02:00
Pierre Muller
4809d6da21 Write dotted rules for embedded CPU specific units 2023-08-08 11:54:19 +02:00
Pierre Muller
3d987fa177 Regenerate Makefile's 2023-08-08 01:08:00 +02:00
Pierre Muller
037bbf006d Add dotted rules for embedded specific heapmgr and consoleio units 2023-08-08 01:07:19 +02:00
Pierre Muller
d0103704a6 Fix sysutils dotted rule for OSes having local included files 2023-08-08 01:06:16 +02:00
Pierre Muller
adfa555645 Set CPU_SPECIFIC_COMMON_UNITS using dotted compatible variables 2023-08-08 00:37:17 +02:00
Pierre Muller
d655024cce Replace explicit rule to compile system unit for embedded OS by setting of SYSDEPS and FPC_SYSTEM_OPT variables 2023-08-08 00:16:57 +02:00
Pierre Muller
d763c32afe Add explict rule for AVR specific intrinsics unit 2023-08-07 20:26:01 +02:00
Pierre Muller
607c603e0f Regenerate Makefile's 2023-08-07 14:59:15 +00:00
Pierre Muller
9d52550178 Set RTLCONSTSUNIT to rtlconst only of FPC_DOTTEDUNITS is not defined 2023-08-07 14:59:14 +00:00
Pierre Muller
6b185c041d Always set RTLCONSTSUNIT to rtlconsts, if FPC_DOTTEDUNITS is not defined, as OS specific changes are parsed after 2023-08-07 14:59:14 +00:00
Pierre Muller
3297b8f1fa Regenerate Makefile's 2023-08-07 14:59:14 +00:00
Pierre Muller
2e4f7bcc22 Add objpas unit dependency for unicodedata because of $objfpc mode 2023-08-07 14:59:13 +00:00
Pierre Muller
b142049e1c Regenerate Makefile's 2023-08-06 20:58:45 +00:00
Pierre Muller
bc40d13c4a Unique rule for fpwidestring unit 2023-08-06 20:58:44 +00:00
Marcus Sackrow
5bf7492d2d MorphOS: activated fpintres again 2023-08-06 12:42:31 +02:00
Marcus Sackrow
a853428cc5 AROS: activate fpintres again 2023-08-06 11:22:26 +02:00