Moved to https://github.com/ErnyTech/Intel_GVT-g/blob/master/readme.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
align(16) struct StackHeader { | |
StackHeader* next = void; | |
void* ptrDeep = void; // stack deep ptr | |
} | |
static StackHeader* lastAllocatedHeader = null; | |
void[] allocaHeap(size_t size) { | |
import core.stdc.stdlib : malloc, free; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Intel ACPI Component Architecture | |
* AML/ASL+ Disassembler version 20220331 (64-bit version) | |
* Copyright (c) 2000 - 2022 Intel Corporation | |
* | |
* Disassembling to symbolic ASL+ operators | |
* | |
* Disassembly of dsdt.dat, Mon Aug 8 14:02:02 2022 | |
* | |
* Original Table Header: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
GVT_DRIVER=i915 | |
GVT_PCI=0000:00:02.0 | |
function create_gpu { | |
local GVT_GUID="$1" | |
local MDEV_TYPE="$2" | |
pkexec sh -c "echo $GVT_GUID > /sys/bus/pci/drivers/$GVT_DRIVER/$GVT_PCI/mdev_supported_types/$MDEV_TYPE/create" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
testblink2.elf: formato del file elf32-avr | |
Disassemblamento della sezione .text: | |
00000000 <main>: | |
0: 8f ef ldi r24, 0xFF ; 255 | |
2: 84 b9 out 0x04, r24 ; 4 | |
00000004 <LBB0_1>: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Disassembly of section .text: | |
00000000 <__vectors>: | |
0: 0c 94 38 00 jmp 0x70 ; 0x70 <__ctors_end> | |
4: 0c 94 55 00 jmp 0xaa ; 0xaa <__bad_interrupt> | |
8: 0c 94 55 00 jmp 0xaa ; 0xaa <__bad_interrupt> | |
c: 0c 94 55 00 jmp 0xaa ; 0xaa <__bad_interrupt> | |
10: 0c 94 55 00 jmp 0xaa ; 0xaa <__bad_interrupt> | |
14: 0c 94 55 00 jmp 0xaa ; 0xaa <__bad_interrupt> | |
18: 0c 94 55 00 jmp 0xaa ; 0xaa <__bad_interrupt> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
by @ErnyCS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <hitgvoip.h> | |
void update_handler(Object update) { | |
if(some_function_to_check_if_update_is_a_call_update) { | |
if(some_function_to_check_if_call_is_ready_state) { | |
call_params_t params = {true, user_id_to_send_call, your_call_id, CALL_STATE_REQUESTED, {true, true, 65, 65}, {}, {}}; | |
client_t client = create_client(params); | |
const char *server_config[40] = {"audio_max_bitrate", "20000", audio_max_bitrate_gprs", "8000", "audio_max_bitrate_edge", "16000","audio_max_bitrate_saving", "8000","audio_init_bitrate", "16000","audio_init_bitrate_gprs", "8000","audio_init_bitrate_edge", "8000","audio_init_bitrate_saving", "8000","audio_bitrate_step_incr", "1000","audio_bitrate_step_decr", "1000","audio_min_bitrate", "8000","relay_switch_threshold", "0.8","p2p_to_relay_switch_threshold", "0.6","relay_to_p2p_switch_threshold", "0.8","reconnecting_state_timeout", "2.0","rate_flags", "0xFFFFFFFF","rate_min_rtt", "0.6","rate_min_send_loss", "0.2","packet_loss_for_extra_ec", "0.02","max_unsent_stream_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import std.stdio; | |
import std.conv; | |
import core.stdc.stdio; | |
import core.stdc.stdlib; | |
import std.string; | |
struct fileData { | |
void* data; | |
size_t numData; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <string> | |
void asterisco(int q); | |
int main() { | |
int N; | |
std::cout << "Inserisci un numero "; | |
std::cin >> N; | |
asterisco(N); |
NewerOlder