Home
last modified time | relevance | path

Searched full:sbi (Results 1 – 25 of 66) sorted by relevance

123

/freebsd/sys/riscv/riscv/
H A Dsbi.c39 #include <machine/sbi.h>
41 /* SBI Implementation-Specific Definitions */
124 /* For legacy SBI implementations. */ in sbi_print_version()
126 printf("SBI: Unknown (Legacy) Implementation\n"); in sbi_print_version()
127 printf("SBI Specification Version: 0.1\n"); in sbi_print_version()
133 printf("SBI: Berkely Boot Loader %lu\n", sbi_impl_version); in sbi_print_version()
138 printf("SBI: OpenSBI v%u.%u\n", major, minor); in sbi_print_version()
141 printf("SBI: eXtensible Versatile hypervISOR %lu\n", in sbi_print_version()
145 printf("SBI: Kernel-based Virtual Machine %lu\n", in sbi_print_version()
149 printf("SBI: RustSBI %lu\n", sbi_impl_version); in sbi_print_version()
[all …]
H A Dsbi_ipi.c37 #include <machine/sbi.h>
131 device_set_desc(dev, "RISC-V SBI Inter-Processor Interrupts"); in sbi_ipi_probe()
209 EARLY_DRIVER_MODULE(sbi_ipi, sbi, sbi_ipi_driver, 0, 0,
H A Dmachdep.c91 #include <machine/sbi.h>
195 * Try to power down using the HSM SBI extension and fall back to a in cpu_halt()
441 * the SBI firmware and handled by locore, or was stored in the device in parse_boot_hartid()
518 * memory, as this area is assumed to contain the SBI firmware, in fdt_physmem_hardware_region_cb()
579 /* Initialize SBI interface. */ in initriscv()
H A Dlocore.S49 #include <machine/sbi.h>
56 * Alternate entry point. Used when booting via SBI firmware. It must be placed
132 * - handling the DTB pointer passed from SBI firmware (physical addr)
H A Driscv_console.c66 #include <machine/sbi.h>
113 #if CHECK_EARLY_PRINTF(sbi)
H A Dmp_machdep.c64 #include <machine/sbi.h>
379 * Depending on the SBI implementation, APs are waiting either in in cpu_init_fdt()
380 * locore.S or to be activated explicitly, via SBI call. in cpu_init_fdt()
/freebsd/sys/contrib/device-tree/Bindings/mailbox/
H A Dmicrochip,sbi-ipc.yaml4 $id: http://devicetree.org/schemas/mailbox/microchip,sbi-ipc.yaml#
22 mode (s-mode). This SBI interface is compatible with the Mi-V
24 const: microchip,sbi-ipc
27 Intended for use by the SBI implementation in machine mode
52 For "microchip,sbi-ipc", the cell represents the global "logical"
87 const: microchip,sbi-ipc
93 The 'microchip,sbi-ipc' operates in a programming model
95 since it uses SBI ecalls provided by the m-mode/firmware
96 SBI implementation to access hardware registers.
108 compatible = "microchip,sbi-ipc";
/freebsd/contrib/llvm-project/llvm/lib/SandboxIR/
H A DBasicBlock.cpp101 auto *SBI = cast<Instruction>(getContext().getValue(&*BB->begin())); in front() local
102 assert(SBI != nullptr && "Expected Instr!"); in front()
103 return *SBI; in front()
109 auto *SBI = cast<Instruction>(getContext().getValue(&*BB->rbegin())); in back() local
110 assert(SBI != nullptr && "Expected Instr!"); in back()
111 return *SBI; in back()
133 auto *SBI = dyn_cast<Instruction>(SBV); in dumpOS() local
134 if (SBI == nullptr) { in dumpOS()
137 if (Visited.insert(SBI).second) in dumpOS()
138 OS << *SBI << "\n"; in dumpOS()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/perf/
H A Driscv,pmu.yaml7 title: RISC-V SBI PMU events
13 The SBI PMU extension allows supervisor software to configure, start and
15 capabilities of performance analysis tools, such as perf, if the SBI PMU
20 Without the event to counter mappings, the SBI PMU extension cannot be used.
29 For information on the SBI specification see the section "Performance
31 https://github.com/riscv-non-isa/riscv-sbi-doc/blob/master/riscv-sbi.adoc
49 code. Refer to the SBI specification for a complete description of
123 * This example also binds standard SBI PMU hardware IDs to U74 PMU event
126 * See SBI PM
[all...]
/freebsd/contrib/ncurses/ncurses/tinfo/
H A Dlib_win32con.c139 *Lines = (int) (WINCONSOLE.SBI.dwSize.Y); in _nc_console_size()
140 *Cols = (int) (WINCONSOLE.SBI.dwSize.X); in _nc_console_size()
142 *Lines = (int) (WINCONSOLE.SBI.srWindow.Bottom + 1 - in _nc_console_size()
143 WINCONSOLE.SBI.srWindow.Top); in _nc_console_size()
144 *Cols = (int) (WINCONSOLE.SBI.srWindow.Right + 1 - in _nc_console_size()
145 WINCONSOLE.SBI.srWindow.Left); in _nc_console_size()
367 WINCONSOLE.save_region.Bottom = (SHORT) (WINCONSOLE.SBI.dwSize.Y - 1); in save_original_screen()
368 WINCONSOLE.save_region.Right = (SHORT) (WINCONSOLE.SBI.dwSize.X - 1); in save_original_screen()
374 WINCONSOLE.save_region.Top = WINCONSOLE.SBI.srWindow.Top; in save_original_screen()
375 WINCONSOLE.save_region.Left = WINCONSOLE.SBI.srWindow.Left; in save_original_screen()
[all …]
/freebsd/share/doc/papers/diskperf/
H A Dresults.ms227 Test VAX 11/750 CMI Bus VAX 11/780 SBI Bus
246 Test VAX 11/750 CMI Bus VAX 11/780 SBI Bus
275 delays in arbitrating for cycles on the SBI bus by
299 Initial SBI Arbitration Init SBI Arb. Improved SBI Arb.
320 Initial SBI Arbitration Init SBI Arb. Improved SBI Arb.
H A Dequip.ms83 of a VAX 11/750 and the SBI bus of a 11/VAX 780, respectively.
106 bus, the SBI.
113 The SBI interface derives power from the VAX CPU cabinet power
H A Dmotivation.ms41 Emulex's entry into the VAX 11/780 SBI controller
57 How important is the location of the controller on the SBI/CMI versus
/freebsd/sys/riscv/include/
H A Dsbi.h39 /* SBI Specification Version */
45 /* SBI Implementation IDs */
59 /* SBI Error Codes */
68 /* SBI Base Extension */
137 * https://github.com/riscv/riscv-sbi-doc/blob/master/riscv-sbi.adoc
238 * XXX: The "error" is returned here because legacy SBI functions in sbi_console_getchar()
/freebsd/contrib/ncurses/ncurses/win32con/
H A Dwin32_driver.c57 : (int) WINCONSOLE.SBI.srWindow.Top)
100 int max_cells = (WINCONSOLE.SBI.dwSize.Y *
101 (1 + WINCONSOLE.SBI.dwSize.X)) + 1;
110 save_region.Top = WINCONSOLE.SBI.srWindow.Top;
111 save_region.Left = WINCONSOLE.SBI.srWindow.Left;
112 save_region.Bottom = WINCONSOLE.SBI.srWindow.Bottom;
113 save_region.Right = WINCONSOLE.SBI.srWindow.Right;
177 ci[actual].Attributes = MapAttr(WINCONSOLE.SBI.wAttributes, in con_write16()
224 ci[i].Attributes = MapAttr(WINCONSOLE.SBI.wAttributes, in con_write8()
340 WINCONSOLE.SBI.srWindow.Left : 0); in restore_original_screen()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/interrupt-controller/
H A Driscv,cpu-intc.txt14 controlled via Supervisor Binary Interface (SBI) calls and CSR reads. External
31 - Source 1 is the supervisor software interrupt, which can be sent by an SBI
34 SBI calls and implements a one-shot timer.
H A Driscv,cpu-intc.yaml20 time timer that is controlled via Supervisor Binary Interface (SBI) calls
54 an SBI call and is reserved for use by software.
56 by SBI calls and implements a one-shot timer.
/freebsd/sys/contrib/device-tree/Bindings/cpu/
H A Didle-states.yaml57 RISC-V SBI v0.3 (or higher) [7] hart state management extension provides a
324 [7] RISC-V Supervisor Binary Interface (SBI)
325 http://github.com/riscv/riscv-sbi-doc/riscv-sbi.adoc
381 riscv,sbi-suspend-param:
384 suspend_type parameter to pass to the RISC-V SBI HSM suspend call.
388 refer the SBI specification v0.3 (or higher) [7].
847 riscv,sbi-suspend-param = <0x10000000>;
855 riscv,sbi-suspend-param = <0x90000000>;
863 riscv,sbi-suspend-param = <0x11000000>;
873 riscv,sbi-suspend-param = <0x91000000>;
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
H A DRuntimeDyldMachOI386.h181 section_iterator SBI = getSectionByAddress(Obj, AddrB); in processSECTDIFFRelocation() local
182 assert(SBI != Obj.section_end() && "Can't find section for address B"); in processSECTDIFFRelocation()
183 uint64_t SectionBBase = SBI->getAddress(); in processSECTDIFFRelocation()
185 SectionRef SectionB = *SBI; in processSECTDIFFRelocation()
H A DRuntimeDyldMachOARM.h392 section_iterator SBI = getSectionByAddress(MachO, AddrB); in processHALFSECTDIFFRelocation() local
393 assert(SBI != MachO.section_end() && "Can't find section for address B"); in processHALFSECTDIFFRelocation()
394 uint64_t SectionBBase = SBI->getAddress(); in processHALFSECTDIFFRelocation()
396 SectionRef SectionB = *SBI; in processHALFSECTDIFFRelocation()
/freebsd/sys/riscv/conf/
H A DGENERIC83 # RISC-V SBI console
175 # options EARLY_PRINTF=sbi
H A DNOTES24 # RISC-V SBI console
/freebsd/sys/contrib/device-tree/Bindings/timer/
H A Driscv,timer.yaml15 timer interrupts of this device are configured using the RISC-V SBI Time
/freebsd/sys/contrib/device-tree/Bindings/hwmon/
H A Damd,sbrmi.yaml29 I2C bus address of the device as specified in Section SBI SMBus Address
/freebsd/usr.sbin/bhyve/riscv/
H A Dvmexit.c40 #include <machine/sbi.h>
333 /* Unknown SBI extension. */ in vmexit_ecall()

123