MCPcopy Create free account

hub / github.com/ClementNerma/LRVM / functions

Functions302 in github.com/ClementNerma/LRVM

Methodcode
Get the code of the 'IF2' condition
lrvm_tools/src/asm/cond.rs:28
Methodcount
Count the number of connected compoents
lrvm/src/board/hw_bridge.rs:37
Methodcreate_from_aux
Create the cache from an auxiliary component
lrvm/src/board/hw_bridge.rs:123
Methoddecode
(bytes: [u8; 4])
lrvm_tools/src/asm/prog_word.rs:11
Methoddecode
Decode an hardware information code from its number
lrvm_tools/src/asm/hw_infos.rs:29
Methoddecode
Disassemble a machine code into a program. In case of error, returns a tuple containing the faulty instruction's index along with the decoding error.
lrvm_tools/src/asm/prog.rs:68
Methoddecode
Try to decode an assembly instruction
lrvm_tools/src/asm/instr.rs:43
Methoddecode
Decode an 'IF2' condition
lrvm_tools/src/asm/cond.rs:14
Methoddecode
Decode an arithmetic flag from its code
lrvm_tools/src/asm/arflag.rs:17
Methoddecode
(sub_mode: u8)
lrvm_tools/src/asm/div_modes.rs:54
Methoddecode
Decode a native exception
lrvm_tools/src/exceptions/native.rs:29
Methoddecode
Decode an auxiliary component's exception
lrvm_tools/src/exceptions/auxhw.rs:39
Methoddecode
(code: u64)
lrvm_tools/src/metadata/category.rs:22
Methoddecode_parts
Decode a split exception
lrvm_tools/src/exceptions/native.rs:46
Methoddecode_parts
Decode an auxiliary component's exception from its code and data
lrvm_tools/src/exceptions/auxhw.rs:47
Methoddecode_with_mode
Decode a native exception along with the supervisor status. If the error is indicated to have happened in supervisor mode, the second member of the re
lrvm_tools/src/exceptions/native.rs:36
Methoddecode_word
(&self, word: u32)
lrvm_tools/src/asm/prog_word.rs:18
Functiondecoding
()
lrvm_tools/src/tests/asm.rs:40
Methoddefault
()
lrvm_tools/src/asm/div_modes.rs:78
Methoddefault
()
lrvm_tools/src/debug/run_config.rs:94
Functiondisassemble
Disassemble a machine code to LASM source code May fail because Program::decode() may fail if for instance there is raw data in the assembled program
lrvm_tools/src/lasm/mod.rs:58
Functiondisassemble_words
Disassemble a machine code (encoded with words) to LASM source code May fail because Program::decode() may fail if for instance there is raw data in t
lrvm_tools/src/lasm/mod.rs:67
Methoddrop
(&mut self)
examples/async_hw/src/counter.rs:108
Methoddrop
Drop the motherboard
lrvm/src/board/board.rs:67
Methodencode
Convert the extended instruction into machine code
lrvm_tools/src/asm/extinstr.rs:74
Methodencode
(&self)
lrvm_tools/src/asm/prog_word.rs:30
Methodencode
(self)
lrvm_tools/src/metadata/category.rs:66
Methodencode_with_mode
Encode the exception with supervisor informations on 32-bits. `was_sv` indicates if the error occurred in supervisor mode (else it was on userland mod
lrvm_tools/src/exceptions/native.rs:132
Methodencode_word
(&self)
lrvm_tools/src/asm/prog_word.rs:37
Methodencode_words
Convert the extended instruction into machine code (split in words)
lrvm_tools/src/asm/extinstr.rs:69
Methodencode_words
Encode the progrma as a list of words
lrvm_tools/src/asm/prog.rs:124
Functionencoding
()
lrvm_tools/src/tests/asm.rs:35
Functionflash_mem
()
lrvm_aux/src/tests/aux_01_storage/flash.rs:9
Methodfmt
(&self, f: &mut fmt::Formatter)
lrvm_tools/src/asm/instr.rs:625
Methodfmt
(&self, f: &mut fmt::Formatter)
lrvm_tools/src/asm/reg.rs:230
Methodfmt
(&self, f: &mut fmt::Formatter)
lrvm_tools/src/exceptions/native.rs:138
Methodfmt
(&self, f: &mut fmt::Formatter)
lrvm_tools/src/exceptions/auxhw.rs:117
Methodfmt
(&self, f: &mut fmt::Formatter)
lrvm_tools/src/debug/run.rs:137
Methodfmt
(&self, f: &mut fmt::Formatter)
lrvm_tools/src/metadata/category.rs:72
Methodfrom
Create a new RAM component from the provided storage Returns an error message if the capacity is too large for the running CPU architecture.
lrvm_aux/src/volatile_mem/ram.rs:41
Methodfrom
Create a new flash memory component from the provided storage Returns an error message if the capacity is too large for the running CPU architecture.
lrvm_aux/src/storage/persistent.rs:41
Methodfrom
(lit: u8)
lrvm_tools/src/asm/val.rs:111
Methodfrom
(info: HwInfo)
lrvm_tools/src/asm/hw_infos.rs:112
Methodfrom
Create a program from a set of program words
lrvm_tools/src/asm/prog.rs:17
Methodfrom
(instr: Instr)
lrvm_tools/src/asm/instr.rs:619
Methodfrom
(flag: ArFlag)
lrvm_tools/src/asm/arflag.rs:84
Methodfrom
(reg: Reg)
lrvm_tools/src/asm/reg.rs:224
Methodfrom
(mode: DivSignMode)
lrvm_tools/src/asm/div_modes.rs:92
Methodfrom
(ex: AuxHwException)
lrvm_tools/src/exceptions/auxhw.rs:111
Methodfrom_code
Decode a register code
lrvm_tools/src/asm/reg.rs:46
Methodfrom_instr
Create a program from a set of instructions
lrvm_tools/src/asm/prog.rs:22
Methodfrom_is_signed
(signed: bool)
lrvm_tools/src/asm/div_modes.rs:35
Methodfrom_mode
Decode the sub mode from a complete mode (e.g. decode the sign mode from the complete 8-bits division mode)
lrvm_tools/src/asm/div_modes.rs:13
Methodfrom_name
Decode a register from its name
lrvm_tools/src/asm/reg.rs:85
Methodfrom_sub_modes
Get the division mode from its sub modes
lrvm_tools/src/asm/div_modes.rs:264
Methodfrom_with_size
Create a new RAM component from the provided storage and with a larger size than its storage Returns an error message in case of fail
lrvm_aux/src/volatile_mem/ram.rs:56
Methodfrom_with_size
Create a new flash memory component from the provided storage and with a larger size than its storage Returns an error message in case of fail
lrvm_aux/src/storage/persistent.rs:56
Functiongen_aux_id
(name: &'static str)
lrvm_tools/src/ids/mod.rs:3
Methodhalt_on_ex
Create a "halt on exception" runner configuration. Prints exceptions and the cycle and instruction address when the VM halts, stops when an exception
lrvm_tools/src/debug/run_config.rs:21
Functionids
()
lrvm_tools/src/tests/ids.rs:4
Methodis_instr
(&self)
lrvm_tools/src/asm/prog_word.rs:22
Methodis_raw
(&self)
lrvm_tools/src/asm/prog_word.rs:26
Methodis_signed
(self)
lrvm_tools/src/asm/div_modes.rs:43
Functionlasm_test
()
lrvm_tools/src/tests/lasm.rs:6
Functionmain
()
examples/disassemble/src/main.rs:30
Functionmain
()
examples/minimal/src/main.rs:5
Functionmain
()
examples/elapsed_time/src/main.rs:24
Functionmain
()
examples/benchmark/src/main.rs:7
Functionmain
()
examples/hw_detect/src/main.rs:99
Functionmain
()
examples/async_hw/src/main.rs:11
Functionmain
()
examples/brainfuck/src/main.rs:11
Functionmain
()
examples/hello_world/src/main.rs:8
Methodmap_abs
Map an auxiliary component to a specific address range NOTE: The address range cannot be higher than the component's [`Bus::size`] value.
lrvm/src/mem/mem.rs:30
Methodmbo_mode
Get the overflow mode
lrvm_tools/src/asm/div_modes.rs:283
Methodmetadata
The component's metadata, giving informations on what the component is
examples/async_hw/src/counter.rs:53
Methodmetadata
(&self)
lrvm_aux/src/display/number.rs:74
Methodmetadata
(&self)
lrvm_aux/src/display/buffered.rs:87
Methodmetadata
(&self)
lrvm_aux/src/display/character.rs:43
Methodmetadata
(&self)
lrvm_aux/src/volatile_mem/ram.rs:103
Methodmetadata
(&self)
lrvm_aux/src/storage/persistent.rs:103
Methodmetadata
(&self)
lrvm_aux/src/storage/bootrom.rs:83
Methodmetadata
(&self)
lrvm_aux/src/time/realtime.rs:41
Methodmetadata
(&self)
lrvm_aux/src/keyboard/sync_char.rs:44
Methodmetadata
(&self)
lrvm_aux/src/keyboard/sync_line.rs:67
Methodmetadata_of
Get the metadata of an axuiliary component from its ID
lrvm/src/board/hw_bridge.rs:52
Methodname
The component's name
examples/async_hw/src/counter.rs:48
Methodname
(&self)
lrvm_aux/src/display/number.rs:70
Methodname
(&self)
lrvm_aux/src/display/buffered.rs:83
Methodname
(&self)
lrvm_aux/src/display/character.rs:39
Methodname
(&self)
lrvm_aux/src/volatile_mem/ram.rs:99
Methodname
(&self)
lrvm_aux/src/storage/persistent.rs:99
Methodname
(&self)
lrvm_aux/src/storage/bootrom.rs:79
Methodname
(&self)
lrvm_aux/src/storage/file_backed.rs:93
Methodname
(&self)
lrvm_aux/src/debug/basic.rs:114
Methodname
(&self)
lrvm_aux/src/time/realtime.rs:37
Methodname
(&self)
lrvm_aux/src/keyboard/sync_char.rs:40
Methodname
(&self)
lrvm_aux/src/keyboard/sync_line.rs:63
Methodname
Get the name of the 'IF2' condition
lrvm_tools/src/asm/cond.rs:41
Methodname
Get the arithmetic flag's name
lrvm_tools/src/asm/arflag.rs:44
Methodnew
(hw_id: u64)
examples/async_hw/src/counter.rs:27
← previousnext →101–200 of 302, ranked by callers