mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-08-30 14:52:51 +08:00
stp: move the STP module to code bank 2
The always-mapped common area is nearly full (349 bytes free before this change), and the STP state machine that follows does not fit there. Move the module to BANK2 next to the other protocol code; its public entry points are already __banked, and cmpMAC/stp_cnf_send have no callers outside the file.
This commit is contained in:
@@ -6,6 +6,12 @@
|
||||
// #define REGDBG
|
||||
// #define DEBUG
|
||||
|
||||
/* Place this module's code and constants in code bank 2 (cf. rtl837x_igmp.c):
|
||||
* the always-mapped common area is nearly full, and the full state machine
|
||||
* does not fit there. */
|
||||
#pragma codeseg BANK2
|
||||
#pragma constseg BANK2
|
||||
|
||||
#include <stdint.h>
|
||||
#include "rtl837x_common.h"
|
||||
#include "rtl837x_sfr.h"
|
||||
|
||||
Reference in New Issue
Block a user