elks-enhanced
public
Read
Owner: themaster
Branch: master
Commits: 6893
Updated: 2026-04-19 00:15
Git CLI clone URL
git clone https://www.xt-emporium.com/git/elks-enhanced.git
Fullscreen desktop URL
Code
Commits
History
Branches
Bug Reports
Discussions
Compare
Settings
elks-enhanced
/
elks
/
arch
/
i86
/
drivers
/
block
/
romflash.c
File editor
#include <linuxmt/config.h> #include <linuxmt/major.h> #include <linuxmt/fs.h> #include <linuxmt/kernel.h> #include <linuxmt/init.h> static int romflash_open (struct inode * i, struct file * f) { i->i_size = 0x10000; /* 8086 address space */ return 0; } static struct file_operations romflash_fops = { NULL, /* lseek */ NULL, /* read */ NULL, /* write */ NULL, /* readdir */ NULL, /* select */ NULL, /* ioctl */ romflash_open, /* open */ NULL /* release */ }; void INITPROC romflash_init (void) { register_blkdev (ROMFLASH_MAJOR, "rom", &romflash_fops); }
Commit message
This repository is read-only for this account.
Repository snapshot
Current branch
master
Visibility
public
Your access
Read
Remote
Configured
File activity
View file history