mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-16 06:27:01 +08:00
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2015, 2017 embedded brains GmbH
|
||||
* Copyright (c) 2015, 2018 embedded brains GmbH
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@@ -35,6 +35,8 @@
|
||||
extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#define OF_BAD_ADDR ((uint64_t)-1)
|
||||
|
||||
typedef uint32_t phandle;
|
||||
|
||||
struct device_node {
|
||||
|
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2015 embedded brains GmbH
|
||||
* Copyright (c) 2015, 2018 embedded brains GmbH
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@@ -34,6 +34,8 @@
|
||||
extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
|
||||
uint64_t of_translate_address(struct device_node *dn, const uint32_t *addr);
|
||||
|
||||
int of_address_to_resource(struct device_node *dn, int index,
|
||||
struct resource *res);
|
||||
|
||||
|
Reference in New Issue
Block a user