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
(ns rover.core) | |
(def grid-size 10) | |
(def obstacles #{[2 1]}) | |
(def initial-state {:direction 0 :position [0 0]}) | |
(def move-vectors [[0 1] | |
[1 0] | |
[0 -1] | |
[-1 0]]) |
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
ENTRY(__start) | |
SECTIONS { | |
kernel_va_base = 0xFFFF000000000000; | |
kernel_page_size = 4K; | |
kps_less1 = kernel_page_size -1; | |
kernel_physical_start = (boot_end + kps_less1) & ~(kps_less1); | |
kernel_first_page = kernel_va_base + kernel_physical_start; |
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
Bytes transferred = 128 (80 hex) | |
## Executing script at 00500000 | |
Speed: 1000, full duplex | |
BOOTP broadcast 1 | |
DHCP client bound to address 192.168.1.185 (1 ms) | |
Using ethernet@fe300000 device | |
TFTP from server 192.168.1.8; our IP address is 192.168.1.185 | |
Filename 'boot/loader_simp.efi'. | |
Load address: 0x500000 | |
Loading: ################################################################# |
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
if ((m->oflags & VPO_UNMANAGED) == 0) { | |
new_l3 |= ATTR_SW_MANAGED; | |
if ((prot & VM_PROT_WRITE) != 0) { | |
new_l3 |= ATTR_SW_DBM; | |
if ((flags & VM_PROT_WRITE) == 0) { | |
if (pmap->pm_stage == PM_STAGE1) | |
new_l3 |= ATTR_S1_AP(ATTR_S1_AP_RO); | |
else | |
new_l3 &= | |
~ATTR_S2_S2AP(ATTR_S2_S2AP_WRITE); |
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
┌──Register group: general───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐ | |
│x0 0xffff00004040aff8 18446462599810822136 x1 0x1 1 │ | |
│x2 0x0 0 x3 0xa 10 │ | |
│x4 0xffff0000000ca528 18446462598733669672 x5 0x0 0 │ | |
│x6 0xffffffffffffffff 18446744073709551615 x7 0x1 1 │ | |
│x8 0x0 0 x9 0x1 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
``` | |
/// Respresent a PSF font. | |
const PSFFont = packed struct { | |
magic: u32, | |
version: u32, | |
headersize: u32, | |
flags: u32, | |
numglyph: u32, | |
bytesPerGlyph: u32, | |
height: u32, |
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
Loading kernel... | |
/boot/kernel/kernel text=0x9c040c data=0x193ed8 data=0x0+0x3a162e syms=[0x8+0x1116d8+0x8+0x1376c2] | |
Loading configured modules... | |
/etc/hostid size=0x25 | |
can't find 'umodem' | |
/boot/entropy size=0x1000 | |
Hit [Enter] to boot immediately, or any other key for command prompt. | |
Booting [/boot/kernel/kernel]... | |
Using DTB provided by EFI at 0x7ef1000. |
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
Ubuntu | |
----------------------------------------------------- | |
cat ~/.local/share/xorg/Xorg.0.log | grep touchpad | |
[ 25.133] (**) Synaptics TM3288-011: Applying InputClass "libinput touchpad catchall" | |
[ 25.134] (II) event7 - Synaptics TM3288-011: device is a touchpad | |
[ 25.134] (II) event7 - Synaptics TM3288-011: device is a touchpad | |
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
-----BEGIN CERTIFICATE----- | |
MIIFWTCCBEGgAwIBAgIQPXjX+XZJYLJhffTwHsqGKjANBgkqhkiG9w0BAQsFADCB | |
yjELMAkGA1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMR8wHQYDVQQL | |
ExZWZXJpU2lnbiBUcnVzdCBOZXR3b3JrMTowOAYDVQQLEzEoYykgMjAwNiBWZXJp | |
U2lnbiwgSW5jLiAtIEZvciBhdXRob3JpemVkIHVzZSBvbmx5MUUwQwYDVQQDEzxW | |
ZXJpU2lnbiBDbGFzcyAzIFB1YmxpYyBQcmltYXJ5IENlcnRpZmljYXRpb24gQXV0 | |
aG9yaXR5IC0gRzUwHhcNMTMxMjEwMDAwMDAwWhcNMjMxMjA5MjM1OTU5WjB/MQsw | |
CQYDVQQGEwJVUzEdMBsGA1UEChMUU3ltYW50ZWMgQ29ycG9yYXRpb24xHzAdBgNV | |
BAsTFlN5bWFudGVjIFRydXN0IE5ldHdvcmsxMDAuBgNVBAMTJ1N5bWFudGVjIENs | |
YXNzIDMgU0hBMjU2IENvZGUgU2lnbmluZyBDQTCCASIwDQYJKoZIhvcNAQEBBQAD |
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
-----BEGIN CERTIFICATE----- | |
MIIE0zCCA7ugAwIBAgIQGNrRniZ96LtKIVjNzGs7SjANBgkqhkiG9w0BAQUFADCB | |
yjELMAkGA1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMR8wHQYDVQQL | |
ExZWZXJpU2lnbiBUcnVzdCBOZXR3b3JrMTowOAYDVQQLEzEoYykgMjAwNiBWZXJp | |
U2lnbiwgSW5jLiAtIEZvciBhdXRob3JpemVkIHVzZSBvbmx5MUUwQwYDVQQDEzxW | |
ZXJpU2lnbiBDbGFzcyAzIFB1YmxpYyBQcmltYXJ5IENlcnRpZmljYXRpb24gQXV0 | |
aG9yaXR5IC0gRzUwHhcNMDYxMTA4MDAwMDAwWhcNMzYwNzE2MjM1OTU5WjCByjEL | |
MAkGA1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMR8wHQYDVQQLExZW | |
ZXJpU2lnbiBUcnVzdCBOZXR3b3JrMTowOAYDVQQLEzEoYykgMjAwNiBWZXJpU2ln | |
biwgSW5jLiAtIEZvciBhdXRob3JpemVkIHVzZSBvbmx5MUUwQwYDVQQDEzxWZXJp |
NewerOlder