mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:38:11 +00:00
Kernel: Remove declarations for non-existent methods
This commit is contained in:
parent
09a22ddb2a
commit
3cbc0fdbb0
19 changed files with 0 additions and 42 deletions
|
@ -23,7 +23,6 @@ public:
|
||||||
private:
|
private:
|
||||||
ISAIDEController();
|
ISAIDEController();
|
||||||
|
|
||||||
LockRefPtr<StorageDevice> device_by_channel_and_position(u32 index) const;
|
|
||||||
ErrorOr<void> initialize_channels();
|
ErrorOr<void> initialize_channels();
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -67,7 +67,6 @@ private:
|
||||||
|
|
||||||
u8 read_redirection_entry_vector(u8 index) const;
|
u8 read_redirection_entry_vector(u8 index) const;
|
||||||
Optional<int> find_redirection_entry_by_vector(u8 vector) const;
|
Optional<int> find_redirection_entry_by_vector(u8 vector) const;
|
||||||
void configure_redirections() const;
|
|
||||||
|
|
||||||
void write_register(u32 index, u32 value) const;
|
void write_register(u32 index, u32 value) const;
|
||||||
u32 read_register(u32 index) const;
|
u32 read_register(u32 index) const;
|
||||||
|
|
|
@ -31,7 +31,6 @@ private:
|
||||||
bool is_pci_native_mode_enabled_on_secondary_channel() const;
|
bool is_pci_native_mode_enabled_on_secondary_channel() const;
|
||||||
explicit PCIIDELegacyModeController(PCI::DeviceIdentifier const&);
|
explicit PCIIDELegacyModeController(PCI::DeviceIdentifier const&);
|
||||||
|
|
||||||
LockRefPtr<StorageDevice> device_by_channel_and_position(u32 index) const;
|
|
||||||
ErrorOr<void> initialize_and_enumerate_channels(bool force_pio);
|
ErrorOr<void> initialize_and_enumerate_channels(bool force_pio);
|
||||||
|
|
||||||
// FIXME: Find a better way to get the ProgrammingInterface
|
// FIXME: Find a better way to get the ProgrammingInterface
|
||||||
|
|
|
@ -59,8 +59,6 @@ private:
|
||||||
bool is_64bit_capable(u8 comparator_number) const;
|
bool is_64bit_capable(u8 comparator_number) const;
|
||||||
void set_comparators_to_optimal_interrupt_state(size_t timers_count);
|
void set_comparators_to_optimal_interrupt_state(size_t timers_count);
|
||||||
|
|
||||||
u64 nanoseconds_to_raw_ticks() const;
|
|
||||||
|
|
||||||
PhysicalAddress find_acpi_hpet_registers_block();
|
PhysicalAddress find_acpi_hpet_registers_block();
|
||||||
explicit HPET(PhysicalAddress acpi_hpet);
|
explicit HPET(PhysicalAddress acpi_hpet);
|
||||||
PhysicalAddress m_physical_acpi_hpet_table;
|
PhysicalAddress m_physical_acpi_hpet_table;
|
||||||
|
|
|
@ -58,9 +58,6 @@ private:
|
||||||
bool find_and_register_pci_host_bridges_from_acpi_mcfg_table(PhysicalAddress mcfg);
|
bool find_and_register_pci_host_bridges_from_acpi_mcfg_table(PhysicalAddress mcfg);
|
||||||
Access();
|
Access();
|
||||||
|
|
||||||
Vector<Capability> get_capabilities(Address);
|
|
||||||
Optional<u8> get_capabilities_pointer(Address address);
|
|
||||||
|
|
||||||
mutable RecursiveSpinlock<LockRank::None> m_access_lock {};
|
mutable RecursiveSpinlock<LockRank::None> m_access_lock {};
|
||||||
mutable Spinlock<LockRank::None> m_scan_lock {};
|
mutable Spinlock<LockRank::None> m_scan_lock {};
|
||||||
|
|
||||||
|
|
|
@ -53,7 +53,6 @@ public:
|
||||||
u8 polling_interval() const { return m_descriptor.poll_interval_in_frames; }
|
u8 polling_interval() const { return m_descriptor.poll_interval_in_frames; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
USBEndpoint(/* TODO */);
|
|
||||||
USBEndpointDescriptor m_descriptor;
|
USBEndpointDescriptor m_descriptor;
|
||||||
|
|
||||||
Pipe m_pipe;
|
Pipe m_pipe;
|
||||||
|
|
|
@ -90,8 +90,6 @@ public:
|
||||||
ErrorOr<void> clear_port_feature(u8, HubFeatureSelector);
|
ErrorOr<void> clear_port_feature(u8, HubFeatureSelector);
|
||||||
ErrorOr<void> set_port_feature(u8, HubFeatureSelector);
|
ErrorOr<void> set_port_feature(u8, HubFeatureSelector);
|
||||||
|
|
||||||
ErrorOr<void> reset_port(u8);
|
|
||||||
|
|
||||||
void check_for_port_updates();
|
void check_for_port_updates();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
|
@ -100,7 +100,6 @@ public:
|
||||||
[[nodiscard]] NonnullOwnPtrVector<KString> userspace_init_args() const;
|
[[nodiscard]] NonnullOwnPtrVector<KString> userspace_init_args() const;
|
||||||
[[nodiscard]] StringView root_device() const;
|
[[nodiscard]] StringView root_device() const;
|
||||||
[[nodiscard]] bool is_nvme_polling_enabled() const;
|
[[nodiscard]] bool is_nvme_polling_enabled() const;
|
||||||
[[nodiscard]] bool is_i8042_force_scan_code_2() const;
|
|
||||||
[[nodiscard]] size_t switch_to_tty() const;
|
[[nodiscard]] size_t switch_to_tty() const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
|
@ -30,8 +30,6 @@ private:
|
||||||
virtual bool is_seekable() const override { return true; }
|
virtual bool is_seekable() const override { return true; }
|
||||||
virtual ErrorOr<size_t> read(OpenFileDescription&, u64, UserOrKernelBuffer&, size_t) override;
|
virtual ErrorOr<size_t> read(OpenFileDescription&, u64, UserOrKernelBuffer&, size_t) override;
|
||||||
virtual ErrorOr<size_t> write(OpenFileDescription&, u64, UserOrKernelBuffer const&, size_t) override { return EINVAL; }
|
virtual ErrorOr<size_t> write(OpenFileDescription&, u64, UserOrKernelBuffer const&, size_t) override { return EINVAL; }
|
||||||
|
|
||||||
bool is_allowed_range(PhysicalAddress, Memory::VirtualRange const&) const;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -44,7 +44,6 @@ protected:
|
||||||
void remove_disk_cache_before_last_unmount();
|
void remove_disk_cache_before_last_unmount();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
DiskCache& cache() const;
|
|
||||||
void flush_specific_block_if_needed(BlockIndex index);
|
void flush_specific_block_if_needed(BlockIndex index);
|
||||||
|
|
||||||
mutable MutexProtected<OwnPtr<DiskCache>> m_cache;
|
mutable MutexProtected<OwnPtr<DiskCache>> m_cache;
|
||||||
|
|
|
@ -32,9 +32,6 @@ public:
|
||||||
FileSystemID fsid() const { return m_fsid; }
|
FileSystemID fsid() const { return m_fsid; }
|
||||||
InodeIndex index() const { return m_index; }
|
InodeIndex index() const { return m_index; }
|
||||||
|
|
||||||
FileSystem* fs();
|
|
||||||
FileSystem const* fs() const;
|
|
||||||
|
|
||||||
bool operator==(InodeIdentifier const& other) const
|
bool operator==(InodeIdentifier const& other) const
|
||||||
{
|
{
|
||||||
return m_fsid == other.m_fsid && m_index == other.m_index;
|
return m_fsid == other.m_fsid && m_index == other.m_index;
|
||||||
|
|
|
@ -136,7 +136,6 @@ private:
|
||||||
void enable_dpll_without_vga(IntelGraphics::PLLSettings const&, size_t dac_multiplier);
|
void enable_dpll_without_vga(IntelGraphics::PLLSettings const&, size_t dac_multiplier);
|
||||||
void set_display_timings(Graphics::Modesetting const&);
|
void set_display_timings(Graphics::Modesetting const&);
|
||||||
void enable_pipe_a();
|
void enable_pipe_a();
|
||||||
void set_framebuffer_parameters(size_t, size_t);
|
|
||||||
void enable_primary_plane(PhysicalAddress fb_address, size_t stride);
|
void enable_primary_plane(PhysicalAddress fb_address, size_t stride);
|
||||||
|
|
||||||
bool wait_for_enabled_pipe_a(size_t milliseconds_timeout) const;
|
bool wait_for_enabled_pipe_a(size_t milliseconds_timeout) const;
|
||||||
|
|
|
@ -72,10 +72,6 @@ private:
|
||||||
ErrorOr<void> flush_displayed_image(Graphics::VirtIOGPU::Protocol::Rect const& dirty_rect, bool main_buffer);
|
ErrorOr<void> flush_displayed_image(Graphics::VirtIOGPU::Protocol::Rect const& dirty_rect, bool main_buffer);
|
||||||
void set_dirty_displayed_rect(Graphics::VirtIOGPU::Protocol::Rect const& dirty_rect, bool main_buffer);
|
void set_dirty_displayed_rect(Graphics::VirtIOGPU::Protocol::Rect const& dirty_rect, bool main_buffer);
|
||||||
|
|
||||||
void query_display_information();
|
|
||||||
ErrorOr<void> query_edid_from_virtio_adapter();
|
|
||||||
void query_display_edid();
|
|
||||||
|
|
||||||
void clear_to_black();
|
void clear_to_black();
|
||||||
|
|
||||||
// Member data
|
// Member data
|
||||||
|
|
|
@ -29,9 +29,6 @@ public:
|
||||||
|
|
||||||
SpaceType space_type() const { return m_space_type; }
|
SpaceType space_type() const { return m_space_type; }
|
||||||
|
|
||||||
template<typename V>
|
|
||||||
void write();
|
|
||||||
|
|
||||||
#if ARCH(X86_64)
|
#if ARCH(X86_64)
|
||||||
static ErrorOr<NonnullOwnPtr<IOWindow>> create_for_io_space(IOAddress, u64 space_length);
|
static ErrorOr<NonnullOwnPtr<IOWindow>> create_for_io_space(IOAddress, u64 space_length);
|
||||||
#endif
|
#endif
|
||||||
|
@ -41,8 +38,6 @@ public:
|
||||||
ErrorOr<NonnullOwnPtr<IOWindow>> create_from_io_window_with_offset(u64 offset, u64 space_length);
|
ErrorOr<NonnullOwnPtr<IOWindow>> create_from_io_window_with_offset(u64 offset, u64 space_length);
|
||||||
ErrorOr<NonnullOwnPtr<IOWindow>> create_from_io_window_with_offset(u64 offset);
|
ErrorOr<NonnullOwnPtr<IOWindow>> create_from_io_window_with_offset(u64 offset);
|
||||||
|
|
||||||
bool is_access_valid(u64 offset, size_t byte_size_access) const;
|
|
||||||
|
|
||||||
u8 read8(u64 offset);
|
u8 read8(u64 offset);
|
||||||
u16 read16(u64 offset);
|
u16 read16(u64 offset);
|
||||||
u32 read32(u64 offset);
|
u32 read32(u64 offset);
|
||||||
|
|
|
@ -73,9 +73,6 @@ protected:
|
||||||
virtual u32 read_eeprom(u8 address);
|
virtual u32 read_eeprom(u8 address);
|
||||||
void read_mac_address();
|
void read_mac_address();
|
||||||
|
|
||||||
void write_command(u16 address, u32);
|
|
||||||
u32 read_command(u16 address);
|
|
||||||
|
|
||||||
void initialize_rx_descriptors();
|
void initialize_rx_descriptors();
|
||||||
void initialize_tx_descriptors();
|
void initialize_tx_descriptors();
|
||||||
|
|
||||||
|
|
|
@ -132,7 +132,6 @@ private:
|
||||||
void read_mac_address();
|
void read_mac_address();
|
||||||
void set_phy_speed();
|
void set_phy_speed();
|
||||||
void start_hardware();
|
void start_hardware();
|
||||||
void initialize();
|
|
||||||
void startup();
|
void startup();
|
||||||
|
|
||||||
void configure_phy();
|
void configure_phy();
|
||||||
|
|
|
@ -24,7 +24,6 @@ class StorageManagement {
|
||||||
|
|
||||||
public:
|
public:
|
||||||
StorageManagement();
|
StorageManagement();
|
||||||
static bool initialized();
|
|
||||||
void initialize(StringView boot_argument, bool force_pio, bool nvme_poll);
|
void initialize(StringView boot_argument, bool force_pio, bool nvme_poll);
|
||||||
static StorageManagement& the();
|
static StorageManagement& the();
|
||||||
|
|
||||||
|
@ -43,8 +42,6 @@ public:
|
||||||
void remove_device(StorageDevice&);
|
void remove_device(StorageDevice&);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
bool boot_argument_contains_partition_uuid();
|
|
||||||
|
|
||||||
void enumerate_pci_controllers(bool force_pio, bool nvme_poll);
|
void enumerate_pci_controllers(bool force_pio, bool nvme_poll);
|
||||||
void enumerate_storage_devices();
|
void enumerate_storage_devices();
|
||||||
void enumerate_disk_partitions();
|
void enumerate_disk_partitions();
|
||||||
|
|
|
@ -121,14 +121,10 @@ private:
|
||||||
|
|
||||||
void clear();
|
void clear();
|
||||||
|
|
||||||
void inject_string(StringView);
|
|
||||||
|
|
||||||
Cell& cell_at(size_t column, size_t row);
|
Cell& cell_at(size_t column, size_t row);
|
||||||
|
|
||||||
using ParamVector = Vector<unsigned, 4>;
|
using ParamVector = Vector<unsigned, 4>;
|
||||||
|
|
||||||
void on_code_point(u32);
|
|
||||||
|
|
||||||
void scroll_down(u16 region_top, u16 region_bottom, size_t count);
|
void scroll_down(u16 region_top, u16 region_bottom, size_t count);
|
||||||
void scroll_up(u16 region_top, u16 region_bottom, size_t count);
|
void scroll_up(u16 region_top, u16 region_bottom, size_t count);
|
||||||
void scroll_left(u16 row, u16 column, size_t count);
|
void scroll_left(u16 row, u16 column, size_t count);
|
||||||
|
|
|
@ -55,7 +55,6 @@ public:
|
||||||
|
|
||||||
bool is_system_timer(HardwareTimerBase const&) const;
|
bool is_system_timer(HardwareTimerBase const&) const;
|
||||||
|
|
||||||
static void update_time_hpet(RegisterState const&);
|
|
||||||
void increment_time_since_boot();
|
void increment_time_since_boot();
|
||||||
|
|
||||||
static bool is_hpet_periodic_mode_allowed();
|
static bool is_hpet_periodic_mode_allowed();
|
||||||
|
@ -97,8 +96,6 @@ private:
|
||||||
void set_system_timer(HardwareTimerBase&);
|
void set_system_timer(HardwareTimerBase&);
|
||||||
static void system_timer_tick(RegisterState const&);
|
static void system_timer_tick(RegisterState const&);
|
||||||
|
|
||||||
static u64 scheduling_current_time(bool);
|
|
||||||
|
|
||||||
// Variables between m_update1 and m_update2 are synchronized
|
// Variables between m_update1 and m_update2 are synchronized
|
||||||
// FIXME: Replace m_update1 and m_update2 with a SpinlockLocker
|
// FIXME: Replace m_update1 and m_update2 with a SpinlockLocker
|
||||||
Atomic<u32> m_update1 { 0 };
|
Atomic<u32> m_update1 { 0 };
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue