mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-08-30 14:52:51 +08:00
Move rtl_tag structure definition to common inlude
This commit is contained in:
@@ -70,6 +70,15 @@ struct flash_region_t {
|
|||||||
|
|
||||||
extern __xdata uint8_t uip_buf[UIP_CONF_BUFFER_SIZE+2];
|
extern __xdata uint8_t uip_buf[UIP_CONF_BUFFER_SIZE+2];
|
||||||
|
|
||||||
|
// 8899 04 0000 20 0004
|
||||||
|
struct rtl_tag {
|
||||||
|
uint16_t tag;
|
||||||
|
uint8_t version;
|
||||||
|
uint16_t dummy;
|
||||||
|
uint8_t flag;
|
||||||
|
uint16_t pmask;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
// Headers for calls in the common code area (HOME/BANK0)
|
// Headers for calls in the common code area (HOME/BANK0)
|
||||||
void print_string(__code char *p);
|
void print_string(__code char *p);
|
||||||
|
|||||||
@@ -35,16 +35,6 @@ __xdata uint16_t port_timers[10];
|
|||||||
__xdata uint16_t port_hello[10];
|
__xdata uint16_t port_hello[10];
|
||||||
|
|
||||||
|
|
||||||
// 8899 04 0000 20 0004
|
|
||||||
struct rtl_tag {
|
|
||||||
uint16_t tag;
|
|
||||||
uint8_t version;
|
|
||||||
uint16_t dummy;
|
|
||||||
uint8_t flag;
|
|
||||||
uint16_t pmask;
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
struct stp_pkt {
|
struct stp_pkt {
|
||||||
uint8_t stp_addr[6];
|
uint8_t stp_addr[6];
|
||||||
uint8_t src_addr[6];
|
uint8_t src_addr[6];
|
||||||
|
|||||||
Reference in New Issue
Block a user