diff options
author | Benji Dial <benji6283@gmail.com> | 2021-02-19 22:24:08 -0500 |
---|---|---|
committer | Benji Dial <benji6283@gmail.com> | 2021-02-19 22:24:08 -0500 |
commit | eae7442610215e55ea350c65aab4ab3869111014 (patch) | |
tree | 601aa476e52a5e3bb3b352df7e781d3aa11c090b /doc/internal | |
parent | cba9eec34b205c760f16f7171b58bfc906723b72 (diff) | |
download | portland-os-eae7442610215e55ea350c65aab4ab3869111014.tar.gz |
kernel settings file
Diffstat (limited to 'doc/internal')
-rw-r--r-- | doc/internal/settings.txt | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/doc/internal/settings.txt b/doc/internal/settings.txt new file mode 100644 index 0000000..f0ba6a8 --- /dev/null +++ b/doc/internal/settings.txt @@ -0,0 +1,31 @@ +header format: + dword: offset of main area start + dword: number of main area entries + dword: offset of name area start + dword: offset of data area start + +main area entry format: + dword: offset into name area of setting name + byte: setting name length + byte: setting type + 0x00: string + 0x01: color + others: reserved + word: reserved + qword: + if sz string: + dword: offset into data area of start + dword: length of string + if color: + byte: red value + byte: green value + byte: blue value + byte: reserved + dword: reserved + +currently used settings: + "kbd-layout", sz string: + the name of the scancode table for the keyboard driver to use. + if it is <layout>, the file at sys/scantabs/<layout>.sct is loaded. + "wm-border-color", color: + the color to use for window borders
\ No newline at end of file |