MOS Source Code
Loading...
Searching...
No Matches
libfdt++.cpp File Reference
#include "libfdt++.hpp"
#include <libfdt.h>
+ Include dependency graph for libfdt++.cpp:

Go to the source code of this file.

Functions

static int pair_bytes ()
 
static u64 of_read_number (const u32 *cell, int size)
 

Variables

unsigned int dt_root_addr_cells = 2
 
unsigned int dt_root_size_cells = 1
 

Function Documentation

◆ pair_bytes()

static int pair_bytes ( )
static

Definition at line 10 of file libfdt++.cpp.

Referenced by dt_reg::iterator::operator++(), and dt_reg::verify_validity().

◆ of_read_number()

static u64 of_read_number ( const u32 * cell,
int size )
inlinestatic

Definition at line 17 of file libfdt++.cpp.

Referenced by dt_reg::iterator::operator*().

Variable Documentation

◆ dt_root_addr_cells

unsigned int dt_root_addr_cells = 2

Definition at line 7 of file libfdt++.cpp.

Referenced by dt_reg::iterator::operator*(), and pair_bytes().

◆ dt_root_size_cells

unsigned int dt_root_size_cells = 1

Definition at line 8 of file libfdt++.cpp.

Referenced by dt_reg::iterator::operator*(), and pair_bytes().