riscv: Remove redundant riscv_interrupts.h header

This commit removes the riscv_interrupts.h header is it has become redundant. The previously
exposed API has been handled as follows:

- "riscv_interrupt_enable()" and "riscv_interrupt_disable()" have been removed. These functions
  were declarations only and never had any implementation.
- "riscv_global_interrupts_enable()" and "riscv_global_interrupts_disable()" renamed to
  "rv_utils_intr_global_enable()" and "rv_utils_intr_global_disable()" respectively and now
  placed in rv_utils.h
This commit is contained in:
Darian Leung
2022-07-26 22:07:58 +08:00
parent a42849f63c
commit 0c97fbd5ba
13 changed files with 26 additions and 77 deletions

View File

@@ -18,7 +18,6 @@
#include "freertos/event_groups.h"
#include "freertos/portmacro.h"
#include "riscv/interrupt.h"
#include "riscv/riscv_interrupts.h"
#include "esp_types.h"
#include "esp_random.h"
#include "esp_mac.h"