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
/
kernel
/
asm-offsets.c
File editor
#include <linuxmt/kernel.h> #include <linuxmt/sched.h> extern int TASK_KRNL_SP, TASK_USER_DS, TASK_USER_AX, TASK_USER_SS; extern int TASK_USER_BX, TASK_USER_SI, TASK_USER_DI; void asm_offsets(void) { TASK_KRNL_SP = offsetof(struct task_struct, t_ksp); TASK_USER_DS = offsetof(struct task_struct, t_regs.ds); TASK_USER_AX = offsetof(struct task_struct, t_regs.ax); TASK_USER_SS = offsetof(struct task_struct, t_regs.ss); TASK_USER_BX = offsetof(struct task_struct, t_regs.bx); TASK_USER_SI = offsetof(struct task_struct, t_regs.si); TASK_USER_DI = offsetof(struct task_struct, t_regs.di); }
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