36 #define VRAM_BASE 0xb8000 63 .description =
"Video RAM",
64 .type = &setting_type_base64,
static int vram_fetch(void *data, size_t len)
Fetch video RAM setting.
static __always_inline void copy_from_user(void *dest, userptr_t src, off_t src_off, size_t len)
Copy data from user buffer.
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
userptr_t phys_to_user(unsigned long phys_addr)
Convert physical address to user pointer.
#define SETTING_MISC
Miscellaneous settings.
Access to external ("user") memory.
uint32_t userptr_t
A pointer to a user buffer.
const struct setting * setting
Setting.
struct builtin_setting vram_builtin_setting __builtin_setting
Video RAM built-in setting.
const struct settings_scope builtin_scope
Built-in setting scope.
#define VRAM_BASE
Video RAM base address.
uint8_t data[48]
Additional event data.
#define VRAM_LEN
Video RAM length.
const struct setting vram_setting __setting(SETTING_MISC, vram)
Video RAM setting.