History log of /haiku/src/system/kernel/arch/riscv64/arch_int.cpp (Results 1 – 17 of 17)
Revision Date Author Comments
# 37250962 22-Jul-2024 X512 <danger_mail@list.ru>

kernel/riscv64/arch_debug: port from x86 version

Change-Id: I917d7d81c83098d3b42551190338c73f221450d2
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7897
Reviewed-by: waddlesplash <waddlesplash@

kernel/riscv64/arch_debug: port from x86 version

Change-Id: I917d7d81c83098d3b42551190338c73f221450d2
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7897
Reviewed-by: waddlesplash <waddlesplash@gmail.com>

show more ...


# d75f6109 17-Jul-2024 Augustin Cavalier <waddlesplash@gmail.com>

kernel/arch: Prioritize post_interrupt_callback over invoke_scheduler.

The profiler depends on this, and it's likely to invoke the scheduler
of its own accord anyway.

This logic could possibly be a

kernel/arch: Prioritize post_interrupt_callback over invoke_scheduler.

The profiler depends on this, and it's likely to invoke the scheduler
of its own accord anyway.

This logic could possibly be abstracted into a generic function, seeing
as it's the same across all architectures...

show more ...


# 02463fb4 05-Mar-2024 X512 <danger_mail@list.ru>

kernel/int: consolidate interrupt vector number to `int32`

This is no-op for 32 bit platforms because `int32` is defined as `long` there.

Change interrupt vector number from 64 bits to 32 bits for

kernel/int: consolidate interrupt vector number to `int32`

This is no-op for 32 bit platforms because `int32` is defined as `long` there.

Change interrupt vector number from 64 bits to 32 bits for 64 bit platforms.

Change-Id: I52d1ad616cab16488804e9733c7afaf772a670ba
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7507
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>

show more ...


# 1d9ad3fa 07-Jul-2023 X512 <danger_mail@list.ru>

mmu/riscv64: implement global page mapping support

ASID allocation is not supported yet, so always use ASID 0 for user pages for now.

Change-Id: I021e77dae692c22984bc625dd0588362bece45b7
Reviewed-o

mmu/riscv64: implement global page mapping support

ASID allocation is not supported yet, so always use ASID 0 for user pages for now.

Change-Id: I021e77dae692c22984bc625dd0588362bece45b7
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6698
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>

show more ...


# b3fc3bc7 27-Apr-2022 X512 <danger_mail@list.ru>

kernel/arch/riscv64: disable debug stack trace when sending signal

Writing stack trace outside of kernel debug mode may cause locking
related assert violation.

Change-Id: I7c77dd8a8de2831d528b6307b

kernel/arch/riscv64: disable debug stack trace when sending signal

Writing stack trace outside of kernel debug mode may cause locking
related assert violation.

Change-Id: I7c77dd8a8de2831d528b6307b19a576398c1edb9
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5256
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>

show more ...


# 5865e68e 19-Mar-2023 X512 <danger_mail@list.ru>

kernel/riscv: timer freq calculation, interrupt handling fixes

Change-Id: Ibe8b260a49c1b6e51df06f82b6c3a066c44accb1
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6219
Reviewed-by: X512 <danger_

kernel/riscv: timer freq calculation, interrupt handling fixes

Change-Id: Ibe8b260a49c1b6e51df06f82b6c3a066c44accb1
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6219
Reviewed-by: X512 <danger_mail@list.ru>
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>

show more ...


# fa557843 27-Nov-2022 X512 <danger_mail@list.ru>

riscv: use atomic CSR bit set/clear operations, refactor

Fix race conditions that cause broken timer interrupts.

Change-Id: I78e13a18d394b1566977e894a1def16a66c9ca5f
Reviewed-on: https://review.hai

riscv: use atomic CSR bit set/clear operations, refactor

Fix race conditions that cause broken timer interrupts.

Change-Id: I78e13a18d394b1566977e894a1def16a66c9ca5f
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5883
Reviewed-by: X512 <danger_mail@list.ru>
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>

show more ...


# 2710b4f5 29-Oct-2022 Niels Sascha Reedijk <niels.reedijk@gmail.com>

Merge remote-tracking branch 'origin/master' into dev/netservices

Change-Id: I48c8cf4f03e281a5caeb9f27bf052285961529ff


# 74a5cb7b 04-May-2022 X512 <danger_mail@list.ru>

shared: move ScopeExit from riscv64 arch kernel code

this file is c++11 only.

Change-Id: Ibff7acec00337a9f56f9b8e29ea262c8d64c2446
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5292
Tested-by:

shared: move ScopeExit from riscv64 arch kernel code

this file is c++11 only.

Change-Id: Ibff7acec00337a9f56f9b8e29ea262c8d64c2446
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5292
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>

show more ...


# 97f11716 04-Sep-2022 Niels Sascha Reedijk <niels.reedijk@gmail.com>

Merge remote-tracking branch 'origin/master' into dev/netservices

Change-Id: I588c4a840523995f820161d63741c137bc5c719c


# 4ac797a9 04-May-2022 X512 <danger_mail@list.ru>

kernel/arch/riscv64: implement breakpoint interrupt

Change-Id: I1e9f33e505a1de4be2e77535efe36bae96a982ce
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5293
Reviewed-by: Alex von Gluck IV <kalli

kernel/arch/riscv64: implement breakpoint interrupt

Change-Id: I1e9f33e505a1de4be2e77535efe36bae96a982ce
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5293
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>

show more ...


# 268f99dd 22-Dec-2021 Niels Sascha Reedijk <niels.reedijk@gmail.com>

Merge branch 'master' into dev/netservices


# 8ca0f03d 09-Nov-2021 X512 <danger_mail@list.ru>

riscv64/smp: Implement multi-processor support

* Working under qemu smp 1,2+
* Working on SiFive Unmatched
* x86_64 efi not broken by smp_boot_other_cpus change

Change-Id: I32ebc17913e46ed082be9ade

riscv64/smp: Implement multi-processor support

* Working under qemu smp 1,2+
* Working on SiFive Unmatched
* x86_64 efi not broken by smp_boot_other_cpus change

Change-Id: I32ebc17913e46ed082be9ade8f56448bbf12f16e
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4705
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>

show more ...


# 3c259739 01-Dec-2021 Augustin Cavalier <waddlesplash@gmail.com>

kernel/int: Allow arch_int_assign_to_cpu to make its own decisions.

For now this is used on RISCV64 to indicate that interrupts will always
be on CPU 0. However, in the future, some architectures ma

kernel/int: Allow arch_int_assign_to_cpu to make its own decisions.

For now this is used on RISCV64 to indicate that interrupts will always
be on CPU 0. However, in the future, some architectures may want
or require interrupts to be "steered" in various ways, and this
also paves the way for that.

Change-Id: Iec79870cf5c4898d102d0e624de19602271ae772
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4721
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>

show more ...


# 06ffdddc 12-Aug-2021 Alexander von Gluck IV <kallisti5@unixzen.com>

kernel/vm: riscv64 build fix checkpoint

* This gets the riscv64 build working again
* These changes are being consolidated into:
https://review.haiku-os.org/c/haiku/+/4309

Change-Id: I3b732299fa4

kernel/vm: riscv64 build fix checkpoint

* This gets the riscv64 build working again
* These changes are being consolidated into:
https://review.haiku-os.org/c/haiku/+/4309

Change-Id: I3b732299fa49acbda6317e6a2a8d7ab382d7740b

show more ...


# f0e1bca0 06-Jun-2021 X512 <danger_mail@list.ru>

kernel/arch/int: implement for riscv64

Change-Id: I62d9bff75d35a685983c626720514ff17b1cef00
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4052
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.

kernel/arch/int: implement for riscv64

Change-Id: I62d9bff75d35a685983c626720514ff17b1cef00
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4052
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>

show more ...


# c085f386 18-Mar-2019 Alexander von Gluck IV <kallisti5@unixzen.com>

riscv64: Fill in more bulk architecture items around libroot/kernel

Change-Id: Ia2a86d8814d06950ea2d2d19d966c642d26f81d6
Reviewed-on: https://review.haiku-os.org/c/1302
Reviewed-by: Alex von Gluck I

riscv64: Fill in more bulk architecture items around libroot/kernel

Change-Id: Ia2a86d8814d06950ea2d2d19d966c642d26f81d6
Reviewed-on: https://review.haiku-os.org/c/1302
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>

show more ...