diff options
author | 2024-09-26 13:07:03 -0400 | |
---|---|---|
committer | 2024-09-27 03:07:03 +1000 | |
commit | 48933ef893c541eb6ff05366b906cfe42c23b4b1 (patch) | |
tree | 3d165d96a15eaee13b6e421e8b345745d0c51833 /src/devices/cpu/nec/nec.h | |
parent | 0125087cbe3ce69cbd99fb4f65c8ece580e0dd8b (diff) |
Added ATTR_COLD to common lifecycle methods for many files in src/devices. (#12822)
Diffstat (limited to 'src/devices/cpu/nec/nec.h')
-rw-r--r-- | src/devices/cpu/nec/nec.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/cpu/nec/nec.h b/src/devices/cpu/nec/nec.h index 12af9f8dc57..f9c361f3840 100644 --- a/src/devices/cpu/nec/nec.h +++ b/src/devices/cpu/nec/nec.h @@ -31,8 +31,8 @@ protected: nec_common_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock, bool is_16bit, uint8_t prefetch_size, uint8_t prefetch_cycles, uint32_t chip_type, address_map_constructor internal_port_map = address_map_constructor()); // device-level overrides - virtual void device_start() override; - virtual void device_reset() override; + virtual void device_start() override ATTR_COLD; + virtual void device_reset() override ATTR_COLD; // device_execute_interface overrides virtual uint32_t execute_min_cycles() const noexcept override { return 1; } @@ -690,7 +690,7 @@ protected: // device_memory_interface overrides virtual bool memory_translate(int spacenum, int intention, offs_t &address, address_space *&target_space) override; - void v33_internal_port_map(address_map &map); + void v33_internal_port_map(address_map &map) ATTR_COLD; uint16_t xam_r(); }; |