mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-26 12:41:59 +03:00
Kernel: Remove declarations for non-existent methods
This commit is contained in:
parent
09a22ddb2a
commit
3cbc0fdbb0
Notes:
sideshowbarker
2024-07-17 01:07:06 +09:00
Author: https://github.com/AtkinsSJ Commit: https://github.com/SerenityOS/serenity/commit/3cbc0fdbb0 Pull-request: https://github.com/SerenityOS/serenity/pull/17203 Reviewed-by: https://github.com/linusg ✅
@ -23,7 +23,6 @@ public:
|
||||
private:
|
||||
ISAIDEController();
|
||||
|
||||
LockRefPtr<StorageDevice> device_by_channel_and_position(u32 index) const;
|
||||
ErrorOr<void> initialize_channels();
|
||||
};
|
||||
}
|
||||
|
@ -67,7 +67,6 @@ private:
|
||||
|
||||
u8 read_redirection_entry_vector(u8 index) const;
|
||||
Optional<int> find_redirection_entry_by_vector(u8 vector) const;
|
||||
void configure_redirections() const;
|
||||
|
||||
void write_register(u32 index, u32 value) const;
|
||||
u32 read_register(u32 index) const;
|
||||
|
@ -31,7 +31,6 @@ private:
|
||||
bool is_pci_native_mode_enabled_on_secondary_channel() 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);
|
||||
|
||||
// FIXME: Find a better way to get the ProgrammingInterface
|
||||
|
@ -59,8 +59,6 @@ private:
|
||||
bool is_64bit_capable(u8 comparator_number) const;
|
||||
void set_comparators_to_optimal_interrupt_state(size_t timers_count);
|
||||
|
||||
u64 nanoseconds_to_raw_ticks() const;
|
||||
|
||||
PhysicalAddress find_acpi_hpet_registers_block();
|
||||
explicit HPET(PhysicalAddress acpi_hpet);
|
||||
PhysicalAddress m_physical_acpi_hpet_table;
|
||||
|
@ -58,9 +58,6 @@ private:
|
||||
bool find_and_register_pci_host_bridges_from_acpi_mcfg_table(PhysicalAddress mcfg);
|
||||
Access();
|
||||
|
||||
Vector<Capability> get_capabilities(Address);
|
||||
Optional<u8> get_capabilities_pointer(Address address);
|
||||
|
||||
mutable RecursiveSpinlock<LockRank::None> m_access_lock {};
|
||||
mutable Spinlock<LockRank::None> m_scan_lock {};
|
||||
|
||||
|
@ -53,7 +53,6 @@ public:
|
||||
u8 polling_interval() const { return m_descriptor.poll_interval_in_frames; }
|
||||
|
||||
private:
|
||||
USBEndpoint(/* TODO */);
|
||||
USBEndpointDescriptor m_descriptor;
|
||||
|
||||
Pipe m_pipe;
|
||||
|
@ -90,8 +90,6 @@ public:
|
||||
ErrorOr<void> clear_port_feature(u8, HubFeatureSelector);
|
||||
ErrorOr<void> set_port_feature(u8, HubFeatureSelector);
|
||||
|
||||
ErrorOr<void> reset_port(u8);
|
||||
|
||||
void check_for_port_updates();
|
||||
|
||||
private:
|
||||
|
@ -100,7 +100,6 @@ public:
|
||||
[[nodiscard]] NonnullOwnPtrVector<KString> userspace_init_args() const;
|
||||
[[nodiscard]] StringView root_device() const;
|
||||
[[nodiscard]] bool is_nvme_polling_enabled() const;
|
||||
[[nodiscard]] bool is_i8042_force_scan_code_2() const;
|
||||
[[nodiscard]] size_t switch_to_tty() const;
|
||||
|
||||
private:
|
||||
|
@ -30,8 +30,6 @@ private:
|
||||
virtual bool is_seekable() const override { return true; }
|
||||
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; }
|
||||
|
||||
bool is_allowed_range(PhysicalAddress, Memory::VirtualRange const&) const;
|
||||
};
|
||||
|
||||
}
|
||||
|
@ -44,7 +44,6 @@ protected:
|
||||
void remove_disk_cache_before_last_unmount();
|
||||
|
||||
private:
|
||||
DiskCache& cache() const;
|
||||
void flush_specific_block_if_needed(BlockIndex index);
|
||||
|
||||
mutable MutexProtected<OwnPtr<DiskCache>> m_cache;
|
||||
|
@ -32,9 +32,6 @@ public:
|
||||
FileSystemID fsid() const { return m_fsid; }
|
||||
InodeIndex index() const { return m_index; }
|
||||
|
||||
FileSystem* fs();
|
||||
FileSystem const* fs() const;
|
||||
|
||||
bool operator==(InodeIdentifier const& other) const
|
||||
{
|
||||
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 set_display_timings(Graphics::Modesetting const&);
|
||||
void enable_pipe_a();
|
||||
void set_framebuffer_parameters(size_t, size_t);
|
||||
void enable_primary_plane(PhysicalAddress fb_address, size_t stride);
|
||||
|
||||
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);
|
||||
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();
|
||||
|
||||
// Member data
|
||||
|
@ -29,9 +29,6 @@ public:
|
||||
|
||||
SpaceType space_type() const { return m_space_type; }
|
||||
|
||||
template<typename V>
|
||||
void write();
|
||||
|
||||
#if ARCH(X86_64)
|
||||
static ErrorOr<NonnullOwnPtr<IOWindow>> create_for_io_space(IOAddress, u64 space_length);
|
||||
#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);
|
||||
|
||||
bool is_access_valid(u64 offset, size_t byte_size_access) const;
|
||||
|
||||
u8 read8(u64 offset);
|
||||
u16 read16(u64 offset);
|
||||
u32 read32(u64 offset);
|
||||
|
@ -73,9 +73,6 @@ protected:
|
||||
virtual u32 read_eeprom(u8 address);
|
||||
void read_mac_address();
|
||||
|
||||
void write_command(u16 address, u32);
|
||||
u32 read_command(u16 address);
|
||||
|
||||
void initialize_rx_descriptors();
|
||||
void initialize_tx_descriptors();
|
||||
|
||||
|
@ -132,7 +132,6 @@ private:
|
||||
void read_mac_address();
|
||||
void set_phy_speed();
|
||||
void start_hardware();
|
||||
void initialize();
|
||||
void startup();
|
||||
|
||||
void configure_phy();
|
||||
|
@ -24,7 +24,6 @@ class StorageManagement {
|
||||
|
||||
public:
|
||||
StorageManagement();
|
||||
static bool initialized();
|
||||
void initialize(StringView boot_argument, bool force_pio, bool nvme_poll);
|
||||
static StorageManagement& the();
|
||||
|
||||
@ -43,8 +42,6 @@ public:
|
||||
void remove_device(StorageDevice&);
|
||||
|
||||
private:
|
||||
bool boot_argument_contains_partition_uuid();
|
||||
|
||||
void enumerate_pci_controllers(bool force_pio, bool nvme_poll);
|
||||
void enumerate_storage_devices();
|
||||
void enumerate_disk_partitions();
|
||||
|
@ -121,14 +121,10 @@ private:
|
||||
|
||||
void clear();
|
||||
|
||||
void inject_string(StringView);
|
||||
|
||||
Cell& cell_at(size_t column, size_t row);
|
||||
|
||||
using ParamVector = Vector<unsigned, 4>;
|
||||
|
||||
void on_code_point(u32);
|
||||
|
||||
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_left(u16 row, u16 column, size_t count);
|
||||
|
@ -55,7 +55,6 @@ public:
|
||||
|
||||
bool is_system_timer(HardwareTimerBase const&) const;
|
||||
|
||||
static void update_time_hpet(RegisterState const&);
|
||||
void increment_time_since_boot();
|
||||
|
||||
static bool is_hpet_periodic_mode_allowed();
|
||||
@ -97,8 +96,6 @@ private:
|
||||
void set_system_timer(HardwareTimerBase&);
|
||||
static void system_timer_tick(RegisterState const&);
|
||||
|
||||
static u64 scheduling_current_time(bool);
|
||||
|
||||
// Variables between m_update1 and m_update2 are synchronized
|
||||
// FIXME: Replace m_update1 and m_update2 with a SpinlockLocker
|
||||
Atomic<u32> m_update1 { 0 };
|
||||
|
Loading…
Reference in New Issue
Block a user