This website requires JavaScript.
Explore
Help
Register
Sign In
Minki
/
linux
Watch
1
Star
0
Fork
1
You've already forked linux
mirror of
https://github.com/torvalds/linux.git
synced
2024-12-22 19:01:37 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
ba2675bf15
linux
/
arch
/
s390
/
tools
/
.gitignore
3 lines
32 B
Plaintext
Raw
Normal View
History
Unescape
Escape
s390/facilities: add helper tool to generate facility lists Modifying the architecture level set facility lists was always very error prone. Given the numbering of the facility bits within the Principles of Operation, where the most significant bit number is 0, it happened a lot of times that wrong bits were set or cleared. Therefore this patch adds a tool "gen_facilities" which generates include/generated/facilites.h. The definition of the bits to be set is contained within arch/s390/include/asm/facilities_src.h and can be easily extended to e.g. also generate such lists for the KVM module. The generated file looks like this: #define FACILITIES_ALS _AC(0xc1006450f0040000,UL) #define FACILITIES_ALS_DWORDS 1 The facility bits defined in this patch match 1:1 to the current masks that can be found in head.S. That is if the tool gets executed with -march=z990 then the generated masks will equal the masks in head.S for CONFIG_MARCH_Z990. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2015-02-02 06:08:44 +00:00
gen_facilities
s390/disassembler: add generated gen_opcode_table tool to .gitignore Fixes: 8bc1e4ec79c0 ("s390/disassembler: generate opcode tables from text file") Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
2018-01-08 15:59:45 +00:00
gen_opcode_table
Reference in New Issue
Copy Permalink