Files
seL4/tools
julia 9a4cdabcd5 bitfield_gen: improve readability of union funcs
Before:

    static inline uint64_t PURE
    pte_pte_table_ptr_get_pt_base_address(pte_t *pte_ptr) {
        uint64_t ret;
        assert(((pte_ptr->words[0] >> 0) & 0x400000000000003) ==
               0x3ull);

After:

    static inline uint64_t PURE
    pte_pte_table_ptr_get_pt_base_address(pte_t *pte_ptr) {
        uint64_t ret;
        /* fail if union does not have the expected tag */
        assert(((pte_ptr->words[0] >> 0) & 0x400000000000003) ==
               0x3ull /* sliced tag pte_pte_table */);

Signed-off-by: julia <git.ts@trainwit.ch>
2025-08-04 12:28:20 +01:00
..
2020-06-18 12:39:46 +10:00
2025-04-14 12:05:16 +10:00
2025-04-14 12:05:16 +10:00
2025-02-26 17:11:57 +11:00
2025-02-26 17:11:57 +11:00
2025-04-14 12:05:16 +10:00